summaryrefslogtreecommitdiff
path: root/nasm.h
diff options
context:
space:
mode:
authorJin Kyu Song <jin.kyu.song@intel.com>2013-10-25 19:29:53 -0700
committerJin Kyu Song <jin.kyu.song@intel.com>2013-11-20 11:29:42 -0800
commit945b1b8f36764a159e8890d27f80eef21bd29c14 (patch)
tree521f7a0005187682738cbc920be690db3b718b64 /nasm.h
parent267d0af79c7de8887ff1618e803cafa5a528a554 (diff)
downloadnasm-945b1b8f36764a159e8890d27f80eef21bd29c14.tar.gz
nasm-945b1b8f36764a159e8890d27f80eef21bd29c14.tar.bz2
nasm-945b1b8f36764a159e8890d27f80eef21bd29c14.zip
AVX-512: Add {evex} instruction prefix
For instructions that can be encoded either in VEX or EVEX, {evex} forces nasm to encode in EVEX. Signed-off-by: Jin Kyu Song <jin.kyu.song@intel.com>
Diffstat (limited to 'nasm.h')
-rw-r--r--nasm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/nasm.h b/nasm.h
index 5ca2aa5..34adc69 100644
--- a/nasm.h
+++ b/nasm.h
@@ -553,6 +553,7 @@ enum prefixes { /* instruction prefixes */
P_XACQUIRE,
P_XRELEASE,
P_BND,
+ P_EVEX,
PREFIX_ENUM_LIMIT
};
@@ -635,6 +636,7 @@ enum prefix_pos {
PPS_SEG, /* Segment override prefix */
PPS_OSIZE, /* Operand size prefix */
PPS_ASIZE, /* Address size prefix */
+ PPS_EVEX, /* EVEX prefix */
MAXPREFIX /* Total number of prefix slots */
};