This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[PATCH, MIPS] Fix octeon3 tests for targets with default ABI != n32
- From: Matthew Fortune <Matthew dot Fortune at imgtec dot com>
- To: Richard Sandiford <rdsandiford at googlemail dot com>
- Cc: "binutils at sourceware dot org" <binutils at sourceware dot org>
- Date: Thu, 18 Dec 2014 23:04:58 +0000
- Subject: [PATCH, MIPS] Fix octeon3 tests for targets with default ABI != n32
- Authentication-results: sourceware.org; auth=none
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