gas/
authorJan Beulich <jbeulich@novell.com>
Wed, 15 Apr 2009 13:33:03 +0000 (13:33 +0000)
committerJan Beulich <jbeulich@novell.com>
Wed, 15 Apr 2009 13:33:03 +0000 (13:33 +0000)
2009-04-15  Jan Beulich  <jbeulich@novell.com>

* config/tc-i386.c (process_operands): Print operands in
correct order depending on intel_syntax.

gas/testsuite/
2009-04-15  Jan Beulich  <jbeulich@novell.com>

* gas/i386/intel.e: Adjust expectations.

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

index 4595f5573967e99bfcfd0a7ca1eb23b44f6111d6..910f8b074d1ee070adfc6e807223f5f9033323b9 100644 (file)
@@ -1,3 +1,8 @@
+2009-04-15  Jan Beulich  <jbeulich@novell.com>
+
+       * config/tc-i386.c (process_operands): Print operands in
+       correct order depending on intel_syntax.
+
 2009-04-09  Catherine Moore  <clm@codesourcery.com>
 
        * config/tc-mips.c (mips_fix_24k): Declare.
index ed4ab9371efea8e36ca34bf172b5bb3ca8405de5..67b477974c232f45cea89035e7d51deceb627480 100644 (file)
@@ -5061,8 +5061,8 @@ duplicate:
                {
                  /* Reversed arguments on faddp, fsubp, etc.  */
                  as_warn (_("translating to `%s %s%s,%s%s'"), i.tm.name,
-                          register_prefix, i.op[1].regs->reg_name,
-                          register_prefix, i.op[0].regs->reg_name);
+                          register_prefix, i.op[!intel_syntax].regs->reg_name,
+                          register_prefix, i.op[intel_syntax].regs->reg_name);
                }
              else
                {
index 8da657440e03bccd4283ca1d103612a555e40d8e..bb40b4a9ea02bb74b95ac38000d49d77e62f43ef 100644 (file)
@@ -1,3 +1,7 @@
+2009-04-15  Jan Beulich  <jbeulich@novell.com>
+
+       * gas/i386/intel.e: Adjust expectations.
+
 2009-04-15  Jan Beulich  <jbeulich@novell.com>
 
        * gas/i386/x86-64-sse5.s: Add test of protd.
index 6736bfdc1d9ea4f641371fdf407dc28c2a7c18a2..6f7b365638dd52c1c1f3de666c644d84c0bfcc47 100644 (file)
@@ -7,11 +7,11 @@
 .*:495: Warning: Treating `\[0x90909090\]' as memory reference
 .*:635: Warning: translating to `faddp'
 .*:644: Warning: translating to `fdivp'
-.*:653: Warning: translating to `fdivp st,st\(3\)'
+.*:653: Warning: translating to `fdivp st\(3\),st'
 .*:654: Warning: translating to `fdivrp'
-.*:663: Warning: translating to `fdivrp st,st\(3\)'
+.*:663: Warning: translating to `fdivrp st\(3\),st'
 .*:664: Warning: translating to `fmulp'
 .*:673: Warning: translating to `fsubp'
 .*:674: Warning: translating to `fsubrp'
-.*:682: Warning: translating to `fsubp st,st\(3\)'
-.*:692: Warning: translating to `fsubrp st,st\(3\)'
+.*:682: Warning: translating to `fsubp st\(3\),st'
+.*:692: Warning: translating to `fsubrp st\(3\),st'