* gas/mips/eret-2.s: Add an instruction to fill a branch delay

slot.
	* gas/mips/eret-2.d: Adjust accordingly.
This commit is contained in:
Maciej W. Rozycki
2009-12-19 00:24:09 +00:00
parent 7c0fc5246b
commit 42853c79aa
3 changed files with 8 additions and 1 deletions

View 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.

View 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
\.\.\.

View 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