From 42853c79aa14e4246cbfa94d41c96375b560cc84 Mon Sep 17 00:00:00 2001 From: "Maciej W. Rozycki" Date: Sat, 19 Dec 2009 00:24:09 +0000 Subject: * gas/mips/eret-2.s: Add an instruction to fill a branch delay slot. * gas/mips/eret-2.d: Adjust accordingly. --- gas/testsuite/ChangeLog | 6 ++++++ gas/testsuite/gas/mips/eret-2.d | 2 +- gas/testsuite/gas/mips/eret-2.s | 1 + 3 files changed, 8 insertions(+), 1 deletion(-) (limited to 'gas/testsuite') 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 + * 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. * 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]+ -[ 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 -- cgit v1.1