diff options
-rw-r--r-- | gas/testsuite/ChangeLog | 6 | ||||
-rw-r--r-- | gas/testsuite/gas/mips/eret-2.d | 2 | ||||
-rw-r--r-- | gas/testsuite/gas/mips/eret-2.s | 1 |
3 files changed, 8 insertions, 1 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index e792894..fe52853 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -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. diff --git a/gas/testsuite/gas/mips/eret-2.d b/gas/testsuite/gas/mips/eret-2.d index d73dcff..70497f5 100644 --- a/gas/testsuite/gas/mips/eret-2.d +++ b/gas/testsuite/gas/mips/eret-2.d @@ -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 \.\.\. diff --git a/gas/testsuite/gas/mips/eret-2.s b/gas/testsuite/gas/mips/eret-2.s index 0654ad1..6b2a9b9 100644 --- a/gas/testsuite/gas/mips/eret-2.s +++ b/gas/testsuite/gas/mips/eret-2.s @@ -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 |