sparc-v9-traps.s
12.9 KB
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
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
! RUN: llvm-mc %s -arch=sparcv9 -show-encoding | FileCheck %s
! CHECK: ta %icc, %i5 ! encoding: [0x91,0xd0,0x00,0x1d]
! CHECK: ta %icc, 82 ! encoding: [0x91,0xd0,0x20,0x52]
! CHECK: ta %icc, %g1 + %i2 ! encoding: [0x91,0xd0,0x40,0x1a]
! CHECK: ta %icc, %i5 + 41 ! encoding: [0x91,0xd7,0x60,0x29]
ta %icc, %i5
ta %icc, 82
ta %icc, %g1 + %i2
ta %icc, %i5 + 41
! CHECK: tn %icc, %i5 ! encoding: [0x81,0xd0,0x00,0x1d]
! CHECK: tn %icc, 82 ! encoding: [0x81,0xd0,0x20,0x52]
! CHECK: tn %icc, %g1 + %i2 ! encoding: [0x81,0xd0,0x40,0x1a]
! CHECK: tn %icc, %i5 + 41 ! encoding: [0x81,0xd7,0x60,0x29]
tn %icc, %i5
tn %icc, 82
tn %icc, %g1 + %i2
tn %icc, %i5 + 41
! CHECK: tne %icc, %i5 ! encoding: [0x93,0xd0,0x00,0x1d]
!! tnz should be a synonym for tne
! CHECK: tne %icc, %i5 ! encoding: [0x93,0xd0,0x00,0x1d]
! CHECK: tne %icc, 82 ! encoding: [0x93,0xd0,0x20,0x52]
! CHECK: tne %icc, %g1 + %i2 ! encoding: [0x93,0xd0,0x40,0x1a]
! CHECK: tne %icc, %i5 + 41 ! encoding: [0x93,0xd7,0x60,0x29]
tne %icc, %i5
tnz %icc, %i5
tne %icc, 82
tne %icc, %g1 + %i2
tne %icc, %i5 + 41
! CHECK: te %icc, %i5 ! encoding: [0x83,0xd0,0x00,0x1d]
!! tz should be a synonym for te
! CHECK: te %icc, %i5 ! encoding: [0x83,0xd0,0x00,0x1d]
! CHECK: te %icc, 82 ! encoding: [0x83,0xd0,0x20,0x52]
! CHECK: te %icc, %g1 + %i2 ! encoding: [0x83,0xd0,0x40,0x1a]
! CHECK: te %icc, %i5 + 41 ! encoding: [0x83,0xd7,0x60,0x29]
te %icc, %i5
tz %icc, %i5
te %icc, 82
te %icc, %g1 + %i2
te %icc, %i5 + 41
! CHECK: tg %icc, %i5 ! encoding: [0x95,0xd0,0x00,0x1d]
! CHECK: tg %icc, 82 ! encoding: [0x95,0xd0,0x20,0x52]
! CHECK: tg %icc, %g1 + %i2 ! encoding: [0x95,0xd0,0x40,0x1a]
! CHECK: tg %icc, %i5 + 41 ! encoding: [0x95,0xd7,0x60,0x29]
tg %icc, %i5
tg %icc, 82
tg %icc, %g1 + %i2
tg %icc, %i5 + 41
! CHECK: tle %icc, %i5 ! encoding: [0x85,0xd0,0x00,0x1d]
! CHECK: tle %icc, 82 ! encoding: [0x85,0xd0,0x20,0x52]
! CHECK: tle %icc, %g1 + %i2 ! encoding: [0x85,0xd0,0x40,0x1a]
! CHECK: tle %icc, %i5 + 41 ! encoding: [0x85,0xd7,0x60,0x29]
tle %icc, %i5
tle %icc, 82
tle %icc, %g1 + %i2
tle %icc, %i5 + 41
! CHECK: tge %icc, %i5 ! encoding: [0x97,0xd0,0x00,0x1d]
! CHECK: tge %icc, 82 ! encoding: [0x97,0xd0,0x20,0x52]
! CHECK: tge %icc, %g1 + %i2 ! encoding: [0x97,0xd0,0x40,0x1a]
! CHECK: tge %icc, %i5 + 41 ! encoding: [0x97,0xd7,0x60,0x29]
tge %icc, %i5
tge %icc, 82
tge %icc, %g1 + %i2
tge %icc, %i5 + 41
! CHECK: tl %icc, %i5 ! encoding: [0x87,0xd0,0x00,0x1d]
! CHECK: tl %icc, 82 ! encoding: [0x87,0xd0,0x20,0x52]
! CHECK: tl %icc, %g1 + %i2 ! encoding: [0x87,0xd0,0x40,0x1a]
! CHECK: tl %icc, %i5 + 41 ! encoding: [0x87,0xd7,0x60,0x29]
tl %icc, %i5
tl %icc, 82
tl %icc, %g1 + %i2
tl %icc, %i5 + 41
! CHECK: tgu %icc, %i5 ! encoding: [0x99,0xd0,0x00,0x1d]
! CHECK: tgu %icc, 82 ! encoding: [0x99,0xd0,0x20,0x52]
! CHECK: tgu %icc, %g1 + %i2 ! encoding: [0x99,0xd0,0x40,0x1a]
! CHECK: tgu %icc, %i5 + 41 ! encoding: [0x99,0xd7,0x60,0x29]
tgu %icc, %i5
tgu %icc, 82
tgu %icc, %g1 + %i2
tgu %icc, %i5 + 41
! CHECK: tleu %icc, %i5 ! encoding: [0x89,0xd0,0x00,0x1d]
! CHECK: tleu %icc, 82 ! encoding: [0x89,0xd0,0x20,0x52]
! CHECK: tleu %icc, %g1 + %i2 ! encoding: [0x89,0xd0,0x40,0x1a]
! CHECK: tleu %icc, %i5 + 41 ! encoding: [0x89,0xd7,0x60,0x29]
tleu %icc, %i5
tleu %icc, 82
tleu %icc, %g1 + %i2
tleu %icc, %i5 + 41
! CHECK: tcc %icc, %i5 ! encoding: [0x9b,0xd0,0x00,0x1d]
! CHECK: tcc %icc, 82 ! encoding: [0x9b,0xd0,0x20,0x52]
! CHECK: tcc %icc, %g1 + %i2 ! encoding: [0x9b,0xd0,0x40,0x1a]
! CHECK: tcc %icc, %i5 + 41 ! encoding: [0x9b,0xd7,0x60,0x29]
tcc %icc, %i5
tcc %icc, 82
tcc %icc, %g1 + %i2
tcc %icc, %i5 + 41
! CHECK: tcs %icc, %i5 ! encoding: [0x8b,0xd0,0x00,0x1d]
! CHECK: tcs %icc, 82 ! encoding: [0x8b,0xd0,0x20,0x52]
! CHECK: tcs %icc, %g1 + %i2 ! encoding: [0x8b,0xd0,0x40,0x1a]
! CHECK: tcs %icc, %i5 + 41 ! encoding: [0x8b,0xd7,0x60,0x29]
tcs %icc, %i5
tcs %icc, 82
tcs %icc, %g1 + %i2
tcs %icc, %i5 + 41
! CHECK: tpos %icc, %i5 ! encoding: [0x9d,0xd0,0x00,0x1d]
! CHECK: tpos %icc, 82 ! encoding: [0x9d,0xd0,0x20,0x52]
! CHECK: tpos %icc, %g1 + %i2 ! encoding: [0x9d,0xd0,0x40,0x1a]
! CHECK: tpos %icc, %i5 + 41 ! encoding: [0x9d,0xd7,0x60,0x29]
tpos %icc, %i5
tpos %icc, 82
tpos %icc, %g1 + %i2
tpos %icc, %i5 + 41
! CHECK: tneg %icc, %i5 ! encoding: [0x8d,0xd0,0x00,0x1d]
! CHECK: tneg %icc, 82 ! encoding: [0x8d,0xd0,0x20,0x52]
! CHECK: tneg %icc, %g1 + %i2 ! encoding: [0x8d,0xd0,0x40,0x1a]
! CHECK: tneg %icc, %i5 + 41 ! encoding: [0x8d,0xd7,0x60,0x29]
tneg %icc, %i5
tneg %icc, 82
tneg %icc, %g1 + %i2
tneg %icc, %i5 + 41
! CHECK: tvc %icc, %i5 ! encoding: [0x9f,0xd0,0x00,0x1d]
! CHECK: tvc %icc, 82 ! encoding: [0x9f,0xd0,0x20,0x52]
! CHECK: tvc %icc, %g1 + %i2 ! encoding: [0x9f,0xd0,0x40,0x1a]
! CHECK: tvc %icc, %i5 + 41 ! encoding: [0x9f,0xd7,0x60,0x29]
tvc %icc, %i5
tvc %icc, 82
tvc %icc, %g1 + %i2
tvc %icc, %i5 + 41
! CHECK: tvs %icc, %i5 ! encoding: [0x8f,0xd0,0x00,0x1d]
! CHECK: tvs %icc, 82 ! encoding: [0x8f,0xd0,0x20,0x52]
! CHECK: tvs %icc, %g1 + %i2 ! encoding: [0x8f,0xd0,0x40,0x1a]
! CHECK: tvs %icc, %i5 + 41 ! encoding: [0x8f,0xd7,0x60,0x29]
tvs %icc, %i5
tvs %icc, 82
tvs %icc, %g1 + %i2
tvs %icc, %i5 + 41
! CHECK: ta %xcc, %i5 ! encoding: [0x91,0xd0,0x10,0x1d]
! CHECK: ta %xcc, 82 ! encoding: [0x91,0xd0,0x30,0x52]
! CHECK: ta %xcc, %g1 + %i2 ! encoding: [0x91,0xd0,0x50,0x1a]
! CHECK: ta %xcc, %i5 + 41 ! encoding: [0x91,0xd7,0x70,0x29]
ta %xcc, %i5
ta %xcc, 82
ta %xcc, %g1 + %i2
ta %xcc, %i5 + 41
! CHECK: tn %xcc, %i5 ! encoding: [0x81,0xd0,0x10,0x1d]
! CHECK: tn %xcc, 82 ! encoding: [0x81,0xd0,0x30,0x52]
! CHECK: tn %xcc, %g1 + %i2 ! encoding: [0x81,0xd0,0x50,0x1a]
! CHECK: tn %xcc, %i5 + 41 ! encoding: [0x81,0xd7,0x70,0x29]
tn %xcc, %i5
tn %xcc, 82
tn %xcc, %g1 + %i2
tn %xcc, %i5 + 41
! CHECK: tne %xcc, %i5 ! encoding: [0x93,0xd0,0x10,0x1d]
!! tnz should be a synonym for tne
! CHECK: tne %xcc, %i5 ! encoding: [0x93,0xd0,0x10,0x1d]
! CHECK: tne %xcc, 82 ! encoding: [0x93,0xd0,0x30,0x52]
! CHECK: tne %xcc, %g1 + %i2 ! encoding: [0x93,0xd0,0x50,0x1a]
! CHECK: tne %xcc, %i5 + 41 ! encoding: [0x93,0xd7,0x70,0x29]
tne %xcc, %i5
tnz %xcc, %i5
tne %xcc, 82
tne %xcc, %g1 + %i2
tne %xcc, %i5 + 41
! CHECK: te %xcc, %i5 ! encoding: [0x83,0xd0,0x10,0x1d]
!! tz should be a synonym for te
! CHECK: te %xcc, %i5 ! encoding: [0x83,0xd0,0x10,0x1d]
! CHECK: te %xcc, 82 ! encoding: [0x83,0xd0,0x30,0x52]
! CHECK: te %xcc, %g1 + %i2 ! encoding: [0x83,0xd0,0x50,0x1a]
! CHECK: te %xcc, %i5 + 41 ! encoding: [0x83,0xd7,0x70,0x29]
te %xcc, %i5
tz %xcc, %i5
te %xcc, 82
te %xcc, %g1 + %i2
te %xcc, %i5 + 41
! CHECK: tg %xcc, %i5 ! encoding: [0x95,0xd0,0x10,0x1d]
! CHECK: tg %xcc, 82 ! encoding: [0x95,0xd0,0x30,0x52]
! CHECK: tg %xcc, %g1 + %i2 ! encoding: [0x95,0xd0,0x50,0x1a]
! CHECK: tg %xcc, %i5 + 41 ! encoding: [0x95,0xd7,0x70,0x29]
tg %xcc, %i5
tg %xcc, 82
tg %xcc, %g1 + %i2
tg %xcc, %i5 + 41
! CHECK: tle %xcc, %i5 ! encoding: [0x85,0xd0,0x10,0x1d]
! CHECK: tle %xcc, 82 ! encoding: [0x85,0xd0,0x30,0x52]
! CHECK: tle %xcc, %g1 + %i2 ! encoding: [0x85,0xd0,0x50,0x1a]
! CHECK: tle %xcc, %i5 + 41 ! encoding: [0x85,0xd7,0x70,0x29]
tle %xcc, %i5
tle %xcc, 82
tle %xcc, %g1 + %i2
tle %xcc, %i5 + 41
! CHECK: tge %xcc, %i5 ! encoding: [0x97,0xd0,0x10,0x1d]
! CHECK: tge %xcc, 82 ! encoding: [0x97,0xd0,0x30,0x52]
! CHECK: tge %xcc, %g1 + %i2 ! encoding: [0x97,0xd0,0x50,0x1a]
! CHECK: tge %xcc, %i5 + 41 ! encoding: [0x97,0xd7,0x70,0x29]
tge %xcc, %i5
tge %xcc, 82
tge %xcc, %g1 + %i2
tge %xcc, %i5 + 41
! CHECK: tl %xcc, %i5 ! encoding: [0x87,0xd0,0x10,0x1d]
! CHECK: tl %xcc, 82 ! encoding: [0x87,0xd0,0x30,0x52]
! CHECK: tl %xcc, %g1 + %i2 ! encoding: [0x87,0xd0,0x50,0x1a]
! CHECK: tl %xcc, %i5 + 41 ! encoding: [0x87,0xd7,0x70,0x29]
tl %xcc, %i5
tl %xcc, 82
tl %xcc, %g1 + %i2
tl %xcc, %i5 + 41
! CHECK: tgu %xcc, %i5 ! encoding: [0x99,0xd0,0x10,0x1d]
! CHECK: tgu %xcc, 82 ! encoding: [0x99,0xd0,0x30,0x52]
! CHECK: tgu %xcc, %g1 + %i2 ! encoding: [0x99,0xd0,0x50,0x1a]
! CHECK: tgu %xcc, %i5 + 41 ! encoding: [0x99,0xd7,0x70,0x29]
tgu %xcc, %i5
tgu %xcc, 82
tgu %xcc, %g1 + %i2
tgu %xcc, %i5 + 41
! CHECK: tleu %xcc, %i5 ! encoding: [0x89,0xd0,0x10,0x1d]
! CHECK: tleu %xcc, 82 ! encoding: [0x89,0xd0,0x30,0x52]
! CHECK: tleu %xcc, %g1 + %i2 ! encoding: [0x89,0xd0,0x50,0x1a]
! CHECK: tleu %xcc, %i5 + 41 ! encoding: [0x89,0xd7,0x70,0x29]
tleu %xcc, %i5
tleu %xcc, 82
tleu %xcc, %g1 + %i2
tleu %xcc, %i5 + 41
! CHECK: tcc %xcc, %i5 ! encoding: [0x9b,0xd0,0x10,0x1d]
! CHECK: tcc %xcc, 82 ! encoding: [0x9b,0xd0,0x30,0x52]
! CHECK: tcc %xcc, %g1 + %i2 ! encoding: [0x9b,0xd0,0x50,0x1a]
! CHECK: tcc %xcc, %i5 + 41 ! encoding: [0x9b,0xd7,0x70,0x29]
tcc %xcc, %i5
tcc %xcc, 82
tcc %xcc, %g1 + %i2
tcc %xcc, %i5 + 41
! CHECK: tcs %xcc, %i5 ! encoding: [0x8b,0xd0,0x10,0x1d]
! CHECK: tcs %xcc, 82 ! encoding: [0x8b,0xd0,0x30,0x52]
! CHECK: tcs %xcc, %g1 + %i2 ! encoding: [0x8b,0xd0,0x50,0x1a]
! CHECK: tcs %xcc, %i5 + 41 ! encoding: [0x8b,0xd7,0x70,0x29]
tcs %xcc, %i5
tcs %xcc, 82
tcs %xcc, %g1 + %i2
tcs %xcc, %i5 + 41
! CHECK: tpos %xcc, %i5 ! encoding: [0x9d,0xd0,0x10,0x1d]
! CHECK: tpos %xcc, 82 ! encoding: [0x9d,0xd0,0x30,0x52]
! CHECK: tpos %xcc, %g1 + %i2 ! encoding: [0x9d,0xd0,0x50,0x1a]
! CHECK: tpos %xcc, %i5 + 41 ! encoding: [0x9d,0xd7,0x70,0x29]
tpos %xcc, %i5
tpos %xcc, 82
tpos %xcc, %g1 + %i2
tpos %xcc, %i5 + 41
! CHECK: tneg %xcc, %i5 ! encoding: [0x8d,0xd0,0x10,0x1d]
! CHECK: tneg %xcc, 82 ! encoding: [0x8d,0xd0,0x30,0x52]
! CHECK: tneg %xcc, %g1 + %i2 ! encoding: [0x8d,0xd0,0x50,0x1a]
! CHECK: tneg %xcc, %i5 + 41 ! encoding: [0x8d,0xd7,0x70,0x29]
tneg %xcc, %i5
tneg %xcc, 82
tneg %xcc, %g1 + %i2
tneg %xcc, %i5 + 41
! CHECK: tvc %xcc, %i5 ! encoding: [0x9f,0xd0,0x10,0x1d]
! CHECK: tvc %xcc, 82 ! encoding: [0x9f,0xd0,0x30,0x52]
! CHECK: tvc %xcc, %g1 + %i2 ! encoding: [0x9f,0xd0,0x50,0x1a]
! CHECK: tvc %xcc, %i5 + 41 ! encoding: [0x9f,0xd7,0x70,0x29]
tvc %xcc, %i5
tvc %xcc, 82
tvc %xcc, %g1 + %i2
tvc %xcc, %i5 + 41
! CHECK: tvs %xcc, %i5 ! encoding: [0x8f,0xd0,0x10,0x1d]
! CHECK: tvs %xcc, 82 ! encoding: [0x8f,0xd0,0x30,0x52]
! CHECK: tvs %xcc, %g1 + %i2 ! encoding: [0x8f,0xd0,0x50,0x1a]
! CHECK: tvs %xcc, %i5 + 41 ! encoding: [0x8f,0xd7,0x70,0x29]
tvs %xcc, %i5
tvs %xcc, 82
tvs %xcc, %g1 + %i2
tvs %xcc, %i5 + 41