summaryrefslogtreecommitdiffstats
path: root/binutils-2.25/gas/testsuite/gas/i860/branch.s
blob: 3df2758a640c72c6f2227d5e6b751a53e2f7bc63 (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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
# Branches and calls

	.text

	bla	%r0,%r1,.Lsome_label1
	nop
	bla	%r5,%r31,.Lsome_label2
	nop
	bla	%r23,%r16,.Lsome_label1
	nop
	bla	%r4,%r19,.Lsome_label2
	nop

	bri	%r0	
	nop
	bri	%r1	
	nop
	bri	%r31	
	nop
	bri	%r1	
	nop
	bri	%r12	
	nop
	bri	%r19	
	nop

	calli	%r0	
	nop
	calli	%r1	
	nop
	calli	%r31	
	nop
	calli	%r5	
	nop
	calli	%r22	
	nop
	calli	%r9	
	nop

	br	.Lsome_label1
	nop
	br	.Lsome_label2
	nop
	br	some_fake_extern
	nop

	call	.Lcall_me_now
	nop
	call	.Lcall_me_anytime
	nop
	call	some_fake_extern
	nop

	bc	.+12
	bc	.Lsome_label1
	bc	some_fake_extern

	bc.t	.+0
	nop
	bc.t	.Lsome_label1
	nop
	bc.t	some_fake_extern
	nop

	bnc	.+12
	bnc	.Lsome_label1
	bnc	some_fake_extern

	bnc.t	.+0
	nop
	bnc.t	.Lsome_label1
	nop
	bnc.t	some_fake_extern
	nop


.Lsome_label1:
.Lcall_me_now:
	nop
	nop
.Lsome_label2:
.Lcall_me_anytime:
	nop
	nop