summaryrefslogtreecommitdiff
path: root/opcodes
diff options
context:
space:
mode:
authorH.J. Lu <hjl@lucon.org>2009-12-15 16:36:58 +0000
committerH.J. Lu <hjl@lucon.org>2009-12-15 16:36:58 +0000
commit2028278be507b6199d75551d44a25bf2867c3198 (patch)
tree947eb0e87ee74f45f2412ea23d11fe2448519f97 /opcodes
parente36afe2d7c0a104a9d508296721b85b5dce138f6 (diff)
downloadbinutils-redhat-2028278be507b6199d75551d44a25bf2867c3198.tar.gz
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')
-rw-r--r--opcodes/ChangeLog5
-rw-r--r--opcodes/i386-opc.h2
2 files changed, 7 insertions, 0 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index 9ede42916a..653ae2576f 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,3 +1,8 @@
+2009-12-15 H.J. Lu <hongjiu.lu@intel.com>
+
+ * i386-opc.h (VEX128): New.
+ (VEX256): Likewise.
+
2009-12-14 H.J. Lu <hongjiu.lu@intel.com>
* i386-dis.c (vex_len_table): Reformat.
diff --git a/opcodes/i386-opc.h b/opcodes/i386-opc.h
index a8f3fd2229..3b0f2c6bc1 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