• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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:      ldsb [%g1], %o4
130xd8 0x48 0x40 0x00
14
15# CHECK:      ldsh [%i0+%l6], %o2
160xd4 0x56 0x00 0x16
17
18# CHECK:      ldsh [%i0+32], %o2
190xd4 0x56 0x20 0x20
20
21# CHECK:      ldsh [%g1], %o4
220xd8 0x50 0x60 0x00
23
24# CHECK:      ldsh [%g1], %o4
250xd8 0x50 0x40 0x00
26
27# CHECK:      ldub [%i0+%l6], %o2
280xd4 0x0e 0x00 0x16
29
30# CHECK:      ldub [%i0+32], %o2
310xd4 0x0e 0x20 0x20
32
33# CHECK:      ldub [%g1], %o2
340xd4 0x08 0x60 0x00
35
36# CHECK:      ldub [%g1], %o2
370xd4 0x08 0x40 0x00
38
39# CHECK:      lduh [%i0+%l6], %o2
400xd4 0x16 0x00 0x16
41
42# CHECK:      lduh [%i0+32], %o2
430xd4 0x16 0x20 0x20
44
45# CHECK:      lduh [%g1], %o2
460xd4 0x10 0x60 0x00
47
48# CHECK:      lduh [%g1], %o2
490xd4 0x10 0x40 0x00
50
51# CHECK:      ld [%i0+%l6], %o2
520xd4 0x06 0x00 0x16
53
54# CHECK:      ld [%i0+32], %o2
550xd4 0x06 0x20 0x20
56
57# CHECK:      ld [%g1], %o2
580xd4 0x00 0x60 0x00
59
60# CHECK:      ld [%g1], %o2
610xd4 0x00 0x40 0x00
62
63# CHECK:     ld [%i0+%l6], %f2
640xc5 0x06 0x00 0x16
65
66# CHECK:     ld [%i0+32], %f2
670xc5 0x06 0x20 0x20
68
69# CHECK:     ld [%g1], %f2
700xc5 0x00 0x60 0x00
71
72# CHECK:     ld [%g1], %f2
730xc5 0x00 0x40 0x00
74
75# CHECK:     ldd [%i0+%l6], %f2
760xc5 0x1e 0x00 0x16
77
78# CHECK:     ldd [%i0+32], %f2
790xc5 0x1e 0x20 0x20
80
81# CHECK:     ldd [%g1], %f2
820xc5 0x18 0x60 0x00
83
84# CHECK:     ldd [%g1], %f2
850xc5 0x18 0x40 0x00
86
87# CHECK:     ldq [%i0+%l6], %f4
880xc9 0x16 0x00 0x16
89
90# CHECK:     ldq [%i0+32], %f4
910xc9 0x16 0x20 0x20
92
93# CHECK:     ldq [%g1], %f4
940xc9 0x10 0x60 0x00
95
96# CHECK:     ldq [%g1], %f4
970xc9 0x10 0x40 0x00
98
99# CHECK:     ldx [%i0+%l6], %o2
1000xd4 0x5e 0x00 0x16
101
102# CHECK:     ldx [%i0+32], %o2
1030xd4 0x5e 0x20 0x20
104
105# CHECK:     ldx [%g1], %o2
1060xd4 0x58 0x60 0x00
107
108# CHECK:     ldx [%g1], %o2
1090xd4 0x58 0x40 0x00
110
111# CHECK:     ldsw [%i0+%l6], %o2
1120xd4 0x46 0x00 0x16
113
114# CHECK:     ldsw [%i0+32], %o2
1150xd4 0x46 0x20 0x20
116
117# CHECK:     ldsw [%g1], %o2
1180xd4 0x40 0x60 0x00
119
120# CHECK:     ldsw [%g1], %o2
1210xd4 0x40 0x40 0x00
122
123# CHECK:      stb %o2, [%i0+%l6]
1240xd4 0x2e 0x00 0x16
125
126# CHECK:      stb %o2, [%i0+32]
1270xd4 0x2e 0x20 0x20
128
129# CHECK:      stb %o2, [%g1]
1300xd4 0x28 0x60 0x00
131
132# CHECK:      stb %o2, [%g1]
1330xd4 0x28 0x40 0x00
134
135# CHECK:      sth %o2, [%i0+%l6]
1360xd4 0x36 0x00 0x16
137
138# CHECK:      sth %o2, [%i0+32]
1390xd4 0x36 0x20 0x20
140
141# CHECK:      sth %o2, [%g1]
1420xd4 0x30 0x60 0x00
143
144# CHECK:      sth %o2, [%g1]
1450xd4 0x30 0x40 0x00
146
147# CHECK:      st %o2, [%i0+%l6]
1480xd4 0x26 0x00 0x16
149
150# CHECK:      st %o2, [%i0+32]
1510xd4 0x26 0x20 0x20
152
153# CHECK:      st %o2, [%g1]
1540xd4 0x20 0x60 0x00
155
156# CHECK:      st %o2, [%g1]
1570xd4 0x20 0x40 0x00
158
159# CHECK:      st %f2, [%i0+%l6]
1600xc5 0x26 0x00 0x16
161
162# CHECK:      st %f2, [%i0+32]
1630xc5 0x26 0x20 0x20
164
165# CHECK:      st %f2, [%g1]
1660xc5 0x20 0x60 0x00
167
168# CHECK:      st %f2, [%g1]
1690xc5 0x20 0x40 0x00
170
171# CHECK:      std %f2, [%i0+%l6]
1720xc5 0x3e 0x00 0x16
173
174# CHECK:      std %f2, [%i0+32]
1750xc5 0x3e 0x20 0x20
176
177# CHECK:      std %f2, [%g1]
1780xc5 0x38 0x60 0x00
179
180# CHECK:      std %f2, [%g1]
1810xc5 0x38 0x40 0x00
182
183# CHECK:      stq %f4, [%i0+%l6]
1840xc9 0x36 0x00 0x16
185
186# CHECK:      stq %f4, [%i0+32]
1870xc9 0x36 0x20 0x20
188
189# CHECK:      stq %f4, [%g1]
1900xc9 0x30 0x60 0x00
191
192# CHECK:      stq %f4, [%g1]
1930xc9 0x30 0x40 0x00
194
195# CHECK:      stx %o2, [%i0+%l6]
1960xd4 0x76 0x00 0x16
197
198# CHECK:      stx %o2, [%i0+32]
1990xd4 0x76 0x20 0x20
200
201# CHECK:      stx %o2, [%g1]
2020xd4 0x70 0x60 0x00
203
204# CHECK:      stx %o2, [%g1]
2050xd4 0x70 0x40 0x00
206
207# CHECK:     swap [%i0+%l6], %o2
2080xd4 0x7e 0x00 0x16
209
210# CHECK:     swap [%i0+32], %o2
2110xd4 0x7e 0x20 0x20
212
213# CHECK:     swap [%g1], %o2
2140xd4 0x78 0x60 0x00
215
216# CHECK:     swap [%g1], %o2
2170xd4 0x78 0x40 0x00
218
219# CHECK:     swapa [%i0+%l6] 131, %o2
2200xd4 0xfe 0x10 0x76
221
222# CHECK:     swapa [%g1] 131, %o2
2230xd4 0xf8 0x50 0x60
224
225# CHECK:     ldd [%i0+%l6], %o2
2260xd4 0x1e 0x00 0x16
227
228# CHECK:     ldd [%i0+32], %o2
2290xd4 0x1e 0x20 0x20
230
231# CHECK:     ldd [%g1], %o2
2320xd4 0x18 0x60 0x00
233
234# CHECK:     ldd [%g1], %o2
2350xd4 0x18 0x40 0x00
236
237# CHECK:     std %o2, [%i0+%l6]
2380xd4 0x3e 0x00 0x16
239
240# CHECK:     std %o2, [%i0+32]
2410xd4 0x3e 0x20 0x20
242
243# CHECK:     std %o2, [%g1]
2440xd4 0x38 0x60 0x00
245
246# CHECK:     std %o2, [%g1]
2470xd4 0x38 0x40 0x00
248