x86/Intel: drop pointless suffix setting for "fword ptr"
authorJan Beulich <jbeulich@suse.com>
Mon, 9 Dec 2019 12:29:14 +0000 (13:29 +0100)
committerJan Beulich <jbeulich@suse.com>
Mon, 9 Dec 2019 12:29:14 +0000 (13:29 +0100)
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").

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

index 96bab9654fb88b5e52adfde84a241162ae2ef71b..70aff3d9324c695eec60baa0ec1c6f1b3c08b71c 100644 (file)
@@ -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
index ff5f0c612dff0fcbf75e771097d7e837e9e37d0f..bf8d9bedb25b4c4fd20601dc09b5748e14065515 100644 (file)
@@ -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:
This page took 0.02698 seconds and 4 git commands to generate.