diff options
author | H. Peter Anvin <hpa@zytor.com> | 2013-11-28 12:11:24 -0800 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2013-11-28 12:21:11 -0800 |
commit | 621a69ac5c2c2e3339c0bc0cb3e9cbf2c136bebf (patch) | |
tree | 4b2ac40d8cf58e619db984114583f80cf78a9adc /nasm.h | |
parent | 2e15eca688ac1550ab26be0a071df1e868776449 (diff) | |
download | nasm-621a69ac5c2c2e3339c0bc0cb3e9cbf2c136bebf.tar.gz nasm-621a69ac5c2c2e3339c0bc0cb3e9cbf2c136bebf.tar.bz2 nasm-621a69ac5c2c2e3339c0bc0cb3e9cbf2c136bebf.zip |
Add {vex3} and {vex2} prefixes by analogy with {evex}
Allow specifying {vex3} or {vex2} (the latter is currently always
redundant, unless we end up with instructions at some point can be
specified with legacy prefixes or VEX) to select a specific encoding
of VEX-encoded instructions.
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'nasm.h')
-rw-r--r-- | nasm.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -565,6 +565,8 @@ enum prefixes { /* instruction prefixes */ P_XRELEASE, P_BND, P_EVEX, + P_VEX3, + P_VEX2, PREFIX_ENUM_LIMIT }; @@ -647,7 +649,7 @@ enum prefix_pos { PPS_SEG, /* Segment override prefix */ PPS_OSIZE, /* Operand size prefix */ PPS_ASIZE, /* Address size prefix */ - PPS_EVEX, /* EVEX prefix */ + PPS_VEX, /* VEX type */ MAXPREFIX /* Total number of prefix slots */ }; |