From d8a1b51e44c811cb8d20570f497d80e278049ee2 Mon Sep 17 00:00:00 2001 From: Jan Beulich Date: Wed, 15 Apr 2009 13:33:03 +0000 Subject: [PATCH] gas/ 2009-04-15 Jan Beulich * config/tc-i386.c (process_operands): Print operands in correct order depending on intel_syntax. gas/testsuite/ 2009-04-15 Jan Beulich * gas/i386/intel.e: Adjust expectations. --- gas/ChangeLog | 5 +++++ gas/config/tc-i386.c | 4 ++-- gas/testsuite/ChangeLog | 4 ++++ gas/testsuite/gas/i386/intel.e | 8 ++++---- 4 files changed, 15 insertions(+), 6 deletions(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index 4595f557396..910f8b074d1 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2009-04-15 Jan Beulich + + * config/tc-i386.c (process_operands): Print operands in + correct order depending on intel_syntax. + 2009-04-09 Catherine Moore * config/tc-mips.c (mips_fix_24k): Declare. diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c index ed4ab9371ef..67b477974c2 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 8da657440e0..bb40b4a9ea0 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2009-04-15 Jan Beulich + + * gas/i386/intel.e: Adjust expectations. + 2009-04-15 Jan Beulich * gas/i386/x86-64-sse5.s: Add test of protd. diff --git a/gas/testsuite/gas/i386/intel.e b/gas/testsuite/gas/i386/intel.e index 6736bfdc1d9..6f7b365638d 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' -- 2.30.2