summaryrefslogtreecommitdiff
path: root/src/pal/inc
diff options
context:
space:
mode:
authorAditya Mandaleeka <adityam@microsoft.com>2017-02-27 12:47:05 -0800
committerAditya Mandaleeka <adityam@microsoft.com>2017-02-28 15:52:41 -0800
commit6b7fec4f171c4840d772ce3c608018474a9c24ae (patch)
tree2c1c465576870c5b91fc4ea13af5c0c836fd5073 /src/pal/inc
parent9ae6ed25affc42343a3f88f147ff4a5fbd1e9727 (diff)
downloadcoreclr-6b7fec4f171c4840d772ce3c608018474a9c24ae.tar.gz
coreclr-6b7fec4f171c4840d772ce3c608018474a9c24ae.tar.bz2
coreclr-6b7fec4f171c4840d772ce3c608018474a9c24ae.zip
Add 6 byte NOP instruction.
Diffstat (limited to 'src/pal/inc')
-rw-r--r--src/pal/inc/unixasmmacrosamd64.inc9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/pal/inc/unixasmmacrosamd64.inc b/src/pal/inc/unixasmmacrosamd64.inc
index c3321ce598..040ade1f5c 100644
--- a/src/pal/inc/unixasmmacrosamd64.inc
+++ b/src/pal/inc/unixasmmacrosamd64.inc
@@ -55,6 +55,15 @@ C_FUNC(\Name\()_End):
LEAF_END \Name, \Section
.endm
+.macro NOP_6_BYTE
+ .byte 0x66
+ .byte 0x0F
+ .byte 0x1F
+ .byte 0x44
+ .byte 0x00
+ .byte 0x00
+.endm
+
.macro NOP_3_BYTE
nop dword ptr [rax]
.endm