aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/config/tc-i386.c4
-rw-r--r--gas/testsuite/ChangeLog4
-rw-r--r--gas/testsuite/gas/i386/intel.e8
4 files changed, 15 insertions, 6 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 4595f55..910f8b0 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -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.
diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c
index ed4ab93..67b4779 100644
--- a/gas/config/tc-i386.c
+++ b/gas/config/tc-i386.c
@@ -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
{
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index 8da6574..bb40b4a 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -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.
diff --git a/gas/testsuite/gas/i386/intel.e b/gas/testsuite/gas/i386/intel.e
index 6736bfd..6f7b365 100644
--- a/gas/testsuite/gas/i386/intel.e
+++ b/gas/testsuite/gas/i386/intel.e
@@ -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'