aboutsummaryrefslogtreecommitdiff
path: root/opcodes
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2009-12-16 05:18:11 +0000
committerH.J. Lu <hjl.tools@gmail.com>2009-12-16 05:18:11 +0000
commit8c43a48b28ad8e92b3e788ae511844eea4f4a801 (patch)
tree06691241772e09572e9e10b3a09cc34349421e02 /opcodes
parent8cd7925b457188d333760956a2aa06d8aa302fb0 (diff)
downloadgdb-8c43a48b28ad8e92b3e788ae511844eea4f4a801.zip
gdb-8c43a48b28ad8e92b3e788ae511844eea4f4a801.tar.gz
gdb-8c43a48b28ad8e92b3e788ae511844eea4f4a801.tar.bz2
Replace VEX2SOURCES with XOP2SOURCES.
gas/ 2009-12-15 H.J. Lu <hongjiu.lu@intel.com> * config/tc-i386.c (build_modrm_byte): Check XOP2SOURCES instead VEX2SOURCES. opcodes/ 2009-12-15 H.J. Lu <hongjiu.lu@intel.com> * i386-opc.h (VEX2SOURCES): Renamed to ... (XOP2SOURCES): This.
Diffstat (limited to 'opcodes')
-rw-r--r--opcodes/ChangeLog5
-rw-r--r--opcodes/i386-opc.h6
2 files changed, 8 insertions, 3 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index 01d250e..fb780a1 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,5 +1,10 @@
2009-12-15 H.J. Lu <hongjiu.lu@intel.com>
+ * i386-opc.h (VEX2SOURCES): Renamed to ...
+ (XOP2SOURCES): This.
+
+2009-12-15 H.J. Lu <hongjiu.lu@intel.com>
+
* i386-gen.c (opcode_modifiers): Remove Vex3Sources and
Vex2Sources. Add VexSources.
diff --git a/opcodes/i386-opc.h b/opcodes/i386-opc.h
index 08fe068..afed367 100644
--- a/opcodes/i386-opc.h
+++ b/opcodes/i386-opc.h
@@ -307,11 +307,11 @@ enum
/* insn has XOP 0x0A opcode prefix. */
XOP0A,
/* number of VEX source operands:
- 0: < 2 source operands.
- 1: 2 source operands.
+ 0: <= 2 source operands.
+ 1: 2 XOP source operands.
2: 3 source operands.
*/
-#define VEX2SOURCES 1
+#define XOP2SOURCES 1
#define VEX3SOURCES 2
VexSources,
/* instruction has VEX 8 bit imm */