aboutsummaryrefslogtreecommitdiff
path: root/gas/config
diff options
context:
space:
mode:
authorSebastian Pop <sebastian.pop@amd.com>2010-01-15 21:24:13 +0000
committerSebastian Pop <sebastian.pop@amd.com>2010-01-15 21:24:13 +0000
commita6461c0251a16ac7d7e373636665f3d693c0c81b (patch)
tree69b39de85dadf383641aa01b7435d29180663012 /gas/config
parent64aa97315d44fc3f70974d972a9f2c219e584395 (diff)
downloadgdb-a6461c0251a16ac7d7e373636665f3d693c0c81b.zip
gdb-a6461c0251a16ac7d7e373636665f3d693c0c81b.tar.gz
gdb-a6461c0251a16ac7d7e373636665f3d693c0c81b.tar.bz2
2010-01-15 Sebastian Pop <sebastian.pop@amd.com>
gas/ * config/tc-i386.c (md_assemble): Before accessing the IMM field check that it's not an XOP insn. gas/testsuite/ * gas/i386/x86-64-xop.d: Add missing patterns. * gas/i386/x86-64-xop.s: Same. * gas/i386/xop.d: Same. * gas/i386/xop.s: Same. opcodes/ * i386-opc.tbl: Support all the possible aliases for VPCOM* insns. * i386-tbl.h: Regenerated.
Diffstat (limited to 'gas/config')
-rw-r--r--gas/config/tc-i386.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c
index 60d2149..2529c54 100644
--- a/gas/config/tc-i386.c
+++ b/gas/config/tc-i386.c
@@ -3018,8 +3018,8 @@ md_assemble (char *line)
instructions may define INT_OPCODE as well, so avoid this corner
case for those instructions that use MODRM. */
if (i.tm.base_opcode == INT_OPCODE
- && i.op[0].imms->X_add_number == 3
- && !i.tm.opcode_modifier.modrm)
+ && !i.tm.opcode_modifier.modrm
+ && i.op[0].imms->X_add_number == 3)
{
i.tm.base_opcode = INT3_OPCODE;
i.imm_operands = 0;