OSDN Git Service

* gas/mips/eret-2.s: Add an instruction to fill a branch delay
authormacro <macro>
Sat, 19 Dec 2009 09:24:09 +0000 (09:24 +0000)
committermacro <macro>
Sat, 19 Dec 2009 09:24:09 +0000 (09: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 e792894..fe52853 100644 (file)
@@ -1,5 +1,11 @@
 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.
        * gas/mips/aent.s: Source for the new test.
        * gas/mips/mips.exp: Run it.
index d73dcff..70497f5 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 0654ad1..6b2a9b9 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