aboutsummaryrefslogtreecommitdiff
path: root/opcodes/i386-opc.h
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2009-09-24 16:37:09 +0000
committerH.J. Lu <hjl.tools@gmail.com>2009-09-24 16:37:09 +0000
commit2bf05e57303ade685e40991a7779de56ced5d46f (patch)
tree4d303fc4c4233d11bc529bac70a7e64eec55e0d9 /opcodes/i386-opc.h
parent935bd1e079100b6d6fa0fa7cfd7c20a7f588cfea (diff)
downloadgdb-2bf05e57303ade685e40991a7779de56ced5d46f.zip
gdb-2bf05e57303ade685e40991a7779de56ced5d46f.tar.gz
gdb-2bf05e57303ade685e40991a7779de56ced5d46f.tar.bz2
gas/
2009-09-24 H.J. Lu <hongjiu.lu@intel.com> * config/tc-i386.c (build_vex_prefix): Check vex == 2 instead of vex256. opcodes/ 2009-09-24 H.J. Lu <hongjiu.lu@intel.com> * i386-gen.c (opcode_modifiers): Remove Vex256. (set_bitfield): Handle XXX=V. * i386-opc.h (Vex): Update comments. (Vex256): Removed. (VexNDS): Updated. (i386_opcode_modifier): Change vex to 2 bits. Remove vex256. * i386-opc.tbl: Replace "Vex|Vex256" with Vex=2. * i386-tbl.h: Regenerated.
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;