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.
This commit is contained in:
H.J. Lu 2009-12-15 16:36:59 +00:00
parent 6414f3fd8b
commit e3c58833bf
4 changed files with 12 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2009-12-15 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-i386.c (build_vex_prefix): Use VEX256.
2009-12-14 Yoshinori Sato <ysato@users.sourceforge.jp>
PR gas/11086

View File

@ -2701,7 +2701,7 @@ build_vex_prefix (const insn_template *t)
i.tm = t[1];
}
vector_length = i.tm.opcode_modifier.vex == 2 ? 1 : 0;
vector_length = i.tm.opcode_modifier.vex == VEX256 ? 1 : 0;
switch ((i.tm.base_opcode >> 8) & 0xff)
{

View File

@ -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.

View File

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