1 # RUN: llvm-mc --disassemble %s -triple=sparc-unknown-linux | FileCheck %s
3 # CHECK: add %g0, %g0, %g0
6 # CHECK: add %g1, %g2, %g3
9 # CHECK: add %o0, %o1, %l0
12 # CHECK: add %o0, 10, %l0
15 # CHECK: addcc %g1, %g2, %g3
18 # CHECK: addxcc %g1, %g2, %g3
21 # CHECK: udiv %g1, %g2, %g3
24 # CHECK: sdiv %g1, %g2, %g3
27 # CHECK: and %g1, %g2, %g3
30 # CHECK: andn %g1, %g2, %g3
33 # CHECK: or %g1, %g2, %g3
36 # CHECK: orn %g1, %g2, %g3
39 # CHECK: xor %g1, %g2, %g3
42 # CHECK: xnor %g1, %g2, %g3
45 # CHECK: umul %g1, %g2, %g3
48 # CHECK: smul %g1, %g2, %g3
54 # CHECK: sethi 10, %l0
57 # CHECK: sll %g1, %g2, %g3
60 # CHECK: sll %g1, 31, %g3
63 # CHECK: srl %g1, %g2, %g3
66 # CHECK: srl %g1, 31, %g3
69 # CHECK: sra %g1, %g2, %g3
72 # CHECK: sra %g1, 31, %g3
75 # CHECK: sub %g1, %g2, %g3
78 # CHECK: subcc %g1, %g2, %g3
81 # CHECK: subxcc %g1, %g2, %g3
108 # CHECK: bleu 4194303
117 # CHECK: bpos 4194303
120 # CHECK: bneg 4194303
135 # CHECK: fbug 4194303
141 # CHECK: fbul 4194303
144 # CHECK: fblg 4194303
147 # CHECK: fbne 4194303
153 # CHECK: fbue 4194303
156 # CHECK: fbge 4194303
159 # CHECK: fbuge 4194303
162 # CHECK: fble 4194303
165 # CHECK: fbule 4194303
183 # CHECK: cb23 4194303
189 # CHECK: cb13 4194303
192 # CHECK: cb12 4194303
195 # CHECK: cb123 4194303
198 # CHECK: cb03 4194303
201 # CHECK: cb02 4194303
204 # CHECK: cb023 4194303
207 # CHECK: cb01 4194303
210 # CHECK: cb013 4194303
213 # CHECK: cb012 4194303
222 # CHECK: add %g1, -10, %g2
225 # CHECK: save %sp, -196, %sp
255 # CHECK: ta %g1 + %i2
267 # CHECK: te %g1 + %i2
279 # CHECK: tl %g1 + %i2
282 # CHECK: tgu %i5 + 41
291 # CHECK: tcs %g1 + %i2
294 # CHECK: tpos %i5 + 41
303 # CHECK: tvs %g1 + %i2