* gas/mips/eret-2.s: Add an instruction to fill a branch delay
authorMaciej W. Rozycki <macro@linux-mips.org>
Sat, 19 Dec 2009 00:24:09 +0000 (00:24 +0000)
committerMaciej W. Rozycki <macro@linux-mips.org>
Sat, 19 Dec 2009 00:24:09 +0000 (00:24 +0000)
slot.
* gas/mips/eret-2.d: Adjust accordingly.

gas/testsuite/ChangeLog
gas/testsuite/gas/mips/eret-2.d
gas/testsuite/gas/mips/eret-2.s

index e79289401b499b99062a77768edbf45918ef282e..fe52853f498fb7d5820d4ae177457dbcc8f65684 100644 (file)
@@ -1,3 +1,9 @@
+2009-12-19  Maciej W. Rozycki  <macro@codesourcery.com>
+
+       * gas/mips/eret-2.s: Add an instruction to fill a branch delay
+       slot.
+       * gas/mips/eret-2.d: Adjust accordingly.
+
 2009-12-19  Maciej W. Rozycki  <macro@codesourcery.com>
 
        * gas/mips/aent.d: New test.
index d73dcffc0619a6bf2891ba23b63c1742b3cfb0a1..70497f505268f305718c5ef66f0d1a30544c72b8 100644 (file)
@@ -14,5 +14,5 @@ Disassembly of section \.text:
 [ 0-9a-f]+:    42000018        eret
 [ 0-9a-f]+:    00000000        nop
 [ 0-9a-f]+:    1000fffd        b       [0-9a-f]+ <foo\+0x10>
-[ 0-9a-f]+:    00000000        nop
+[ 0-9a-f]+:    00000006        srlv    zero,zero,zero
        \.\.\.
index 0654ad1ac5427b9ba8a6a0a43f225ea2ee33185a..6b2a9b9d9e4ccae54d37a37fb4579544f858a963 100644 (file)
@@ -8,6 +8,7 @@ foo:
        .set    noreorder
        b       1b
        .set    reorder
+        srlv   $0, $0, $0
 
 # Force at least 8 (non-delay-slot) zero bytes, to make 'objdump' print ...
         .space 8