aboutsummaryrefslogtreecommitdiff
path: root/opcodes/i386-opc.h
diff options
context:
space:
mode:
Diffstat (limited to 'opcodes/i386-opc.h')
-rw-r--r--opcodes/i386-opc.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/opcodes/i386-opc.h b/opcodes/i386-opc.h
index 2dd8eed..df71da7 100644
--- a/opcodes/i386-opc.h
+++ b/opcodes/i386-opc.h
@@ -257,14 +257,15 @@ typedef union i386_cpu_flags
#define Rex64 (NoRex64 + 1)
/* deprecated fp insn, gets a warning */
#define Ugh (Rex64 + 1)
-/* insn has VEX prefix. */
+/* insn has VEX prefix:
+ 1: 128bit VEX prefix.
+ 2: 256bit VEX prefix.
+ */
#define Vex (Ugh + 1)
-/* insn has 256bit VEX prefix. */
-#define Vex256 (Vex + 1)
/* insn has VEX NDS. Register-only source is encoded in Vex prefix.
We use VexNDS on insns with VEX DDS since the register-only source
is the second source register. */
-#define VexNDS (Vex256 + 1)
+#define VexNDS (Vex + 1)
/* insn has VEX NDD. Register destination is encoded in Vex
prefix. */
#define VexNDD (VexNDS + 1)
@@ -336,8 +337,7 @@ typedef struct i386_opcode_modifier
unsigned int norex64:1;
unsigned int rex64:1;
unsigned int ugh:1;
- unsigned int vex:1;
- unsigned int vex256:1;
+ unsigned int vex:2;
unsigned int vexnds:1;
unsigned int vexndd:1;
unsigned int vexw0:1;