summaryrefslogtreecommitdiff
path: root/gas/testsuite/gas/m32r/fslot.s
blob: 586b664d9e578aef4318cb7dcb5f7499dc7d0c3c (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
# Test the FILL-SLOT attribute.
# The FILL-SLOT attribute ensures the next insn begins on a 32 byte boundary.
# This is needed for example with bl because the subroutine will return
# to a 32 bit boundary.

	.text
bl:
	bl bl
	ldi r0,#8
bl_s:
	bl.s bl_s
	ldi r0,#8

bra:
	bra bra
	ldi r0,#8
bra_s:
	bra.s bra_s
	ldi r0,#8

jl:
	jl r0
	ldi r0,#8

trap:
	trap #4
	ldi r0,#8