Set the first 3byte VEX prefix individually.
2010-01-24 H.J. Lu <hongjiu.lu@intel.com> * config/tc-i386.c (build_vex_prefix): Set i.vex.bytes[0] to 0xc4 individually.
This commit is contained in:
parent
691f8dc187
commit
80de6e001d
2 changed files with 8 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2010-01-24 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* config/tc-i386.c (build_vex_prefix): Set i.vex.bytes[0] to
|
||||
0xc4 individually.
|
||||
|
||||
2010-01-23 Richard Sandiford <r.sandiford@uk.ibm.com>
|
||||
|
||||
* write.h (fix_at_start): Declare.
|
||||
|
|
|
@ -2749,18 +2749,20 @@ build_vex_prefix (const insn_template *t)
|
|||
unsigned int m, w;
|
||||
|
||||
i.vex.length = 3;
|
||||
i.vex.bytes[0] = 0xc4;
|
||||
|
||||
switch (i.tm.opcode_modifier.vexopcode)
|
||||
{
|
||||
case VEX0F:
|
||||
m = 0x1;
|
||||
i.vex.bytes[0] = 0xc4;
|
||||
break;
|
||||
case VEX0F38:
|
||||
m = 0x2;
|
||||
i.vex.bytes[0] = 0xc4;
|
||||
break;
|
||||
case VEX0F3A:
|
||||
m = 0x3;
|
||||
i.vex.bytes[0] = 0xc4;
|
||||
break;
|
||||
case XOP08:
|
||||
m = 0x8;
|
||||
|
|
Loading…
Reference in a new issue