FW: [PATCH,MIPS] Change the mapping for the 'move' instruction
Simon Dardis
Simon.Dardis@imgtec.com
Mon Aug 24 14:23:00 GMT 2015
Hello all,
Update for test failures on some configurations.
Thanks,
Simon
diff --git a/gas/testsuite/gas/mips/micromips32-move.d b/gas/testsuite/gas/mips/micromips32-move.d
index 1a30f06..b13d927 100644
--- a/gas/testsuite/gas/mips/micromips32-move.d
+++ b/gas/testsuite/gas/mips/micromips32-move.d
@@ -1,4 +1,4 @@
-#objdump: -dr -m mips:micromips
+#objdump: -dr -m mips:micromips -M reg-names=numeric
#name: microMIPS insn32 move test
#source: micromips32-move.s
@@ -8,7 +8,7 @@
Disassembly of section .text:
0+ <.*>:
- 0: 001f 6a90 move t5,ra
- 4: 001f 6950 move t5,ra
- 8: 581f 6950 move t5,ra
- c: 001f 6a90 move t5,ra
+ 0: 001f 6a90 move \$13,\$31
+ 4: 001f 6950 move \$13,\$31
+ 8: 581f 6950 move \$13,\$31
+ c: 001f 6a90 move \$13,\$31
diff --git a/gas/testsuite/gas/mips/move.d b/gas/testsuite/gas/mips/move.d
index aa978ea..28a9673 100644
--- a/gas/testsuite/gas/mips/move.d
+++ b/gas/testsuite/gas/mips/move.d
@@ -1,4 +1,4 @@
-#objdump: -dr
+#objdump: -dr -M reg-names=numeric
#name: MIPS move disassembly test
#source: move.s
@@ -8,7 +8,7 @@
Disassembly of section .text:
0+ <.*>:
- 0: 03e06825 move t5,ra
- 4: 03e06821 move t5,ra
- 8: 03e0682d move t5,ra
- c: 03e06825 move t5,ra
+ 0: 03e08025 move \$16,\$31
+ 4: 03e08021 move \$16,\$31
+ 8: 03e0802d move \$16,\$31
+ c: 03e08025 move \$16,\$31
diff --git a/gas/testsuite/gas/mips/move.s b/gas/testsuite/gas/mips/move.s
index 912577b..6be2d3d 100644
--- a/gas/testsuite/gas/mips/move.s
+++ b/gas/testsuite/gas/mips/move.s
@@ -1,4 +1,4 @@
- move $13, $31
- addu $13, $31, $0
- daddu $13, $31, $0
- or $13, $31, $0
+ move $16, $31
+ addu $16, $31, $0
+ daddu $16, $31, $0
+ or $16, $31, $0
--
2.1.0
-----Original Message-----
From: Alan Modra [mailto:amodra@gmail.com]
Sent: 17 August 2015 08:27
To: Robert Suchanek
Cc: Maciej W. Rozycki; Simon Dardis; rdsandiford@googlemail.com; binutils@sourceware.org; Matthew Fortune; Moore, Catherine
Subject: Re: FW: [PATCH,MIPS] Change the mapping for the 'move' instruction
mips64-linux +FAIL: MIPS move disassembly test (mips64) mips64-linux +FAIL: MIPS move disassembly test (mips64r2) mips64-linux +FAIL: MIPS move disassembly test (mips64r3) mips64-linux +FAIL: MIPS move disassembly test (mips64r5) mips64-linux +FAIL: MIPS move disassembly test (mips64r6) mips64-linux +FAIL: MIPS move disassembly test (octeon) mips64-linux +FAIL: MIPS move disassembly test (octeon2) mips64-linux +FAIL: MIPS move disassembly test (octeon3) mips64-linux +FAIL: MIPS move disassembly test (octeonp) mips64-linux +FAIL: MIPS move disassembly test (sb1) mips64-linux +FAIL: MIPS move disassembly test (xlr) mips64-linux +FAIL: microMIPS insn32 move test (micromips)
The first one looks like this:
dump.o: file format elf32-ntradbigmips
Disassembly of section .text:
00000000 <.text>:
0: 03e06825 move t1,ra
4: 03e06821 move t1,ra
8: 03e0682d move t1,ra
c: 03e06825 move t1,ra
--
Alan Modra
Australia Development Lab, IBM
More information about the Binutils
mailing list