From: Jan Beulich Date: Mon, 9 Dec 2019 12:29:14 +0000 (+0100) Subject: x86/Intel: drop pointless suffix setting for "fword ptr" X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4cbda994e6c589b18c88227bf5a2fef089a18cfd;p=binutils-gdb.git 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 dc2be329b950 ("i386: Only check suffix in instruction mnemonic"). --- diff --git a/gas/ChangeLog b/gas/ChangeLog index 96bab9654fb..70aff3d9324 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2019-12-09 Jan Beulich + + * 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 * config/tc-i386-intel.c (i386_intel_operand): Don't special diff --git a/gas/config/tc-i386-intel.c b/gas/config/tc-i386-intel.c index ff5f0c612df..bf8d9bedb25 100644 --- a/gas/config/tc-i386-intel.c +++ b/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: