aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Sandiford <rdsandiford@googlemail.com>2013-05-04 10:11:30 +0000
committerRichard Sandiford <rdsandiford@googlemail.com>2013-05-04 10:11:30 +0000
commit2a0388c71ce369025fb0e6b9709539ca737837ee (patch)
treec22c404b7bfdf46008d8a5e5f4cfcc40e99b4f9c
parentd150b1a28f157a0f75797b184fa87fd4bc6bc2ac (diff)
downloadgdb-2a0388c71ce369025fb0e6b9709539ca737837ee.zip
gdb-2a0388c71ce369025fb0e6b9709539ca737837ee.tar.gz
gdb-2a0388c71ce369025fb0e6b9709539ca737837ee.tar.bz2
gas/testsuite/
* gas/mips/micromips-warn-branch-delay.d: Use numeric registers.
-rw-r--r--gas/testsuite/ChangeLog4
-rw-r--r--gas/testsuite/gas/mips/micromips-warn-branch-delay.d30
2 files changed, 19 insertions, 15 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index f73e188..b853d8b 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2013-05-04 Richard Sandiford <rdsandiford@googlemail.com>
+
+ * gas/mips/micromips-warn-branch-delay.d: Use numeric registers.
+
2013-05-02 Richard Sandiford <rdsandiford@googlemail.com>
* gas/mips/mips16-stabs.s, gas/mips/mips16-stabs.d: New test.
diff --git a/gas/testsuite/gas/mips/micromips-warn-branch-delay.d b/gas/testsuite/gas/mips/micromips-warn-branch-delay.d
index fde0af5..936dab7 100644
--- a/gas/testsuite/gas/mips/micromips-warn-branch-delay.d
+++ b/gas/testsuite/gas/mips/micromips-warn-branch-delay.d
@@ -1,4 +1,4 @@
-#objdump: -dr --show-raw-insn
+#objdump: -dr --show-raw-insn -M gpr-names=numeric
#name: microMIPS fixed-size branch delay slots
#as: -mmicromips
#source: micromips-warn-branch-delay.s
@@ -9,18 +9,18 @@
Disassembly of section \.text:
[0-9a-f]+ <foo>:
-[ 0-9a-f]+: 45e2 jalrs v0
-[ 0-9a-f]+: 0083 1250 and v0,v1,a0
-[ 0-9a-f]+: 45e2 jalrs v0
-[ 0-9a-f]+: 6043 9000 swr v0,0\(v1\)
-[ 0-9a-f]+: 45e2 jalrs v0
-[ 0-9a-f]+: 6043 8000 swl v0,0\(v1\)
-[ 0-9a-f]+: 45e2 jalrs v0
-[ 0-9a-f]+: 0272 8210 mul s0,s2,s3
-[ 0-9a-f]+: 45e2 jalrs v0
-[ 0-9a-f]+: 001f 8b90 sltu s1,ra,zero
-[ 0-9a-f]+: 45e2 jalrs v0
-[ 0-9a-f]+: 0220 8910 add s1,zero,s1
-[ 0-9a-f]+: 45e2 jalrs v0
-[ 0-9a-f]+: 01b1 8990 sub s1,s1,t5
+[ 0-9a-f]+: 45e2 jalrs \$2
+[ 0-9a-f]+: 0083 1250 and \$2,\$3,\$4
+[ 0-9a-f]+: 45e2 jalrs \$2
+[ 0-9a-f]+: 6043 9000 swr \$2,0\(\$3\)
+[ 0-9a-f]+: 45e2 jalrs \$2
+[ 0-9a-f]+: 6043 8000 swl \$2,0\(\$3\)
+[ 0-9a-f]+: 45e2 jalrs \$2
+[ 0-9a-f]+: 0272 8210 mul \$16,\$18,\$19
+[ 0-9a-f]+: 45e2 jalrs \$2
+[ 0-9a-f]+: 001f 8b90 sltu \$17,\$31,\$0
+[ 0-9a-f]+: 45e2 jalrs \$2
+[ 0-9a-f]+: 0220 8910 add \$17,\$0,\$17
+[ 0-9a-f]+: 45e2 jalrs \$2
+[ 0-9a-f]+: 01b1 8990 sub \$17,\$17,\$13
#pass