Browse Source

x86/Intel: drop pointless suffix setting for "fword ptr"

No floating point insn accepts an "fword ptr" operand, so the "fword"
operand flag checking done by match_mem_size() is already sufficient;
the setting of the suffix has become meaningless anyway with
dc2be329b9 ("i386: Only check suffix in instruction mnemonic").
gdb-9-branch
Jan Beulich 6 years ago
parent
commit
4cbda994e6
  1. 5
      gas/ChangeLog
  2. 2
      gas/config/tc-i386-intel.c

5
gas/ChangeLog

@ -1,3 +1,8 @@
2019-12-09 Jan Beulich <jbeulich@suse.com>
* config/tc-i386-intel.c (i386_intel_operand): Don't set suffix
for floating point insns when handling O_fword_ptr.
2019-12-09 Jan Beulich <jbeulich@suse.com>
* config/tc-i386-intel.c (i386_intel_operand): Don't special

2
gas/config/tc-i386-intel.c

@ -676,8 +676,6 @@ i386_intel_operand (char *operand_string, int got_a_float)
add_prefix (DATA_PREFIX_OPCODE);
suffix = LONG_DOUBLE_MNEM_SUFFIX;
}
else
suffix = BYTE_MNEM_SUFFIX; /* so it will cause an error */
break;
case O_qword_ptr:

Loading…
Cancel
Save