From: Maciej W. Rozycki Date: Sat, 19 Dec 2009 00:24:09 +0000 (+0000) Subject: * gas/mips/eret-2.s: Add an instruction to fill a branch delay X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=42853c79aa14e4246cbfa94d41c96375b560cc84;p=binutils-gdb.git * gas/mips/eret-2.s: Add an instruction to fill a branch delay slot. * gas/mips/eret-2.d: Adjust accordingly. --- diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index e79289401b4..fe52853f498 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2009-12-19 Maciej W. Rozycki + + * 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 * gas/mips/aent.d: New test. diff --git a/gas/testsuite/gas/mips/eret-2.d b/gas/testsuite/gas/mips/eret-2.d index d73dcffc061..70497f50526 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]+ -[ 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 0654ad1ac54..6b2a9b9d9e4 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