summaryrefslogtreecommitdiff
path: root/gas/testsuite/gas/tic6x/insns-c674x-pcrel.s
blob: 4d1e14c4ccd6e7cd784a8f3e8fab032c4491a4f7 (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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
# Test C674x instructions generating PC-relative relocations.
.text
.nocmp
.globl ext1
.globl ext2
.globl ext3
.globl a1
.globl b1
.globl irp
.globl nrp
f:
	nop
	nop
	nop
	nop
	nop
	nop
	nop
	addkpc .S2 f,b1,3
	[a2] addkpc .S2 f+4,b3,7
	addkpc .S2 g,b4,0
	addkpc .S2 ext1+8,b5,4
g:
	nop
	nop
	nop
	nop
	nop
f2:
	nop
	nop
	b .S2 ext3+4
	b .S1 ext2
	b .S2 (nrp)
	b .S2 (irp)
	b .S1 (a1)
	b .S2 f2
	[b2] b .S2 f2+4
	b .S2 g2
	b .S2 (b1)
g2:
	nop
	nop
	nop
	nop
	nop
f3:
	nop
	nop
	call .S2 ext3+4
	call .S1 ext2
	call .S2 (nrp)
	call .S2 (irp)
	call .S1 (a1)
	call .S2 f3
	[b2] call .S2 f3+4
	call .S2 g3
	call .S2 (b1)
g3:
	nop
	nop
	nop
	nop
	nop
f4:
	nop
	nop
	bdec .S2 ext3+4,b2
	bdec .S1 ext2,a2
	bdec .S2 (nrp),b2
	bdec .S2 (irp),b2
	bdec .S1 (a1),a2
	bdec .S2 f4,b2
	[!a1] bdec .S2 f4+4,b2
	bdec .S2 g4,b2
	bdec .S2 (b1),b2
g4:
	nop
	nop
	nop
	nop
	nop
f5:
	nop
	nop
	bpos .S2 ext3+4,b2
	bpos .S1 ext2,a2
	bpos .S2 (nrp),b2
	bpos .S2 (irp),b2
	bpos .S1 (a1),a2
	bpos .S2 f5,b2
	[!b1] bpos .S2 f5+4,b2
	bpos .S2 g5,b2
	bpos .S2 (b1),b2
g5:
	nop
	nop
	nop
	nop
	nop
f6:
	nop
	nop
	bnop .S2 ext3+4,0
	bnop .S1 ext2,1
	bnop (nrp),2
	bnop .S2 (irp),3
	bnop .S1 (a1),4
	bnop .S2 f6,5
	[!b1] bnop .S2 f6+4,6
	bnop g6,7
	bnop .S2 (b1),0
g6:
	nop
	nop
	nop
	nop
	nop
f7:
	nop
	nop
	callnop .S2 ext3+4,0
	callnop .S1 ext2,1
	callnop (nrp),2
	callnop .S2 (irp),3
	callnop .S1 (a1),4
	callnop .S2 f7,5
	[a0] callnop .S2 f7+4,6
	callnop g7,7
	callnop .S2 (b1),0
g7:
	nop
	nop
	nop
	nop
	nop
f8:
	nop
	nop
	callp .S2 ext3+4,b3
	callp .S1 ext2,a3
	callp .S1 (nrp),a3
	callp .S2 (irp),b3
	callp .S1 (a1),a3
	callp .S2 f8,b3
	callp .S2 f8+4,b3
	callp .S1 g8,a3
	callp .S2 (b1),b3
g8:
	nop
	nop
	nop
	nop
	nop
f9:
	nop
	nop
	callret .S2 ext3+4
	callret .S1 ext2
	callret .S2 (nrp)
	callret .S2 (irp)
	callret .S1 (a1)
	callret .S2 f9
	[b2] callret .S2 f9+4
	callret .S2 g9
	callret .S2 (b1)
g9:
	nop
	nop
	nop
	nop
	nop
f10:
	nop
	nop
	ret .S2 ext3+4
	ret .S1 ext2
	ret .S2 (nrp)
	ret .S2 (irp)
	ret .S1 (a1)
	ret .S2 f10
	[b2] ret .S2 f10+4
	ret .S2 g10
	ret .S2 (b1)
g10:
	nop
	nop
	nop
	nop
	nop
f11:
	nop
	nop
	retp .S2 ext3+4,b3
	retp .S1 ext2,a3
	retp .S1 (nrp),a3
	retp .S2 (irp),b3
	retp .S1 (a1),a3
	retp .S2 f11,b3
	retp .S2 f11+4,b3
	retp .S1 g11,a3
	retp .S2 (b1),b3
g11:
	nop
	nop
	nop
	nop
	nop