• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1! RUN: llvm-mc %s -arch=sparc   -show-encoding | FileCheck %s
2! RUN: llvm-mc %s -arch=sparcv9 -show-encoding | FileCheck %s
3
4        ! CHECK: call foo     ! encoding: [0b01AAAAAA,A,A,A]
5        ! CHECK:              !   fixup A - offset: 0, value: foo, kind: fixup_sparc_call30
6        call foo
7
8        ! CHECK: call %g1+%i2 ! encoding: [0x9f,0xc0,0x40,0x1a]
9        call %g1 + %i2
10
11        ! CHECK: call %o1+8   ! encoding: [0x9f,0xc2,0x60,0x08]
12        call %o1 + 8
13
14        ! CHECK: call %g1     ! encoding: [0x9f,0xc0,0x40,0x00]
15        call %g1
16
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)
20
21        ! CHECK: jmp %g1+%i2  ! encoding: [0x81,0xc0,0x40,0x1a]
22        jmp %g1 + %i2
23
24        ! CHECK: jmp %o1+8    ! encoding: [0x81,0xc2,0x60,0x08]
25        jmp %o1 + 8
26
27        ! CHECK: jmp %g1      ! encoding: [0x81,0xc0,0x40,0x00]
28        jmp %g1
29
30        ! CHECK: jmp %g1+%lo(sym)   ! encoding: [0x81,0xc0,0b011000AA,A]
31        ! CHECK-NEXT:                ! fixup A - offset: 0, value: %lo(sym), kind: fixup_sparc_lo10
32        jmp %g1+%lo(sym)
33
34        ! CHECK: jmpl %g1+%i2, %g2  ! encoding: [0x85,0xc0,0x40,0x1a]
35        jmpl %g1 + %i2, %g2
36
37        ! CHECK: jmpl %o1+8, %g2    ! encoding: [0x85,0xc2,0x60,0x08]
38        jmpl %o1 + 8, %g2
39
40        ! CHECK: jmpl %g1, %g2      ! encoding: [0x85,0xc0,0x40,0x00]
41        jmpl %g1, %g2
42
43        ! CHECK: jmpl %g1+%lo(sym), %g2   ! encoding: [0x85,0xc0,0b011000AA,A]
44        ! CHECK-NEXT:                     ! fixup A - offset: 0, value: %lo(sym), kind: fixup_sparc_lo10
45        jmpl %g1+%lo(sym), %g2
46
47        ! CHECK: ba .BB0      ! encoding: [0x10,0b10AAAAAA,A,A]
48        ! CHECK-NEXT:         ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
49        ba .BB0
50
51        ! CHECK: bne .BB0     ! encoding: [0x12,0b10AAAAAA,A,A]
52        ! CHECK-NEXT:         ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
53        bne .BB0
54
55        ! CHECK: bne .BB0     ! encoding: [0x12,0b10AAAAAA,A,A]
56        ! CHECK-NEXT:         ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
57        bnz .BB0
58
59        ! CHECK: be .BB0      ! encoding: [0x02,0b10AAAAAA,A,A]
60        ! CHECK-NEXT:         ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
61        be .BB0
62
63        ! CHECK: be .BB0      ! encoding: [0x02,0b10AAAAAA,A,A]
64        ! CHECK-NEXT:         ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
65        bz .BB0
66
67        ! CHECK: be .BB0      ! encoding: [0x02,0b10AAAAAA,A,A]
68        ! CHECK-NEXT:         ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
69        beq .BB0
70
71        ! CHECK: bg .BB0      ! encoding: [0x14,0b10AAAAAA,A,A]
72        ! CHECK-NEXT:         ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
73        bg .BB0
74
75        ! CHECK: ble .BB0      ! encoding: [0x04,0b10AAAAAA,A,A]
76        ! CHECK-NEXT:         ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
77        ble .BB0
78
79        ! CHECK: bge .BB0      ! encoding: [0x16,0b10AAAAAA,A,A]
80        ! CHECK-NEXT:         ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
81        bge .BB0
82
83        ! CHECK: bl .BB0      ! encoding: [0x06,0b10AAAAAA,A,A]
84        ! CHECK-NEXT:         ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
85        bl .BB0
86
87        ! CHECK: bgu .BB0      ! encoding: [0x18,0b10AAAAAA,A,A]
88        ! CHECK-NEXT:         ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
89        bgu .BB0
90
91        ! CHECK: bleu .BB0      ! encoding: [0x08,0b10AAAAAA,A,A]
92        ! CHECK-NEXT:         ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
93        bleu .BB0
94
95        ! CHECK: bcc .BB0      ! encoding: [0x1a,0b10AAAAAA,A,A]
96        ! CHECK-NEXT:         ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
97        bcc .BB0
98
99        ! CHECK: bcc .BB0      ! encoding: [0x1a,0b10AAAAAA,A,A]
100        ! CHECK-NEXT:         ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
101        bgeu .BB0
102
103        ! CHECK: bcs .BB0      ! encoding: [0x0a,0b10AAAAAA,A,A]
104        ! CHECK-NEXT:         ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
105        bcs .BB0
106
107        ! CHECK: bcs .BB0      ! encoding: [0x0a,0b10AAAAAA,A,A]
108        ! CHECK-NEXT:         ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
109        blu .BB0
110
111        ! CHECK: bpos .BB0      ! encoding: [0x1c,0b10AAAAAA,A,A]
112        ! CHECK-NEXT:         ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
113        bpos .BB0
114
115        ! CHECK: bneg .BB0      ! encoding: [0x0c,0b10AAAAAA,A,A]
116        ! CHECK-NEXT:         ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
117        bneg .BB0
118
119        ! CHECK: bvc .BB0      ! encoding: [0x1e,0b10AAAAAA,A,A]
120        ! CHECK-NEXT:         ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
121        bvc .BB0
122
123        ! CHECK: bvs .BB0      ! encoding: [0x0e,0b10AAAAAA,A,A]
124        ! CHECK-NEXT:         ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
125        bvs .BB0
126
127        ! CHECK:             fba .BB0                        ! encoding: [0x11,0b10AAAAAA,A,A]
128        ! CHECK-NEXT:                                        !   fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
129        fba .BB0
130
131        ! CHECK:             fba .BB0                        ! encoding: [0x11,0b10AAAAAA,A,A]
132        ! CHECK-NEXT:                                        !   fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
133        fb .BB0
134
135        ! CHECK:             fbn .BB0                        ! encoding: [0x01,0b10AAAAAA,A,A]
136        ! CHECK-NEXT:                                        !   fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
137        fbn .BB0
138
139        ! CHECK:             fbu .BB0                        ! encoding: [0x0f,0b10AAAAAA,A,A]
140        ! CHECK-NEXT:                                        !   fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
141        fbu .BB0
142
143        ! CHECK:             fbg .BB0                        ! encoding: [0x0d,0b10AAAAAA,A,A]
144        ! CHECK-NEXT:                                        !   fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
145        fbg .BB0
146
147        ! CHECK:             fbug .BB0                       ! encoding: [0x0b,0b10AAAAAA,A,A]
148        ! CHECK-NEXT:                                        !   fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
149        fbug .BB0
150
151        ! CHECK:             fbl .BB0                        ! encoding: [0x09,0b10AAAAAA,A,A]
152        ! CHECK-NEXT:                                        !   fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
153        fbl .BB0
154
155        ! CHECK:             fbul .BB0                       ! encoding: [0x07,0b10AAAAAA,A,A]
156        ! CHECK-NEXT:                                        !   fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
157        fbul .BB0
158
159        ! CHECK:             fblg .BB0                       ! encoding: [0x05,0b10AAAAAA,A,A]
160        ! CHECK-NEXT:                                        !   fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
161        fblg .BB0
162
163        ! CHECK:             fbne .BB0                       ! encoding: [0x03,0b10AAAAAA,A,A]
164        ! CHECK-NEXT:                                        !   fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
165        fbne .BB0
166
167        ! CHECK:             fbne .BB0                       ! encoding: [0x03,0b10AAAAAA,A,A]
168        ! CHECK-NEXT:                                        !   fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
169        fbnz .BB0
170
171        ! CHECK:             fbe .BB0                        ! encoding: [0x13,0b10AAAAAA,A,A]
172        ! CHECK-NEXT:                                        !   fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
173        fbe .BB0
174
175        ! CHECK:             fbe .BB0                        ! encoding: [0x13,0b10AAAAAA,A,A]
176        ! CHECK-NEXT:                                        !   fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
177        fbz .BB0
178
179        ! CHECK:             fbue .BB0                       ! encoding: [0x15,0b10AAAAAA,A,A]
180        ! CHECK-NEXT:                                        !   fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
181        fbue .BB0
182
183        ! CHECK:             fbge .BB0                       ! encoding: [0x17,0b10AAAAAA,A,A]
184        ! CHECK-NEXT:                                        !   fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
185        fbge .BB0
186
187        ! CHECK:             fbuge .BB0                      ! encoding: [0x19,0b10AAAAAA,A,A]
188        ! CHECK-NEXT:                                        !   fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
189        fbuge .BB0
190
191        ! CHECK:             fble .BB0                       ! encoding: [0x1b,0b10AAAAAA,A,A]
192        ! CHECK-NEXT:                                        !   fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
193        fble .BB0
194
195        ! CHECK:             fbule .BB0                      ! encoding: [0x1d,0b10AAAAAA,A,A]
196        ! CHECK-NEXT:                                        !   fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
197        fbule .BB0
198
199        ! CHECK:             fbo .BB0                        ! encoding: [0x1f,0b10AAAAAA,A,A]
200        ! CHECK-NEXT:                                        !   fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
201        fbo .BB0
202
203        ! CHECK:             cba .BB0                        ! encoding: [0x11,0b11AAAAAA,A,A]
204        ! CHECK-NEXT:                                        !   fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
205        cb .BB0
206
207        ! CHECK:             cba .BB0                        ! encoding: [0x11,0b11AAAAAA,A,A]
208        ! CHECK-NEXT:                                        !   fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
209        cba .BB0
210
211        ! CHECK:             cbn .BB0                        ! encoding: [0x01,0b11AAAAAA,A,A]
212        ! CHECK-NEXT:                                        !   fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
213        cbn .BB0
214
215        ! CHECK:             cb3 .BB0                        ! encoding: [0x0f,0b11AAAAAA,A,A]
216        ! CHECK-NEXT:                                        !   fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
217        cb3 .BB0
218
219        ! CHECK:             cb2 .BB0                        ! encoding: [0x0d,0b11AAAAAA,A,A]
220        ! CHECK-NEXT:                                        !   fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
221        cb2 .BB0
222
223        ! CHECK:             cb23 .BB0                       ! encoding: [0x0b,0b11AAAAAA,A,A]
224        ! CHECK-NEXT:                                        !   fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
225        cb23 .BB0
226
227        ! CHECK:             cb1 .BB0                        ! encoding: [0x09,0b11AAAAAA,A,A]
228        ! CHECK-NEXT:                                        !   fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
229        cb1 .BB0
230
231        ! CHECK:             cb13 .BB0                       ! encoding: [0x07,0b11AAAAAA,A,A]
232        ! CHECK-NEXT:                                        !   fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
233        cb13 .BB0
234
235        ! CHECK:             cb12 .BB0                       ! encoding: [0x05,0b11AAAAAA,A,A]
236        ! CHECK-NEXT:                                        !   fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
237        cb12 .BB0
238
239        ! CHECK:             cb123 .BB0                      ! encoding: [0x03,0b11AAAAAA,A,A]
240        ! CHECK-NEXT:                                        !   fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
241        cb123 .BB0
242
243        ! CHECK:             cb0 .BB0                        ! encoding: [0x13,0b11AAAAAA,A,A]
244        ! CHECK-NEXT:                                        !   fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
245        cb0 .BB0
246
247        ! CHECK:             cb03 .BB0                       ! encoding: [0x15,0b11AAAAAA,A,A]
248        ! CHECK-NEXT:                                        !   fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
249        cb03 .BB0
250
251        ! CHECK:             cb02 .BB0                       ! encoding: [0x17,0b11AAAAAA,A,A]
252        ! CHECK-NEXT:                                        !   fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
253        cb02 .BB0
254
255        ! CHECK:             cb023 .BB0                      ! encoding: [0x19,0b11AAAAAA,A,A]
256        ! CHECK-NEXT:                                        !   fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
257        cb023 .BB0
258
259        ! CHECK:             cb01 .BB0                       ! encoding: [0x1b,0b11AAAAAA,A,A]
260        ! CHECK-NEXT:                                        !   fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
261        cb01 .BB0
262
263        ! CHECK:             cb013 .BB0                      ! encoding: [0x1d,0b11AAAAAA,A,A]
264        ! CHECK-NEXT:                                        !   fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
265        cb013 .BB0
266
267        ! CHECK:             cb012 .BB0                      ! encoding: [0x1f,0b11AAAAAA,A,A]
268        ! CHECK-NEXT:                                        !   fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
269        cb012 .BB0
270
271        ! CHECK: ba,a .BB0    ! encoding: [0x30,0b10AAAAAA,A,A]
272        ! CHECK-NEXT:         ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
273        ba,a .BB0
274
275        ! CHECK: bne,a .BB0   ! encoding: [0x32,0b10AAAAAA,A,A]
276        ! CHECK-NEXT:         ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
277        bne,a .BB0
278
279        ! CHECK: be,a .BB0    ! encoding: [0x22,0b10AAAAAA,A,A]
280        ! CHECK-NEXT:         ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
281        be,a .BB0
282
283        ! CHECK: bg,a .BB0    ! encoding: [0x34,0b10AAAAAA,A,A]
284        ! CHECK-NEXT:         ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
285        bg,a .BB0
286
287        ! CHECK: ble,a .BB0   ! encoding: [0x24,0b10AAAAAA,A,A]
288        ! CHECK-NEXT:         ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
289        ble,a .BB0
290
291        ! CHECK: bge,a .BB0   ! encoding: [0x36,0b10AAAAAA,A,A]
292        ! CHECK-NEXT:         ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
293        bge,a .BB0
294
295        ! CHECK: bl,a .BB0    ! encoding: [0x26,0b10AAAAAA,A,A]
296        ! CHECK-NEXT:         ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
297        bl,a .BB0
298
299        ! CHECK: bgu,a .BB0   ! encoding: [0x38,0b10AAAAAA,A,A]
300        ! CHECK-NEXT:         ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
301        bgu,a .BB0
302
303        ! CHECK: bleu,a .BB0  ! encoding: [0x28,0b10AAAAAA,A,A]
304        ! CHECK-NEXT:         ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
305        bleu,a .BB0
306
307        ! CHECK: bcc,a .BB0   ! encoding: [0x3a,0b10AAAAAA,A,A]
308        ! CHECK-NEXT:         ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
309        bcc,a .BB0
310
311        ! CHECK: bcs,a .BB0   ! encoding: [0x2a,0b10AAAAAA,A,A]
312        ! CHECK-NEXT:         ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
313        bcs,a .BB0
314
315        ! CHECK: bpos,a .BB0  ! encoding: [0x3c,0b10AAAAAA,A,A]
316        ! CHECK-NEXT:         ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
317        bpos,a .BB0
318
319        ! CHECK: bneg,a .BB0  ! encoding: [0x2c,0b10AAAAAA,A,A]
320        ! CHECK-NEXT:         ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
321        bneg,a .BB0
322
323        ! CHECK: bvc,a .BB0   ! encoding: [0x3e,0b10AAAAAA,A,A]
324        ! CHECK-NEXT:         ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
325        bvc,a .BB0
326
327        ! CHECK: bvs,a .BB0   ! encoding: [0x2e,0b10AAAAAA,A,A]
328        ! CHECK-NEXT:         ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
329        bvs,a .BB0
330
331        ! CHECK:             fbu,a .BB0                      ! encoding: [0x2f,0b10AAAAAA,A,A]
332        ! CHECK-NEXT:                                        !   fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
333        fbu,a .BB0
334
335        ! CHECK:             fbg,a .BB0                      ! encoding: [0x2d,0b10AAAAAA,A,A]
336        ! CHECK-NEXT:                                        !   fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
337        fbg,a .BB0
338        ! CHECK:             fbug,a .BB0                     ! encoding: [0x2b,0b10AAAAAA,A,A]
339        ! CHECK-NEXT:                                        !   fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
340        fbug,a .BB0
341
342        ! CHECK:             fbl,a .BB0                      ! encoding: [0x29,0b10AAAAAA,A,A]
343        ! CHECK-NEXT:                                        !   fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
344        fbl,a .BB0
345
346        ! CHECK:             fbul,a .BB0                     ! encoding: [0x27,0b10AAAAAA,A,A]
347        ! CHECK-NEXT:                                        !   fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
348        fbul,a .BB0
349
350        ! CHECK:             fblg,a .BB0                     ! encoding: [0x25,0b10AAAAAA,A,A]
351        ! CHECK-NEXT:                                        !   fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
352        fblg,a .BB0
353
354        ! CHECK:             fbne,a .BB0                     ! encoding: [0x23,0b10AAAAAA,A,A]
355        ! CHECK-NEXT:                                        !   fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
356        fbne,a .BB0
357
358        ! CHECK:             fbe,a .BB0                      ! encoding: [0x33,0b10AAAAAA,A,A]
359        ! CHECK-NEXT:                                        !   fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
360        fbe,a .BB0
361
362        ! CHECK:             fbue,a .BB0                     ! encoding: [0x35,0b10AAAAAA,A,A]
363        ! CHECK-NEXT:                                        !   fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
364        fbue,a .BB0
365
366        ! CHECK:             fbge,a .BB0                     ! encoding: [0x37,0b10AAAAAA,A,A]
367        ! CHECK-NEXT:                                        !   fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
368        fbge,a .BB0
369
370        ! CHECK:             fbuge,a .BB0                    ! encoding: [0x39,0b10AAAAAA,A,A]
371        ! CHECK-NEXT:                                        !   fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
372        fbuge,a .BB0
373
374        ! CHECK:             fble,a .BB0                     ! encoding: [0x3b,0b10AAAAAA,A,A]
375        ! CHECK-NEXT:                                        !   fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
376        fble,a .BB0
377
378        ! CHECK:             fbule,a .BB0                    ! encoding: [0x3d,0b10AAAAAA,A,A]
379        ! CHECK-NEXT:                                        !   fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
380        fbule,a .BB0
381
382        ! CHECK:             fbo,a .BB0                      ! encoding: [0x3f,0b10AAAAAA,A,A]
383        ! CHECK-NEXT:                                        !   fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
384        fbo,a .BB0
385
386        ! CHECK:  rett %i7+8   ! encoding: [0x81,0xcf,0xe0,0x08]
387        rett %i7 + 8
388
389        ! CHECK:             cb3,a .BB0                      ! encoding: [0x2f,0b11AAAAAA,A,A]
390        ! CHECK-NEXT:                                        !   fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
391        cb3,a .BB0
392
393        ! CHECK:             cb2,a .BB0                      ! encoding: [0x2d,0b11AAAAAA,A,A]
394        ! CHECK-NEXT:                                        !   fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
395        cb2,a .BB0
396
397        ! CHECK:             cb23,a .BB0                     ! encoding: [0x2b,0b11AAAAAA,A,A]
398        ! CHECK-NEXT:                                        !   fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
399        cb23,a .BB0
400
401        ! CHECK:             cb1,a .BB0                      ! encoding: [0x29,0b11AAAAAA,A,A]
402        ! CHECK-NEXT:                                        !   fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
403        cb1,a .BB0
404
405        ! CHECK:             cb13,a .BB0                     ! encoding: [0x27,0b11AAAAAA,A,A]
406        ! CHECK-NEXT:                                        !   fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
407        cb13,a .BB0
408
409        ! CHECK:             cb12,a .BB0                     ! encoding: [0x25,0b11AAAAAA,A,A]
410        ! CHECK-NEXT:                                        !   fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
411        cb12,a .BB0
412
413        ! CHECK:             cb123,a .BB0                    ! encoding: [0x23,0b11AAAAAA,A,A]
414        ! CHECK-NEXT:                                        !   fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
415        cb123,a .BB0
416
417        ! CHECK:             cb0,a .BB0                      ! encoding: [0x33,0b11AAAAAA,A,A]
418        ! CHECK-NEXT:                                        !   fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
419        cb0,a .BB0
420
421        ! CHECK:             cb03,a .BB0                     ! encoding: [0x35,0b11AAAAAA,A,A]
422        ! CHECK-NEXT:                                        !   fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
423        cb03,a .BB0
424
425        ! CHECK:             cb02,a .BB0                     ! encoding: [0x37,0b11AAAAAA,A,A]
426        ! CHECK-NEXT:                                        !   fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
427        cb02,a .BB0
428
429        ! CHECK:             cb023,a .BB0                    ! encoding: [0x39,0b11AAAAAA,A,A]
430        ! CHECK-NEXT:                                        !   fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
431        cb023,a .BB0
432
433        ! CHECK:             cb01,a .BB0                     ! encoding: [0x3b,0b11AAAAAA,A,A]
434        ! CHECK-NEXT:                                        !   fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
435        cb01,a .BB0
436
437        ! CHECK:             cb013,a .BB0                    ! encoding: [0x3d,0b11AAAAAA,A,A]
438        ! CHECK-NEXT:                                        !   fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
439        cb013,a .BB0
440
441        ! CHECK:             cb012,a .BB0                    ! encoding: [0x3f,0b11AAAAAA,A,A]
442        ! CHECK-NEXT:                                        !   fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
443        cb012,a .BB0
444
445        ! CHECK:             cb3,a .BB0                      ! encoding: [0x2f,0b11AAAAAA,A,A]
446        ! CHECK-NEXT:                                        !   fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
447        cb3,a .BB0
448
449        ! CHECK:             cb2,a .BB0                      ! encoding: [0x2d,0b11AAAAAA,A,A]
450        ! CHECK-NEXT:                                        !   fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
451        cb2,a .BB0
452
453        ! CHECK:             cb23,a .BB0                     ! encoding: [0x2b,0b11AAAAAA,A,A]
454        ! CHECK-NEXT:                                        !   fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
455        cb23,a .BB0
456
457        ! CHECK:             cb1,a .BB0                      ! encoding: [0x29,0b11AAAAAA,A,A]
458        ! CHECK-NEXT:                                        !   fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
459        cb1,a .BB0
460
461        ! CHECK:             cb13,a .BB0                     ! encoding: [0x27,0b11AAAAAA,A,A]
462        ! CHECK-NEXT:                                        !   fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
463        cb13,a .BB0
464
465        ! CHECK:             cb12,a .BB0                     ! encoding: [0x25,0b11AAAAAA,A,A]
466        ! CHECK-NEXT:                                        !   fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
467        cb12,a .BB0
468
469        ! CHECK:             cb123,a .BB0                    ! encoding: [0x23,0b11AAAAAA,A,A]
470        ! CHECK-NEXT:                                        !   fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
471        cb123,a .BB0
472
473        ! CHECK:             cb0,a .BB0                      ! encoding: [0x33,0b11AAAAAA,A,A]
474        ! CHECK-NEXT:                                        !   fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
475        cb0,a .BB0
476
477        ! CHECK:             cb03,a .BB0                     ! encoding: [0x35,0b11AAAAAA,A,A]
478        ! CHECK-NEXT:                                        !   fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
479        cb03,a .BB0
480
481        ! CHECK:             cb02,a .BB0                     ! encoding: [0x37,0b11AAAAAA,A,A]
482        ! CHECK-NEXT:                                        !   fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
483        cb02,a .BB0
484
485        ! CHECK:             cb023,a .BB0                    ! encoding: [0x39,0b11AAAAAA,A,A]
486        ! CHECK-NEXT:                                        !   fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
487        cb023,a .BB0
488
489        ! CHECK:             cb01,a .BB0                     ! encoding: [0x3b,0b11AAAAAA,A,A]
490        ! CHECK-NEXT:                                        !   fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
491        cb01,a .BB0
492
493        ! CHECK:             cb013,a .BB0                    ! encoding: [0x3d,0b11AAAAAA,A,A]
494        ! CHECK-NEXT:                                        !   fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
495        cb013,a .BB0
496
497        ! CHECK:             cb012,a .BB0                    ! encoding: [0x3f,0b11AAAAAA,A,A]
498        ! CHECK-NEXT:                                        !   fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
499        cb012,a .BB0
500
501        ! CHECK:  rett %i7+8                                 ! encoding: [0x81,0xcf,0xe0,0x08]
502        rett %i7 + 8
503
504