1 #objdump: -dr --show-raw-insn -M gpr-names=numeric
2 #name: microMIPS fixed-size branch delay slots
3 #as: -mmicromips
4 #source: micromips-warn-branch-delay.s
5 #stderr: micromips-warn-branch-delay.l
6 
7 .*: +file format .*mips.*
8 
9 Disassembly of section \.text:
10 
11 [0-9a-f]+ <foo>:
12 [ 0-9a-f]+:	45e2      	jalrs	\$2
13 [ 0-9a-f]+:	0083 1250 	and	\$2,\$3,\$4
14 [ 0-9a-f]+:	45e2      	jalrs	\$2
15 [ 0-9a-f]+:	6043 9000 	swr	\$2,0\(\$3\)
16 [ 0-9a-f]+:	45e2      	jalrs	\$2
17 [ 0-9a-f]+:	6043 8000 	swl	\$2,0\(\$3\)
18 [ 0-9a-f]+:	45e2      	jalrs	\$2
19 [ 0-9a-f]+:	0272 8210 	mul	\$16,\$18,\$19
20 [ 0-9a-f]+:	45e2      	jalrs	\$2
21 [ 0-9a-f]+:	001f 8b90 	sltu	\$17,\$31,\$0
22 [ 0-9a-f]+:	45e2      	jalrs	\$2
23 [ 0-9a-f]+:	0220 8910 	add	\$17,\$0,\$17
24 [ 0-9a-f]+:	45e2      	jalrs	\$2
25 [ 0-9a-f]+:	01b1 8990 	sub	\$17,\$17,\$13
26 #pass
27