This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
RE: FW: [PATCH,MIPS] Change the mapping for the 'move' instruction
- From: Simon Dardis <Simon dot Dardis at imgtec dot com>
- To: Alan Modra <amodra at gmail dot com>, Robert Suchanek <Robert dot Suchanek at imgtec dot com>
- Cc: "Maciej W. Rozycki" <macro at linux-mips dot org>, "rdsandiford at googlemail dot com" <rdsandiford at googlemail dot com>, "binutils at sourceware dot org" <binutils at sourceware dot org>, Matthew Fortune <Matthew dot Fortune at imgtec dot com>, "Moore, Catherine" <Catherine_Moore at mentor dot com>
- Date: Mon, 24 Aug 2015 14:22:59 +0000
- Subject: RE: FW: [PATCH,MIPS] Change the mapping for the 'move' instruction
- Authentication-results: sourceware.org; auth=none
- References: <B83211783F7A334B926F0C0CA42E32CAF0D150 at hhmail02 dot hh dot imgtec dot org> <alpine dot LFD dot 2 dot 20 dot 1507302307110 dot 1410 at eddie dot linux-mips dot org> <B83211783F7A334B926F0C0CA42E32CAF0E04C at hhmail02 dot hh dot imgtec dot org> <alpine dot LFD dot 2 dot 20 dot 1507311938070 dot 1410 at eddie dot linux-mips dot org> <B5E67142681B53468FAF6B7C31356562441AFCCB at hhmail02 dot hh dot imgtec dot org> <20150817072656 dot GD4378 at bubble dot grove dot modra dot org>
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