2008-04-18 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-i386.c (build_modrm_byte): Don't check FMA to swap REG and NDS for instructions with immediate operand.
This commit is contained in:
parent
5ae542419d
commit
eff014d916
@ -1,3 +1,8 @@
|
||||
2008-04-18 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* config/tc-i386.c (build_modrm_byte): Don't check FMA to swap
|
||||
REG and NDS for instructions with immediate operand.
|
||||
|
||||
2008-04-18 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* config/tc-i386.c (build_modrm_byte): Swap REG and NDS for
|
||||
|
@ -5100,15 +5100,6 @@ build_modrm_byte (void)
|
||||
i.types[imm].bitfield.imm8 = 1;
|
||||
}
|
||||
|
||||
/* FMA swaps REG and NDS. */
|
||||
if (i.tm.cpu_flags.bitfield.cpufma)
|
||||
{
|
||||
unsigned int tmp;
|
||||
tmp = reg;
|
||||
reg = nds;
|
||||
nds = tmp;
|
||||
}
|
||||
|
||||
assert (operand_type_equal (&i.tm.operand_types[reg], ®xmm)
|
||||
|| operand_type_equal (&i.tm.operand_types[reg],
|
||||
®ymm));
|
||||
|
Loading…
x
Reference in New Issue
Block a user