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 4595f55..910f8b0 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 ed4ab93..67b4779 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 8da6574..bb40b4a 100644 (file)
@@ -1,5 +1,9 @@
 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.
        * gas/i386/x86-64-sse5.d: Adjust expectations to match input.
 
index 6736bfd..6f7b365 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'