1# RUN: llvm-mc --disassemble %s -triple=sparcv9-unknown-linux | FileCheck %s
2
3# CHECK:      ldsb [%i0+%l6], %o2
40xd4 0x4e 0x00 0x16
5
6# CHECK:      ldsb [%i0+32], %o2
70xd4 0x4e 0x20 0x20
8
9# CHECK:      ldsb [%g1], %o4
100xd8 0x48 0x60 0x00
11
12# CHECK:      ldsh [%i0+%l6], %o2
130xd4 0x56 0x00 0x16
14
15# CHECK:      ldsh [%i0+32], %o2
160xd4 0x56 0x20 0x20
17
18# CHECK:      ldsh [%g1], %o4
190xd8 0x50 0x60 0x00
20
21# CHECK:      ldub [%i0+%l6], %o2
220xd4 0x0e 0x00 0x16
23
24# CHECK:      ldub [%i0+32], %o2
250xd4 0x0e 0x20 0x20
26
27# CHECK:      ldub [%g1], %o2
280xd4 0x08 0x60 0x00
29
30# CHECK:      lduh [%i0+%l6], %o2
310xd4 0x16 0x00 0x16
32
33# CHECK:      lduh [%i0+32], %o2
340xd4 0x16 0x20 0x20
35
36# CHECK:      lduh [%g1], %o2
370xd4 0x10 0x60 0x00
38
39# CHECK:      ld [%i0+%l6], %o2
400xd4 0x06 0x00 0x16
41
42# CHECK:      ld [%i0+32], %o2
430xd4 0x06 0x20 0x20
44
45# CHECK:      ld [%g1], %o2
460xd4 0x00 0x60 0x00
47
48# CHECK:     ld [%i0+%l6], %f2
490xc5 0x06 0x00 0x16
50
51# CHECK:     ld [%i0+32], %f2
520xc5 0x06 0x20 0x20
53
54# CHECK:     ld [%g1], %f2
550xc5 0x00 0x60 0x00
56
57# CHECK:     ldd [%i0+%l6], %f2
580xc5 0x1e 0x00 0x16
59
60# CHECK:     ldd [%i0+32], %f2
610xc5 0x1e 0x20 0x20
62
63# CHECK:     ldd [%g1], %f2
640xc5 0x18 0x60 0x00
65
66# CHECK:     ldq [%i0+%l6], %f4
670xc9 0x16 0x00 0x16
68
69# CHECK:     ldq [%i0+32], %f4
700xc9 0x16 0x20 0x20
71
72# CHECK:     ldq [%g1], %f4
730xc9 0x10 0x60 0x00
74
75# CHECK:     ldx [%i0+%l6], %o2
760xd4 0x5e 0x00 0x16
77
78# CHECK:     ldx [%i0+32], %o2
790xd4 0x5e 0x20 0x20
80
81# CHECK:     ldx [%g1], %o2
820xd4 0x58 0x60 0x00
83
84# CHECK:     ldsw [%i0+%l6], %o2
850xd4 0x46 0x00 0x16
86
87# CHECK:     ldsw [%i0+32], %o2
880xd4 0x46 0x20 0x20
89
90# CHECK:     ldsw [%g1], %o2
910xd4 0x40 0x60 0x00
92
93# CHECK:      stb %o2, [%i0+%l6]
940xd4 0x2e 0x00 0x16
95
96# CHECK:      stb %o2, [%i0+32]
970xd4 0x2e 0x20 0x20
98
99# CHECK:      stb %o2, [%g1]
1000xd4 0x28 0x60 0x00
101
102# CHECK:      sth %o2, [%i0+%l6]
1030xd4 0x36 0x00 0x16
104
105# CHECK:      sth %o2, [%i0+32]
1060xd4 0x36 0x20 0x20
107
108# CHECK:      sth %o2, [%g1]
1090xd4 0x30 0x60 0x00
110
111# CHECK:      st %o2, [%i0+%l6]
1120xd4 0x26 0x00 0x16
113
114# CHECK:      st %o2, [%i0+32]
1150xd4 0x26 0x20 0x20
116
117# CHECK:      st %o2, [%g1]
1180xd4 0x20 0x60 0x00
119
120# CHECK:      st %f2, [%i0+%l6]
1210xc5 0x26 0x00 0x16
122
123# CHECK:      st %f2, [%i0+32]
1240xc5 0x26 0x20 0x20
125
126# CHECK:      st %f2, [%g1]
1270xc5 0x20 0x60 0x00
128
129# CHECK:      std %f2, [%i0+%l6]
1300xc5 0x3e 0x00 0x16
131
132# CHECK:      std %f2, [%i0+32]
1330xc5 0x3e 0x20 0x20
134
135# CHECK:      std %f2, [%g1]
1360xc5 0x38 0x60 0x00
137
138# CHECK:      stq %f4, [%i0+%l6]
1390xc9 0x36 0x00 0x16
140
141# CHECK:      stq %f4, [%i0+32]
1420xc9 0x36 0x20 0x20
143
144# CHECK:      stq %f4, [%g1]
1450xc9 0x30 0x60 0x00
146
147# CHECK:      stx %o2, [%i0+%l6]
1480xd4 0x76 0x00 0x16
149
150# CHECK:      stx %o2, [%i0+32]
1510xd4 0x76 0x20 0x20
152
153# CHECK:      stx %o2, [%g1]
1540xd4 0x70 0x60 0x00
155
156# CHECK:     swap [%i0+%l6], %o2
1570xd4 0x7e 0x00 0x16
158
159# CHECK:     swap [%i0+32], %o2
1600xd4 0x7e 0x20 0x20
161
162# CHECK:     swap [%g1], %o2
1630xd4 0x78 0x60 0x00
164