[PATCH, MIPS] Fix octeon3 tests for targets with default ABI != n32

Matthew Fortune Matthew.Fortune@imgtec.com
Thu Dec 18 23:05:00 GMT 2014


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





More information about the Binutils mailing list