summaryrefslogtreecommitdiff
path: root/gas/testsuite/gas/mips/delay.d
blob: 93dc0ec16b85730b62c493fdd2ee5872f09f2066 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#objdump: -dr --prefix-addresses -mmips:4000
#name: MIPS delay
#as: -mips3 -mcpu=r4000

# 
# Gas should produce nop's after mtc1 and related 
# insn's if the target fpr is used in the 
# immediatly following insn.  See also nodelay.d.
#

.*: +file format .*mips.*

Disassembly of section .text:
0+0000 <[^>]*> mtc1	\$zero,\$f0
0+0004 <[^>]*> nop
0+0008 <[^>]*> cvt.d.w	\$f0,\$f0
0+000c <[^>]*> mtc1	\$zero,\$f1
0+0010 <[^>]*> nop
0+0014 <[^>]*> cvt.d.w	\$f1,\$f1
	...