aboutsummaryrefslogtreecommitdiff
path: root/opcodes/i386-opc.h
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2009-12-15 16:36:59 +0000
committerH.J. Lu <hjl.tools@gmail.com>2009-12-15 16:36:59 +0000
commite3c58833bf3e173b040ae267d6ee060cee9c4ba5 (patch)
tree59b3eec182828415a0577c1bfdb55428914db681 /opcodes/i386-opc.h
parent6414f3fd8b6badcb210002f54e10b49156e4da75 (diff)
downloadgdb-e3c58833bf3e173b040ae267d6ee060cee9c4ba5.zip
gdb-e3c58833bf3e173b040ae267d6ee060cee9c4ba5.tar.gz
gdb-e3c58833bf3e173b040ae267d6ee060cee9c4ba5.tar.bz2
Define VEX128 and VEX256.
gas/ 2009-12-15 H.J. Lu <hongjiu.lu@intel.com> * config/tc-i386.c (build_vex_prefix): Use VEX256. opcodes/ 2009-12-15 H.J. Lu <hongjiu.lu@intel.com> * i386-opc.h (VEX128): New. (VEX256): Likewise.
Diffstat (limited to 'opcodes/i386-opc.h')
-rw-r--r--opcodes/i386-opc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/opcodes/i386-opc.h b/opcodes/i386-opc.h
index a8f3fd2..3b0f2c6 100644
--- a/opcodes/i386-opc.h
+++ b/opcodes/i386-opc.h
@@ -274,6 +274,8 @@ enum
1: 128bit VEX prefix.
2: 256bit VEX prefix.
*/
+#define VEX128 1
+#define VEX256 2
Vex,
/* 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