[binutils-gdb] Update MIPS tests for test failures on some configurations.

Nick Clifton nickc@sourceware.org
Tue Aug 25 16:07:00 GMT 2015


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=cdbfb8861732b496b9ee35b130af75b245e2bc02

commit cdbfb8861732b496b9ee35b130af75b245e2bc02
Author: Simon Dardis <Simon.Dardis@imgtec.com>
Date:   Tue Aug 25 17:04:51 2015 +0100

    Update MIPS tests for test failures on some configurations.
    
    	* gas/mips/micromips32-move.d: Update expected disassembly.
    	* gas/mips/move.d: Likewise.
    	* gas/mips/move.s: Fix for some MIPS configurations.

Diff:
---
 gas/testsuite/ChangeLog                   |  6 ++++++
 gas/testsuite/gas/mips/micromips32-move.d | 10 +++++-----
 gas/testsuite/gas/mips/move.d             | 10 +++++-----
 gas/testsuite/gas/mips/move.s             |  8 ++++----
 4 files changed, 20 insertions(+), 14 deletions(-)

diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index 4d4dcbc..f6f8b37 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -7,6 +7,12 @@
 	register.
 	* gas/sparc/rdpr.d: ...and the expected result.
 
+2015-08-25  Simon Dardis  <Simon.Dardis@imgtec.com>
+
+	* gas/mips/micromips32-move.d: Update expected disassembly.
+	* gas/mips/move.d: Likewise.
+	* gas/mips/move.s: Fix for some MIPS configurations.
+
 2015-08-24  Jan Stancek  <jstancek@redhat.com>
 
 	* gas/i386/intel.s: Add test of disassembly of a potential
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



More information about the Binutils-cvs mailing list