x86: replace adhoc (partly wrong) ambiguous operand checking for MOVSX/MOVZX
[deliverable/binutils-gdb.git] / gas / ChangeLog
index 56d50719a2a746fa8df8cfddcc3cfcf72d4ee9d0..39b1a38ca9327d367b37b87139f669c6733371f8 100644 (file)
@@ -1,3 +1,31 @@
+2020-02-14  Jan Beulich  <jbeulich@suse.com>
+
+       PR gas/25438
+       * config/tc-i386.c (md_assemble): Move movsx/movzx special
+       casing ...
+       (process_suffix): ... here. Consider just the first operand
+       initially.
+       (check_long_reg): Drop opcode 0x63 special case again.
+       * testsuite/gas/i386/i386.s, testsuite/gas/i386/iamcu-1.s,
+       testsuite/gas/i386/ilp32/x86-64.s, testsuite/gas/i386/x86_64.s:
+       Move ambiguous operand size tests ...
+       * testsuite/gas/i386/noreg16.s, testsuite/gas/i386/noreg32.s,
+       testsuite/gas/i386/noreg64.s: ... here.
+       * testsuite/gas/i386/i386.d, testsuite/gas/i386/i386-intel.d
+       testsuite/gas/i386/iamcu-1.d, testsuite/gas/i386/ilp32/x86-64.d,
+       testsuite/gas/i386/k1om.d, testsuite/gas/i386/l1om.d,
+       testsuite/gas/i386/movx16.l, testsuite/gas/i386/movx32.l,
+       testsuite/gas/i386/movx64.l, testsuite/gas/i386/noreg16.d,
+       testsuite/gas/i386/noreg32.d, testsuite/gas/i386/noreg64.d,
+       testsuite/gas/i386/x86-64-movsxd.d,
+       testsuite/gas/i386/x86-64-movsxd-intel.d,
+       testsuite/gas/i386/x86_64.d, testsuite/gas/i386/x86_64-intel.d:
+       Adjust expectations.    
+       * testsuite/gas/i386/movx16.s, testsuite/gas/i386/movx16.l,
+       testsuite/gas/i386/movx32.s, testsuite/gas/i386/movx32.l,
+       testsuite/gas/i386/movx64.s, testsuite/gas/i386/movx64.l: New.
+       * testsuite/gas/i386/i386.exp: Run new tests.
+
 2020-02-14  Jan Beulich  <jbeulich@suse.com>
 
        * config/tc-i386.c (process_operands): Also skip segment
This page took 0.025397 seconds and 4 git commands to generate.