aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorThiemo Seufer <ths@networkno.de>2006-06-08 21:42:50 +0000
committerThiemo Seufer <ths@networkno.de>2006-06-08 21:42:50 +0000
commit99c81228e7c2bf218fc15db5d8f751301922576b (patch)
tree52d69b731048da557f18c28fc59fbdbc43d4d270 /gas
parentb2d6f210e93479113d0afa8693c4383549bca5fd (diff)
downloadgdb-99c81228e7c2bf218fc15db5d8f751301922576b.zip
gdb-99c81228e7c2bf218fc15db5d8f751301922576b.tar.gz
gdb-99c81228e7c2bf218fc15db5d8f751301922576b.tar.bz2
* gas/mips/mips32.s: Added cop2 branches with explicit condition
code register numbers. * gas/mips/mips32.d: Likewise.
Diffstat (limited to 'gas')
-rw-r--r--gas/testsuite/ChangeLog7
-rw-r--r--gas/testsuite/gas/mips/mips32.d8
-rw-r--r--gas/testsuite/gas/mips/mips32.s10
3 files changed, 25 insertions, 0 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index 920353a..8193d52 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,3 +1,10 @@
+2006-06-08 Thiemo Seufer <ths@mips.com>
+ Nigel Stephens <nigel@mips.com>
+
+ * gas/mips/mips32.s: Added cop2 branches with explicit condition
+ code register numbers.
+ * gas/mips/mips32.d: Likewise.
+
2006-06-07 Julian Brown <julian@codesourcery.com>
* gas/arm/itblock.s: New file. Helper macro for making all-true IT
diff --git a/gas/testsuite/gas/mips/mips32.d b/gas/testsuite/gas/mips/mips32.d
index 631ef2c..14693fc 100644
--- a/gas/testsuite/gas/mips/mips32.d
+++ b/gas/testsuite/gas/mips/mips32.d
@@ -63,4 +63,12 @@ Disassembly of section .text:
0+00d4 <[^>]*> 7000003f sdbbp
0+00d8 <[^>]*> 7000003f sdbbp
0+00dc <[^>]*> 7159e27f sdbbp 0x56789
+0+00e0 <[^>]*> 4900ffc7 bc2f 0+0000 <text_label>
+0+00e4 <[^>]*> 00000000 nop
+0+00e8 <[^>]*> 4906ffc5 bc2fl \$cc1,0+0000 <text_label>
+0+00ec <[^>]*> 00000000 nop
+0+00f0 <[^>]*> 4919ffc3 bc2t \$cc6,0+0000 <text_label>
+0+00f4 <[^>]*> 00000000 nop
+0+00f8 <[^>]*> 491fffc1 bc2tl \$cc7,0+0000 <text_label>
+0+00fc <[^>]*> 00000000 nop
\.\.\.
diff --git a/gas/testsuite/gas/mips/mips32.s b/gas/testsuite/gas/mips/mips32.s
index ac3022f..f542658 100644
--- a/gas/testsuite/gas/mips/mips32.s
+++ b/gas/testsuite/gas/mips/mips32.s
@@ -79,5 +79,15 @@ text_label:
sdbbp 0 # disassembles without code
sdbbp 0x56789
+ # Cop2 branches with cond code number, like bc1t/f
+ bc2f $cc0,text_label
+ nop
+ bc2fl $cc1,text_label
+ nop
+ bc2t $cc6,text_label
+ nop
+ bc2tl $cc7,text_label
+ nop
+
# Force at least 8 (non-delay-slot) zero bytes, to make 'objdump' print ...
.space 8