aboutsummaryrefslogtreecommitdiff
path: root/gas/config
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2009-10-29 22:22:59 +0000
committerH.J. Lu <hjl.tools@gmail.com>2009-10-29 22:22:59 +0000
commit206c2556c22b7cb55b3717cfef8e2f2891f48feb (patch)
tree7824065b5bbd164af9ce0eda284e4fbb6bb3aafd /gas/config
parent8a35fb51cdadb1abc314e1a3071ec201c30ed523 (diff)
downloadgdb-206c2556c22b7cb55b3717cfef8e2f2891f48feb.zip
gdb-206c2556c22b7cb55b3717cfef8e2f2891f48feb.tar.gz
gdb-206c2556c22b7cb55b3717cfef8e2f2891f48feb.tar.bz2
gas/
2009-10-29 Sebastian Pop <sebastian.pop@amd.com> * config/tc-i386.c (build_modrm_byte): Do not swap REG and NDS operands for FMA4. gas/testsuite/ 2009-10-29 Sebastian Pop <sebastian.pop@amd.com> * gas/i386/fma4.d: Updated patterns. * gas/i386/x86-64-fma4.d: Same. opcodes/ 2009-10-29 Sebastian Pop <sebastian.pop@amd.com> * i386-dis.c (OP_VEX_FMA): Removed. (VexFMA): Removed. (Vex128FMA): Removed. (prefix_table): First source operand of FMA4 insns is decoded with Vex not with VexFMA. (OP_EX_VexW): Second source operand is decoded with get_vex_imm8 when vex.w is set. Third source operand is decoded with get_vex_imm8 when vex.w is cleared. (OP_VEX_FMA): Removed.
Diffstat (limited to 'gas/config')
-rw-r--r--gas/config/tc-i386.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c
index c01175f..ff6129c 100644
--- a/gas/config/tc-i386.c
+++ b/gas/config/tc-i386.c
@@ -4913,14 +4913,6 @@ build_modrm_byte (void)
source = 1;
reg = 0;
}
- /* FMA4 swaps REG and NDS. */
- if (i.tm.cpu_flags.bitfield.cpufma4)
- {
- unsigned int tmp;
- tmp = reg;
- reg = nds;
- nds = tmp;
- }
gas_assert ((operand_type_equal (&i.tm.operand_types[reg], &regxmm)
|| operand_type_equal (&i.tm.operand_types[reg],
&regymm))