public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* [PATCH, MIPS] Fix octeon3 tests for targets with default ABI != n32
@ 2014-12-18 23:05 Matthew Fortune
  2014-12-19 12:42 ` Richard Sandiford
  0 siblings, 1 reply; 2+ messages in thread
From: Matthew Fortune @ 2014-12-18 23:05 UTC (permalink / raw)
  To: Richard Sandiford; +Cc: binutils

I think this is my last testsuite cleanup patch for now!

The expected output for the octeon3 test used ABI dependent register
names. I have kept the register checks but used numeric output.

Tested on many MIPS target triplets.

OK to commit?

Thanks,
Matthew

gas/testsuite/

     * gas/mips/octeon3.d: Switch to use numeric register names.
---
gas/testsuite/gas/mips/octeon3.d | 26 +++++++++++++-------------
1 file changed, 13 insertions(+), 13 deletions(-)

diff --git a/gas/testsuite/gas/mips/octeon3.d b/gas/testsuite/gas/mips/octeon3.d
index 0e0b508..77ca1d2 100644
--- a/gas/testsuite/gas/mips/octeon3.d
+++ b/gas/testsuite/gas/mips/octeon3.d
@@ -1,4 +1,4 @@
-#objdump: -d -r --show-raw-insn
+#objdump: -d -r --show-raw-insn -Mgpr-names=numeric
#name: MIPS octeon3 instructions

 .*: +file format .*mips.*
@@ -6,15 +6,15 @@
Disassembly of section .text:

 [0-9a-f]+ <foo>:
-.*: 71ec0008   mtm0 t3,t0
-.*: 71a40008   mtm0 t1,a0
-.*: 7083000c   mtm1 a0,v1
-.*: 70e1000c   mtm1 a3,at
-.*: 7022000d   mtm2 at,v0
-.*: 7083000c   mtm1 a0,v1
-.*: 70a20009   mtp0 a1,v0
-.*: 70c40009   mtp0 a2,a0
-.*: 7083000a   mtp1 a0,v1
-.*: 70e1000a   mtp1 a3,at
-.*: 7022000b   mtp2 at,v0
-.*: 7083000a   mtp1 a0,v1
+.*: 71ec0008   mtm0 \$15,\$12
+.*: 71a40008   mtm0 \$13,\$4
+.*: 7083000c   mtm1 \$4,\$3
+.*: 70e1000c   mtm1 \$7,\$1
+.*: 7022000d   mtm2 \$1,\$2
+.*: 7083000c   mtm1 \$4,\$3
+.*: 70a20009   mtp0 \$5,\$2
+.*: 70c40009   mtp0 \$6,\$4
+.*: 7083000a   mtp1 \$4,\$3
+.*: 70e1000a   mtp1 \$7,\$1
+.*: 7022000b   mtp2 \$1,\$2
+.*: 7083000a   mtp1 \$4,\$3
-- 
1.9.4



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH, MIPS] Fix octeon3 tests for targets with default ABI != n32
  2014-12-18 23:05 [PATCH, MIPS] Fix octeon3 tests for targets with default ABI != n32 Matthew Fortune
@ 2014-12-19 12:42 ` Richard Sandiford
  0 siblings, 0 replies; 2+ messages in thread
From: Richard Sandiford @ 2014-12-19 12:42 UTC (permalink / raw)
  To: Matthew Fortune; +Cc: binutils

Matthew Fortune <Matthew.Fortune@imgtec.com> writes:
> gas/testsuite/
>
>      * gas/mips/octeon3.d: Switch to use numeric register names.

OK, thanks.

Richard

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-12-19 12:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-12-18 23:05 [PATCH, MIPS] Fix octeon3 tests for targets with default ABI != n32 Matthew Fortune
2014-12-19 12:42 ` Richard Sandiford

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).