summaryrefslogtreecommitdiffstats
path: root/gas/testsuite/gas/mips/eret-1.s
blob: a33124f021b76d708f6c10d5cd9a28ce00ddcef5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
foo:
	li	$t4, 0
	eret
	b	2f
1:	li	$t2, 3
	eret
2:	li	$a0, 0
	deret
	beq	$t3, $t2, 1b
	deret
	eret
	eret
	b	2b

	.set noreorder
	li	$t4, 4
	deret
	li	$t4, 3
	eret
	b	1f
	 li	$t4, 3
	eret
	nop
	b	1f
	 li	$t4, 3
1:	li	$t4, 3
	eret

# Force at least 8 (non-delay-slot) zero bytes, to make 'objdump' print ...
        .space	8
OpenPOWER on IntegriCloud