[DAGCombiner] Add target hook function to decide folding (mul (add x, c1), c2)
[llvm-project.git] / llvm / test / MC / Sparc / sparc-ctrl-instructions.s
blob74356b40720d13b0e536eabcfdfc92a28b4c6746
1 ! RUN: llvm-mc %s -arch=sparc -show-encoding | FileCheck %s
2 ! RUN: llvm-mc %s -arch=sparcv9 -show-encoding | FileCheck %s
4 ! CHECK: call foo ! encoding: [0b01AAAAAA,A,A,A]
5 ! CHECK: ! fixup A - offset: 0, value: foo, kind: fixup_sparc_call30
6 call foo
8 ! CHECK: call %g1+%i2 ! encoding: [0x9f,0xc0,0x40,0x1a]
9 call %g1 + %i2
11 ! CHECK: call %o1+8 ! encoding: [0x9f,0xc2,0x60,0x08]
12 call %o1 + 8
14 ! CHECK: call %g1 ! encoding: [0x9f,0xc0,0x40,0x00]
15 call %g1
17 ! CHECK: call %g1+%lo(sym) ! encoding: [0x9f,0xc0,0b011000AA,A]
18 ! CHECK-NEXT: ! fixup A - offset: 0, value: %lo(sym), kind: fixup_sparc_lo10
19 call %g1+%lo(sym)
21 ! CHECK-LABEL: .Ltmp0:
22 ! CHECK: call .Ltmp0-4 ! encoding: [0b01AAAAAA,A,A,A]
23 call . - 4
25 ! CHECK: jmp %g1+%i2 ! encoding: [0x81,0xc0,0x40,0x1a]
26 jmp %g1 + %i2
28 ! CHECK: jmp %o1+8 ! encoding: [0x81,0xc2,0x60,0x08]
29 jmp %o1 + 8
31 ! CHECK: jmp %g1 ! encoding: [0x81,0xc0,0x40,0x00]
32 jmp %g1
34 ! CHECK: jmp %g1+%lo(sym) ! encoding: [0x81,0xc0,0b011000AA,A]
35 ! CHECK-NEXT: ! fixup A - offset: 0, value: %lo(sym), kind: fixup_sparc_lo10
36 jmp %g1+%lo(sym)
38 ! CHECK: jmp sym ! encoding: [0x81,0xc0,0b001AAAAA,A]
39 jmp sym
41 ! CHECK: jmpl %g1+%i2, %g2 ! encoding: [0x85,0xc0,0x40,0x1a]
42 jmpl %g1 + %i2, %g2
44 ! CHECK: jmpl %o1+8, %g2 ! encoding: [0x85,0xc2,0x60,0x08]
45 jmpl %o1 + 8, %g2
47 ! CHECK: jmpl %g1, %g2 ! encoding: [0x85,0xc0,0x40,0x00]
48 jmpl %g1, %g2
50 ! CHECK: jmpl %g1+%lo(sym), %g2 ! encoding: [0x85,0xc0,0b011000AA,A]
51 ! CHECK-NEXT: ! fixup A - offset: 0, value: %lo(sym), kind: fixup_sparc_lo10
52 jmpl %g1+%lo(sym), %g2
54 ! CHECK: ba .BB0 ! encoding: [0x10,0b10AAAAAA,A,A]
55 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
56 ba .BB0
58 ! CHECK: bne .BB0 ! encoding: [0x12,0b10AAAAAA,A,A]
59 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
60 bne .BB0
62 ! CHECK: bne .BB0 ! encoding: [0x12,0b10AAAAAA,A,A]
63 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
64 bnz .BB0
66 ! CHECK: be .BB0 ! encoding: [0x02,0b10AAAAAA,A,A]
67 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
68 be .BB0
70 ! CHECK: be .BB0 ! encoding: [0x02,0b10AAAAAA,A,A]
71 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
72 bz .BB0
74 ! CHECK: be .BB0 ! encoding: [0x02,0b10AAAAAA,A,A]
75 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
76 beq .BB0
78 ! CHECK: bg .BB0 ! encoding: [0x14,0b10AAAAAA,A,A]
79 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
80 bg .BB0
82 ! CHECK: ble .BB0 ! encoding: [0x04,0b10AAAAAA,A,A]
83 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
84 ble .BB0
86 ! CHECK: bge .BB0 ! encoding: [0x16,0b10AAAAAA,A,A]
87 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
88 bge .BB0
90 ! CHECK: bl .BB0 ! encoding: [0x06,0b10AAAAAA,A,A]
91 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
92 bl .BB0
94 ! CHECK: bgu .BB0 ! encoding: [0x18,0b10AAAAAA,A,A]
95 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
96 bgu .BB0
98 ! CHECK: bleu .BB0 ! encoding: [0x08,0b10AAAAAA,A,A]
99 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
100 bleu .BB0
102 ! CHECK: bcc .BB0 ! encoding: [0x1a,0b10AAAAAA,A,A]
103 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
104 bcc .BB0
106 ! CHECK: bcc .BB0 ! encoding: [0x1a,0b10AAAAAA,A,A]
107 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
108 bgeu .BB0
110 ! CHECK: bcs .BB0 ! encoding: [0x0a,0b10AAAAAA,A,A]
111 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
112 bcs .BB0
114 ! CHECK: bcs .BB0 ! encoding: [0x0a,0b10AAAAAA,A,A]
115 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
116 blu .BB0
118 ! CHECK: bpos .BB0 ! encoding: [0x1c,0b10AAAAAA,A,A]
119 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
120 bpos .BB0
122 ! CHECK: bneg .BB0 ! encoding: [0x0c,0b10AAAAAA,A,A]
123 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
124 bneg .BB0
126 ! CHECK: bvc .BB0 ! encoding: [0x1e,0b10AAAAAA,A,A]
127 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
128 bvc .BB0
130 ! CHECK: bvs .BB0 ! encoding: [0x0e,0b10AAAAAA,A,A]
131 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
132 bvs .BB0
134 ! CHECK: fba .BB0 ! encoding: [0x11,0b10AAAAAA,A,A]
135 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
136 fba .BB0
138 ! CHECK: fba .BB0 ! encoding: [0x11,0b10AAAAAA,A,A]
139 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
140 fb .BB0
142 ! CHECK: fbn .BB0 ! encoding: [0x01,0b10AAAAAA,A,A]
143 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
144 fbn .BB0
146 ! CHECK: fbu .BB0 ! encoding: [0x0f,0b10AAAAAA,A,A]
147 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
148 fbu .BB0
150 ! CHECK: fbg .BB0 ! encoding: [0x0d,0b10AAAAAA,A,A]
151 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
152 fbg .BB0
154 ! CHECK: fbug .BB0 ! encoding: [0x0b,0b10AAAAAA,A,A]
155 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
156 fbug .BB0
158 ! CHECK: fbl .BB0 ! encoding: [0x09,0b10AAAAAA,A,A]
159 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
160 fbl .BB0
162 ! CHECK: fbul .BB0 ! encoding: [0x07,0b10AAAAAA,A,A]
163 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
164 fbul .BB0
166 ! CHECK: fblg .BB0 ! encoding: [0x05,0b10AAAAAA,A,A]
167 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
168 fblg .BB0
170 ! CHECK: fbne .BB0 ! encoding: [0x03,0b10AAAAAA,A,A]
171 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
172 fbne .BB0
174 ! CHECK: fbne .BB0 ! encoding: [0x03,0b10AAAAAA,A,A]
175 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
176 fbnz .BB0
178 ! CHECK: fbe .BB0 ! encoding: [0x13,0b10AAAAAA,A,A]
179 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
180 fbe .BB0
182 ! CHECK: fbe .BB0 ! encoding: [0x13,0b10AAAAAA,A,A]
183 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
184 fbz .BB0
186 ! CHECK: fbue .BB0 ! encoding: [0x15,0b10AAAAAA,A,A]
187 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
188 fbue .BB0
190 ! CHECK: fbge .BB0 ! encoding: [0x17,0b10AAAAAA,A,A]
191 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
192 fbge .BB0
194 ! CHECK: fbuge .BB0 ! encoding: [0x19,0b10AAAAAA,A,A]
195 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
196 fbuge .BB0
198 ! CHECK: fble .BB0 ! encoding: [0x1b,0b10AAAAAA,A,A]
199 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
200 fble .BB0
202 ! CHECK: fbule .BB0 ! encoding: [0x1d,0b10AAAAAA,A,A]
203 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
204 fbule .BB0
206 ! CHECK: fbo .BB0 ! encoding: [0x1f,0b10AAAAAA,A,A]
207 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
208 fbo .BB0
210 ! CHECK: cba .BB0 ! encoding: [0x11,0b11AAAAAA,A,A]
211 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
212 cb .BB0
214 ! CHECK: cba .BB0 ! encoding: [0x11,0b11AAAAAA,A,A]
215 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
216 cba .BB0
218 ! CHECK: cbn .BB0 ! encoding: [0x01,0b11AAAAAA,A,A]
219 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
220 cbn .BB0
222 ! CHECK: cb3 .BB0 ! encoding: [0x0f,0b11AAAAAA,A,A]
223 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
224 cb3 .BB0
226 ! CHECK: cb2 .BB0 ! encoding: [0x0d,0b11AAAAAA,A,A]
227 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
228 cb2 .BB0
230 ! CHECK: cb23 .BB0 ! encoding: [0x0b,0b11AAAAAA,A,A]
231 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
232 cb23 .BB0
234 ! CHECK: cb1 .BB0 ! encoding: [0x09,0b11AAAAAA,A,A]
235 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
236 cb1 .BB0
238 ! CHECK: cb13 .BB0 ! encoding: [0x07,0b11AAAAAA,A,A]
239 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
240 cb13 .BB0
242 ! CHECK: cb12 .BB0 ! encoding: [0x05,0b11AAAAAA,A,A]
243 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
244 cb12 .BB0
246 ! CHECK: cb123 .BB0 ! encoding: [0x03,0b11AAAAAA,A,A]
247 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
248 cb123 .BB0
250 ! CHECK: cb0 .BB0 ! encoding: [0x13,0b11AAAAAA,A,A]
251 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
252 cb0 .BB0
254 ! CHECK: cb03 .BB0 ! encoding: [0x15,0b11AAAAAA,A,A]
255 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
256 cb03 .BB0
258 ! CHECK: cb02 .BB0 ! encoding: [0x17,0b11AAAAAA,A,A]
259 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
260 cb02 .BB0
262 ! CHECK: cb023 .BB0 ! encoding: [0x19,0b11AAAAAA,A,A]
263 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
264 cb023 .BB0
266 ! CHECK: cb01 .BB0 ! encoding: [0x1b,0b11AAAAAA,A,A]
267 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
268 cb01 .BB0
270 ! CHECK: cb013 .BB0 ! encoding: [0x1d,0b11AAAAAA,A,A]
271 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
272 cb013 .BB0
274 ! CHECK: cb012 .BB0 ! encoding: [0x1f,0b11AAAAAA,A,A]
275 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
276 cb012 .BB0
278 ! CHECK: ba,a .BB0 ! encoding: [0x30,0b10AAAAAA,A,A]
279 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
280 ba,a .BB0
282 ! CHECK: bne,a .BB0 ! encoding: [0x32,0b10AAAAAA,A,A]
283 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
284 bne,a .BB0
286 ! CHECK: be,a .BB0 ! encoding: [0x22,0b10AAAAAA,A,A]
287 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
288 be,a .BB0
290 ! CHECK: bg,a .BB0 ! encoding: [0x34,0b10AAAAAA,A,A]
291 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
292 bg,a .BB0
294 ! CHECK: ble,a .BB0 ! encoding: [0x24,0b10AAAAAA,A,A]
295 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
296 ble,a .BB0
298 ! CHECK: bge,a .BB0 ! encoding: [0x36,0b10AAAAAA,A,A]
299 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
300 bge,a .BB0
302 ! CHECK: bl,a .BB0 ! encoding: [0x26,0b10AAAAAA,A,A]
303 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
304 bl,a .BB0
306 ! CHECK: bgu,a .BB0 ! encoding: [0x38,0b10AAAAAA,A,A]
307 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
308 bgu,a .BB0
310 ! CHECK: bleu,a .BB0 ! encoding: [0x28,0b10AAAAAA,A,A]
311 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
312 bleu,a .BB0
314 ! CHECK: bcc,a .BB0 ! encoding: [0x3a,0b10AAAAAA,A,A]
315 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
316 bcc,a .BB0
318 ! CHECK: bcs,a .BB0 ! encoding: [0x2a,0b10AAAAAA,A,A]
319 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
320 bcs,a .BB0
322 ! CHECK: bpos,a .BB0 ! encoding: [0x3c,0b10AAAAAA,A,A]
323 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
324 bpos,a .BB0
326 ! CHECK: bneg,a .BB0 ! encoding: [0x2c,0b10AAAAAA,A,A]
327 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
328 bneg,a .BB0
330 ! CHECK: bvc,a .BB0 ! encoding: [0x3e,0b10AAAAAA,A,A]
331 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
332 bvc,a .BB0
334 ! CHECK: bvs,a .BB0 ! encoding: [0x2e,0b10AAAAAA,A,A]
335 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
336 bvs,a .BB0
338 ! CHECK: fbu,a .BB0 ! encoding: [0x2f,0b10AAAAAA,A,A]
339 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
340 fbu,a .BB0
342 ! CHECK: fbg,a .BB0 ! encoding: [0x2d,0b10AAAAAA,A,A]
343 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
344 fbg,a .BB0
345 ! CHECK: fbug,a .BB0 ! encoding: [0x2b,0b10AAAAAA,A,A]
346 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
347 fbug,a .BB0
349 ! CHECK: fbl,a .BB0 ! encoding: [0x29,0b10AAAAAA,A,A]
350 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
351 fbl,a .BB0
353 ! CHECK: fbul,a .BB0 ! encoding: [0x27,0b10AAAAAA,A,A]
354 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
355 fbul,a .BB0
357 ! CHECK: fblg,a .BB0 ! encoding: [0x25,0b10AAAAAA,A,A]
358 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
359 fblg,a .BB0
361 ! CHECK: fbne,a .BB0 ! encoding: [0x23,0b10AAAAAA,A,A]
362 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
363 fbne,a .BB0
365 ! CHECK: fbe,a .BB0 ! encoding: [0x33,0b10AAAAAA,A,A]
366 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
367 fbe,a .BB0
369 ! CHECK: fbue,a .BB0 ! encoding: [0x35,0b10AAAAAA,A,A]
370 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
371 fbue,a .BB0
373 ! CHECK: fbge,a .BB0 ! encoding: [0x37,0b10AAAAAA,A,A]
374 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
375 fbge,a .BB0
377 ! CHECK: fbuge,a .BB0 ! encoding: [0x39,0b10AAAAAA,A,A]
378 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
379 fbuge,a .BB0
381 ! CHECK: fble,a .BB0 ! encoding: [0x3b,0b10AAAAAA,A,A]
382 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
383 fble,a .BB0
385 ! CHECK: fbule,a .BB0 ! encoding: [0x3d,0b10AAAAAA,A,A]
386 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
387 fbule,a .BB0
389 ! CHECK: fbo,a .BB0 ! encoding: [0x3f,0b10AAAAAA,A,A]
390 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
391 fbo,a .BB0
393 ! CHECK: rett %i7+8 ! encoding: [0x81,0xcf,0xe0,0x08]
394 rett %i7 + 8
396 ! CHECK: cb3,a .BB0 ! encoding: [0x2f,0b11AAAAAA,A,A]
397 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
398 cb3,a .BB0
400 ! CHECK: cb2,a .BB0 ! encoding: [0x2d,0b11AAAAAA,A,A]
401 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
402 cb2,a .BB0
404 ! CHECK: cb23,a .BB0 ! encoding: [0x2b,0b11AAAAAA,A,A]
405 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
406 cb23,a .BB0
408 ! CHECK: cb1,a .BB0 ! encoding: [0x29,0b11AAAAAA,A,A]
409 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
410 cb1,a .BB0
412 ! CHECK: cb13,a .BB0 ! encoding: [0x27,0b11AAAAAA,A,A]
413 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
414 cb13,a .BB0
416 ! CHECK: cb12,a .BB0 ! encoding: [0x25,0b11AAAAAA,A,A]
417 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
418 cb12,a .BB0
420 ! CHECK: cb123,a .BB0 ! encoding: [0x23,0b11AAAAAA,A,A]
421 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
422 cb123,a .BB0
424 ! CHECK: cb0,a .BB0 ! encoding: [0x33,0b11AAAAAA,A,A]
425 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
426 cb0,a .BB0
428 ! CHECK: cb03,a .BB0 ! encoding: [0x35,0b11AAAAAA,A,A]
429 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
430 cb03,a .BB0
432 ! CHECK: cb02,a .BB0 ! encoding: [0x37,0b11AAAAAA,A,A]
433 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
434 cb02,a .BB0
436 ! CHECK: cb023,a .BB0 ! encoding: [0x39,0b11AAAAAA,A,A]
437 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
438 cb023,a .BB0
440 ! CHECK: cb01,a .BB0 ! encoding: [0x3b,0b11AAAAAA,A,A]
441 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
442 cb01,a .BB0
444 ! CHECK: cb013,a .BB0 ! encoding: [0x3d,0b11AAAAAA,A,A]
445 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
446 cb013,a .BB0
448 ! CHECK: cb012,a .BB0 ! encoding: [0x3f,0b11AAAAAA,A,A]
449 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
450 cb012,a .BB0
452 ! CHECK: cb3,a .BB0 ! encoding: [0x2f,0b11AAAAAA,A,A]
453 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
454 cb3,a .BB0
456 ! CHECK: cb2,a .BB0 ! encoding: [0x2d,0b11AAAAAA,A,A]
457 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
458 cb2,a .BB0
460 ! CHECK: cb23,a .BB0 ! encoding: [0x2b,0b11AAAAAA,A,A]
461 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
462 cb23,a .BB0
464 ! CHECK: cb1,a .BB0 ! encoding: [0x29,0b11AAAAAA,A,A]
465 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
466 cb1,a .BB0
468 ! CHECK: cb13,a .BB0 ! encoding: [0x27,0b11AAAAAA,A,A]
469 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
470 cb13,a .BB0
472 ! CHECK: cb12,a .BB0 ! encoding: [0x25,0b11AAAAAA,A,A]
473 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
474 cb12,a .BB0
476 ! CHECK: cb123,a .BB0 ! encoding: [0x23,0b11AAAAAA,A,A]
477 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
478 cb123,a .BB0
480 ! CHECK: cb0,a .BB0 ! encoding: [0x33,0b11AAAAAA,A,A]
481 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
482 cb0,a .BB0
484 ! CHECK: cb03,a .BB0 ! encoding: [0x35,0b11AAAAAA,A,A]
485 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
486 cb03,a .BB0
488 ! CHECK: cb02,a .BB0 ! encoding: [0x37,0b11AAAAAA,A,A]
489 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
490 cb02,a .BB0
492 ! CHECK: cb023,a .BB0 ! encoding: [0x39,0b11AAAAAA,A,A]
493 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
494 cb023,a .BB0
496 ! CHECK: cb01,a .BB0 ! encoding: [0x3b,0b11AAAAAA,A,A]
497 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
498 cb01,a .BB0
500 ! CHECK: cb013,a .BB0 ! encoding: [0x3d,0b11AAAAAA,A,A]
501 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
502 cb013,a .BB0
504 ! CHECK: cb012,a .BB0 ! encoding: [0x3f,0b11AAAAAA,A,A]
505 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
506 cb012,a .BB0
508 ! CHECK: rett %i7+8 ! encoding: [0x81,0xcf,0xe0,0x08]
509 rett %i7 + 8