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.
This commit is contained in:
H.J. Lu 2009-12-16 05:18:11 +00:00
parent 8cd7925b45
commit 8c43a48b28
4 changed files with 14 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2009-12-15 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-i386.c (build_modrm_byte): Check XOP2SOURCES
instead VEX2SOURCES.
2009-12-15 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-i386.c (process_operands): Check vexsources

View File

@ -5311,7 +5311,7 @@ build_modrm_byte (void)
else
mem = ~0;
if (i.tm.opcode_modifier.vexsources == VEX2SOURCES)
if (i.tm.opcode_modifier.vexsources == XOP2SOURCES)
{
if (operand_type_check (i.types[0], imm))
i.vex.register_specifier = NULL;

View File

@ -1,3 +1,8 @@
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

View File

@ -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 */