1 // RUN
: llvm-mc
-arch
=amdgcn
-mcpu
=bonaire
-show-encoding
%s | FileCheck
%s
3 s_load_dword s5
, s
[2:3], s2
4 // CHECK
: [0x02,0x82,0x02,0xc0]
6 s_load_dword s103
, s
[2:3], s2
7 // CHECK
: [0x02,0x82,0x33,0xc0]
9 s_load_dword flat_scratch_lo
, s
[2:3], s2
10 // CHECK
: [0x02,0x02,0x34,0xc0]
12 s_load_dword flat_scratch_hi
, s
[2:3], s2
13 // CHECK
: [0x02,0x82,0x34,0xc0]
15 s_load_dword vcc_lo
, s
[2:3], s2
16 // CHECK
: [0x02,0x02,0x35,0xc0]
18 s_load_dword vcc_hi
, s
[2:3], s2
19 // CHECK
: [0x02,0x82,0x35,0xc0]
21 s_load_dword tba_lo
, s
[2:3], s2
22 // CHECK
: [0x02,0x02,0x36,0xc0]
24 s_load_dword tba_hi
, s
[2:3], s2
25 // CHECK
: [0x02,0x82,0x36,0xc0]
27 s_load_dword tma_lo
, s
[2:3], s2
28 // CHECK
: [0x02,0x02,0x37,0xc0]
30 s_load_dword tma_hi
, s
[2:3], s2
31 // CHECK
: [0x02,0x82,0x37,0xc0]
33 s_load_dword ttmp11
, s
[2:3], s2
34 // CHECK
: [0x02,0x82,0x3d,0xc0]
36 s_load_dword s5
, s
[4:5], s2
37 // CHECK
: [0x02,0x84,0x02,0xc0]
39 s_load_dword s5
, s
[102:103], s2
40 // CHECK
: [0x02,0xe6,0x02,0xc0]
42 s_load_dword s5
, flat_scratch
, s2
43 // CHECK
: [0x02,0xe8,0x02,0xc0]
45 s_load_dword s5
, vcc
, s2
46 // CHECK
: [0x02,0xea,0x02,0xc0]
48 s_load_dword s5
, tba
, s2
49 // CHECK
: [0x02,0xec,0x02,0xc0]
51 s_load_dword s5
, tma
, s2
52 // CHECK
: [0x02,0xee,0x02,0xc0]
54 s_load_dword s5
, ttmp
[10:11], s2
55 // CHECK
: [0x02,0xfa,0x02,0xc0]
57 s_load_dword s5
, s
[2:3], s103
58 // CHECK
: [0x67,0x82,0x02,0xc0]
60 s_load_dword s5
, s
[2:3], flat_scratch_lo
61 // CHECK
: [0x68,0x82,0x02,0xc0]
63 s_load_dword s5
, s
[2:3], flat_scratch_hi
64 // CHECK
: [0x69,0x82,0x02,0xc0]
66 s_load_dword s5
, s
[2:3], vcc_lo
67 // CHECK
: [0x6a,0x82,0x02,0xc0]
69 s_load_dword s5
, s
[2:3], vcc_hi
70 // CHECK
: [0x6b,0x82,0x02,0xc0]
72 s_load_dword s5
, s
[2:3], tba_lo
73 // CHECK
: [0x6c,0x82,0x02,0xc0]
75 s_load_dword s5
, s
[2:3], tba_hi
76 // CHECK
: [0x6d,0x82,0x02,0xc0]
78 s_load_dword s5
, s
[2:3], tma_lo
79 // CHECK
: [0x6e,0x82,0x02,0xc0]
81 s_load_dword s5
, s
[2:3], tma_hi
82 // CHECK
: [0x6f,0x82,0x02,0xc0]
84 s_load_dword s5
, s
[2:3], ttmp11
85 // CHECK
: [0x7b,0x82,0x02,0xc0]
87 s_load_dword s5
, s
[2:3], 0xaf123456
88 // CHECK
: [0xff,0x82,0x02,0xc0,0x56,0x34,0x12,0xaf]
90 s_load_dword s5
, s
[2:3], 0x3f717273
91 // CHECK
: [0xff,0x82,0x02,0xc0,0x73,0x72,0x71,0x3f]
93 s_load_dword s5
, s
[2:3], 0x7f
94 // CHECK
: [0x7f,0x83,0x02,0xc0]
96 s_load_dwordx2 s
[10:11], s
[2:3], s2
97 // CHECK
: [0x02,0x02,0x45,0xc0]
99 s_load_dwordx2 s
[12:13], s
[2:3], s2
100 // CHECK
: [0x02,0x02,0x46,0xc0]
102 s_load_dwordx2 s
[102:103], s
[2:3], s2
103 // CHECK
: [0x02,0x02,0x73,0xc0]
105 s_load_dwordx2 flat_scratch
, s
[2:3], s2
106 // CHECK
: [0x02,0x02,0x74,0xc0]
108 s_load_dwordx2 vcc
, s
[2:3], s2
109 // CHECK
: [0x02,0x02,0x75,0xc0]
111 s_load_dwordx2 tba
, s
[2:3], s2
112 // CHECK
: [0x02,0x02,0x76,0xc0]
114 s_load_dwordx2 tma
, s
[2:3], s2
115 // CHECK
: [0x02,0x02,0x77,0xc0]
117 s_load_dwordx2 ttmp
[10:11], s
[2:3], s2
118 // CHECK
: [0x02,0x02,0x7d,0xc0]
120 s_load_dwordx2 s
[10:11], s
[4:5], s2
121 // CHECK
: [0x02,0x04,0x45,0xc0]
123 s_load_dwordx2 s
[10:11], s
[102:103], s2
124 // CHECK
: [0x02,0x66,0x45,0xc0]
126 s_load_dwordx2 s
[10:11], flat_scratch
, s2
127 // CHECK
: [0x02,0x68,0x45,0xc0]
129 s_load_dwordx2 s
[10:11], vcc
, s2
130 // CHECK
: [0x02,0x6a,0x45,0xc0]
132 s_load_dwordx2 s
[10:11], tba
, s2
133 // CHECK
: [0x02,0x6c,0x45,0xc0]
135 s_load_dwordx2 s
[10:11], tma
, s2
136 // CHECK
: [0x02,0x6e,0x45,0xc0]
138 s_load_dwordx2 s
[10:11], ttmp
[10:11], s2
139 // CHECK
: [0x02,0x7a,0x45,0xc0]
141 s_load_dwordx2 s
[10:11], s
[2:3], s103
142 // CHECK
: [0x67,0x02,0x45,0xc0]
144 s_load_dwordx2 s
[10:11], s
[2:3], flat_scratch_lo
145 // CHECK
: [0x68,0x02,0x45,0xc0]
147 s_load_dwordx2 s
[10:11], s
[2:3], flat_scratch_hi
148 // CHECK
: [0x69,0x02,0x45,0xc0]
150 s_load_dwordx2 s
[10:11], s
[2:3], vcc_lo
151 // CHECK
: [0x6a,0x02,0x45,0xc0]
153 s_load_dwordx2 s
[10:11], s
[2:3], vcc_hi
154 // CHECK
: [0x6b,0x02,0x45,0xc0]
156 s_load_dwordx2 s
[10:11], s
[2:3], tba_lo
157 // CHECK
: [0x6c,0x02,0x45,0xc0]
159 s_load_dwordx2 s
[10:11], s
[2:3], tba_hi
160 // CHECK
: [0x6d,0x02,0x45,0xc0]
162 s_load_dwordx2 s
[10:11], s
[2:3], tma_lo
163 // CHECK
: [0x6e,0x02,0x45,0xc0]
165 s_load_dwordx2 s
[10:11], s
[2:3], tma_hi
166 // CHECK
: [0x6f,0x02,0x45,0xc0]
168 s_load_dwordx2 s
[10:11], s
[2:3], ttmp11
169 // CHECK
: [0x7b,0x02,0x45,0xc0]
171 s_load_dwordx2 s
[10:11], s
[2:3], 0xaf123456
172 // CHECK
: [0xff,0x02,0x45,0xc0,0x56,0x34,0x12,0xaf]
174 s_load_dwordx2 s
[10:11], s
[2:3], 0x3f717273
175 // CHECK
: [0xff,0x02,0x45,0xc0,0x73,0x72,0x71,0x3f]
177 s_load_dwordx2 s
[10:11], s
[2:3], 0x7f
178 // CHECK
: [0x7f,0x03,0x45,0xc0]
180 s_load_dwordx4 s
[20:23], s
[2:3], s2
181 // CHECK
: [0x02,0x02,0x8a,0xc0]
183 s_load_dwordx4 s
[24:27], s
[2:3], s2
184 // CHECK
: [0x02,0x02,0x8c,0xc0]
186 s_load_dwordx4 s
[100:103], s
[2:3], s2
187 // CHECK
: [0x02,0x02,0xb2,0xc0]
189 s_load_dwordx4 ttmp
[8:11], s
[2:3], s2
190 // CHECK
: [0x02,0x02,0xbc,0xc0]
192 s_load_dwordx4 s
[20:23], s
[4:5], s2
193 // CHECK
: [0x02,0x04,0x8a,0xc0]
195 s_load_dwordx4 s
[20:23], s
[102:103], s2
196 // CHECK
: [0x02,0x66,0x8a,0xc0]
198 s_load_dwordx4 s
[20:23], flat_scratch
, s2
199 // CHECK
: [0x02,0x68,0x8a,0xc0]
201 s_load_dwordx4 s
[20:23], vcc
, s2
202 // CHECK
: [0x02,0x6a,0x8a,0xc0]
204 s_load_dwordx4 s
[20:23], tba
, s2
205 // CHECK
: [0x02,0x6c,0x8a,0xc0]
207 s_load_dwordx4 s
[20:23], tma
, s2
208 // CHECK
: [0x02,0x6e,0x8a,0xc0]
210 s_load_dwordx4 s
[20:23], ttmp
[10:11], s2
211 // CHECK
: [0x02,0x7a,0x8a,0xc0]
213 s_load_dwordx4 s
[20:23], s
[2:3], s103
214 // CHECK
: [0x67,0x02,0x8a,0xc0]
216 s_load_dwordx4 s
[20:23], s
[2:3], flat_scratch_lo
217 // CHECK
: [0x68,0x02,0x8a,0xc0]
219 s_load_dwordx4 s
[20:23], s
[2:3], flat_scratch_hi
220 // CHECK
: [0x69,0x02,0x8a,0xc0]
222 s_load_dwordx4 s
[20:23], s
[2:3], vcc_lo
223 // CHECK
: [0x6a,0x02,0x8a,0xc0]
225 s_load_dwordx4 s
[20:23], s
[2:3], vcc_hi
226 // CHECK
: [0x6b,0x02,0x8a,0xc0]
228 s_load_dwordx4 s
[20:23], s
[2:3], tba_lo
229 // CHECK
: [0x6c,0x02,0x8a,0xc0]
231 s_load_dwordx4 s
[20:23], s
[2:3], tba_hi
232 // CHECK
: [0x6d,0x02,0x8a,0xc0]
234 s_load_dwordx4 s
[20:23], s
[2:3], tma_lo
235 // CHECK
: [0x6e,0x02,0x8a,0xc0]
237 s_load_dwordx4 s
[20:23], s
[2:3], tma_hi
238 // CHECK
: [0x6f,0x02,0x8a,0xc0]
240 s_load_dwordx4 s
[20:23], s
[2:3], ttmp11
241 // CHECK
: [0x7b,0x02,0x8a,0xc0]
243 s_load_dwordx4 s
[20:23], s
[2:3], 0xaf123456
244 // CHECK
: [0xff,0x02,0x8a,0xc0,0x56,0x34,0x12,0xaf]
246 s_load_dwordx4 s
[20:23], s
[2:3], 0x3f717273
247 // CHECK
: [0xff,0x02,0x8a,0xc0,0x73,0x72,0x71,0x3f]
249 s_load_dwordx4 s
[20:23], s
[2:3], 0x7f
250 // CHECK
: [0x7f,0x03,0x8a,0xc0]
252 s_load_dwordx8 s
[20:27], s
[2:3], s2
253 // CHECK
: [0x02,0x02,0xca,0xc0]
255 s_load_dwordx8 s
[24:31], s
[2:3], s2
256 // CHECK
: [0x02,0x02,0xcc,0xc0]
258 s_load_dwordx8 s
[96:103], s
[2:3], s2
259 // CHECK
: [0x02,0x02,0xf0,0xc0]
261 s_load_dwordx8 ttmp
[4:11], s
[2:3], s2
262 // CHECK
: [0x02,0x02,0xfa,0xc0]
264 s_load_dwordx8 s
[20:27], s
[4:5], s2
265 // CHECK
: [0x02,0x04,0xca,0xc0]
267 s_load_dwordx8 s
[20:27], s
[102:103], s2
268 // CHECK
: [0x02,0x66,0xca,0xc0]
270 s_load_dwordx8 s
[20:27], flat_scratch
, s2
271 // CHECK
: [0x02,0x68,0xca,0xc0]
273 s_load_dwordx8 s
[20:27], vcc
, s2
274 // CHECK
: [0x02,0x6a,0xca,0xc0]
276 s_load_dwordx8 s
[20:27], tba
, s2
277 // CHECK
: [0x02,0x6c,0xca,0xc0]
279 s_load_dwordx8 s
[20:27], tma
, s2
280 // CHECK
: [0x02,0x6e,0xca,0xc0]
282 s_load_dwordx8 s
[20:27], ttmp
[10:11], s2
283 // CHECK
: [0x02,0x7a,0xca,0xc0]
285 s_load_dwordx8 s
[20:27], s
[2:3], s103
286 // CHECK
: [0x67,0x02,0xca,0xc0]
288 s_load_dwordx8 s
[20:27], s
[2:3], flat_scratch_lo
289 // CHECK
: [0x68,0x02,0xca,0xc0]
291 s_load_dwordx8 s
[20:27], s
[2:3], flat_scratch_hi
292 // CHECK
: [0x69,0x02,0xca,0xc0]
294 s_load_dwordx8 s
[20:27], s
[2:3], vcc_lo
295 // CHECK
: [0x6a,0x02,0xca,0xc0]
297 s_load_dwordx8 s
[20:27], s
[2:3], vcc_hi
298 // CHECK
: [0x6b,0x02,0xca,0xc0]
300 s_load_dwordx8 s
[20:27], s
[2:3], tba_lo
301 // CHECK
: [0x6c,0x02,0xca,0xc0]
303 s_load_dwordx8 s
[20:27], s
[2:3], tba_hi
304 // CHECK
: [0x6d,0x02,0xca,0xc0]
306 s_load_dwordx8 s
[20:27], s
[2:3], tma_lo
307 // CHECK
: [0x6e,0x02,0xca,0xc0]
309 s_load_dwordx8 s
[20:27], s
[2:3], tma_hi
310 // CHECK
: [0x6f,0x02,0xca,0xc0]
312 s_load_dwordx8 s
[20:27], s
[2:3], ttmp11
313 // CHECK
: [0x7b,0x02,0xca,0xc0]
315 s_load_dwordx8 s
[20:27], s
[2:3], 0xaf123456
316 // CHECK
: [0xff,0x02,0xca,0xc0,0x56,0x34,0x12,0xaf]
318 s_load_dwordx8 s
[20:27], s
[2:3], 0x3f717273
319 // CHECK
: [0xff,0x02,0xca,0xc0,0x73,0x72,0x71,0x3f]
321 s_load_dwordx8 s
[20:27], s
[2:3], 0x7f
322 // CHECK
: [0x7f,0x03,0xca,0xc0]
324 s_load_dwordx16 s
[20:35], s
[2:3], s2
325 // CHECK
: [0x02,0x02,0x0a,0xc1]
327 s_load_dwordx16 s
[24:39], s
[2:3], s2
328 // CHECK
: [0x02,0x02,0x0c,0xc1]
330 s_load_dwordx16 s
[88:103], s
[2:3], s2
331 // CHECK
: [0x02,0x02,0x2c,0xc1]
333 s_load_dwordx16 s
[20:35], s
[4:5], s2
334 // CHECK
: [0x02,0x04,0x0a,0xc1]
336 s_load_dwordx16 s
[20:35], s
[102:103], s2
337 // CHECK
: [0x02,0x66,0x0a,0xc1]
339 s_load_dwordx16 s
[20:35], flat_scratch
, s2
340 // CHECK
: [0x02,0x68,0x0a,0xc1]
342 s_load_dwordx16 s
[20:35], vcc
, s2
343 // CHECK
: [0x02,0x6a,0x0a,0xc1]
345 s_load_dwordx16 s
[20:35], tba
, s2
346 // CHECK
: [0x02,0x6c,0x0a,0xc1]
348 s_load_dwordx16 s
[20:35], tma
, s2
349 // CHECK
: [0x02,0x6e,0x0a,0xc1]
351 s_load_dwordx16 s
[20:35], ttmp
[10:11], s2
352 // CHECK
: [0x02,0x7a,0x0a,0xc1]
354 s_load_dwordx16 s
[20:35], s
[2:3], s103
355 // CHECK
: [0x67,0x02,0x0a,0xc1]
357 s_load_dwordx16 s
[20:35], s
[2:3], flat_scratch_lo
358 // CHECK
: [0x68,0x02,0x0a,0xc1]
360 s_load_dwordx16 s
[20:35], s
[2:3], flat_scratch_hi
361 // CHECK
: [0x69,0x02,0x0a,0xc1]
363 s_load_dwordx16 s
[20:35], s
[2:3], vcc_lo
364 // CHECK
: [0x6a,0x02,0x0a,0xc1]
366 s_load_dwordx16 s
[20:35], s
[2:3], vcc_hi
367 // CHECK
: [0x6b,0x02,0x0a,0xc1]
369 s_load_dwordx16 s
[20:35], s
[2:3], tba_lo
370 // CHECK
: [0x6c,0x02,0x0a,0xc1]
372 s_load_dwordx16 s
[20:35], s
[2:3], tba_hi
373 // CHECK
: [0x6d,0x02,0x0a,0xc1]
375 s_load_dwordx16 s
[20:35], s
[2:3], tma_lo
376 // CHECK
: [0x6e,0x02,0x0a,0xc1]
378 s_load_dwordx16 s
[20:35], s
[2:3], tma_hi
379 // CHECK
: [0x6f,0x02,0x0a,0xc1]
381 s_load_dwordx16 s
[20:35], s
[2:3], ttmp11
382 // CHECK
: [0x7b,0x02,0x0a,0xc1]
384 s_load_dwordx16 s
[20:35], s
[2:3], 0xaf123456
385 // CHECK
: [0xff,0x02,0x0a,0xc1,0x56,0x34,0x12,0xaf]
387 s_load_dwordx16 s
[20:35], s
[2:3], 0x3f717273
388 // CHECK
: [0xff,0x02,0x0a,0xc1,0x73,0x72,0x71,0x3f]
390 s_load_dwordx16 s
[20:35], s
[2:3], 0x7f
391 // CHECK
: [0x7f,0x03,0x0a,0xc1]
393 s_buffer_load_dword s5
, s
[4:7], s2
394 // CHECK
: [0x02,0x84,0x02,0xc2]
396 s_buffer_load_dword s103
, s
[4:7], s2
397 // CHECK
: [0x02,0x84,0x33,0xc2]
399 s_buffer_load_dword flat_scratch_lo
, s
[4:7], s2
400 // CHECK
: [0x02,0x04,0x34,0xc2]
402 s_buffer_load_dword flat_scratch_hi
, s
[4:7], s2
403 // CHECK
: [0x02,0x84,0x34,0xc2]
405 s_buffer_load_dword vcc_lo
, s
[4:7], s2
406 // CHECK
: [0x02,0x04,0x35,0xc2]
408 s_buffer_load_dword vcc_hi
, s
[4:7], s2
409 // CHECK
: [0x02,0x84,0x35,0xc2]
411 s_buffer_load_dword tba_lo
, s
[4:7], s2
412 // CHECK
: [0x02,0x04,0x36,0xc2]
414 s_buffer_load_dword tba_hi
, s
[4:7], s2
415 // CHECK
: [0x02,0x84,0x36,0xc2]
417 s_buffer_load_dword tma_lo
, s
[4:7], s2
418 // CHECK
: [0x02,0x04,0x37,0xc2]
420 s_buffer_load_dword tma_hi
, s
[4:7], s2
421 // CHECK
: [0x02,0x84,0x37,0xc2]
423 s_buffer_load_dword ttmp11
, s
[4:7], s2
424 // CHECK
: [0x02,0x84,0x3d,0xc2]
426 s_buffer_load_dword s5
, s
[8:11], s2
427 // CHECK
: [0x02,0x88,0x02,0xc2]
429 s_buffer_load_dword s5
, s
[100:103], s2
430 // CHECK
: [0x02,0xe4,0x02,0xc2]
432 s_buffer_load_dword s5
, ttmp
[8:11], s2
433 // CHECK
: [0x02,0xf8,0x02,0xc2]
435 s_buffer_load_dword s5
, s
[4:7], s103
436 // CHECK
: [0x67,0x84,0x02,0xc2]
438 s_buffer_load_dword s5
, s
[4:7], flat_scratch_lo
439 // CHECK
: [0x68,0x84,0x02,0xc2]
441 s_buffer_load_dword s5
, s
[4:7], flat_scratch_hi
442 // CHECK
: [0x69,0x84,0x02,0xc2]
444 s_buffer_load_dword s5
, s
[4:7], vcc_lo
445 // CHECK
: [0x6a,0x84,0x02,0xc2]
447 s_buffer_load_dword s5
, s
[4:7], vcc_hi
448 // CHECK
: [0x6b,0x84,0x02,0xc2]
450 s_buffer_load_dword s5
, s
[4:7], tba_lo
451 // CHECK
: [0x6c,0x84,0x02,0xc2]
453 s_buffer_load_dword s5
, s
[4:7], tba_hi
454 // CHECK
: [0x6d,0x84,0x02,0xc2]
456 s_buffer_load_dword s5
, s
[4:7], tma_lo
457 // CHECK
: [0x6e,0x84,0x02,0xc2]
459 s_buffer_load_dword s5
, s
[4:7], tma_hi
460 // CHECK
: [0x6f,0x84,0x02,0xc2]
462 s_buffer_load_dword s5
, s
[4:7], ttmp11
463 // CHECK
: [0x7b,0x84,0x02,0xc2]
465 s_buffer_load_dword s5
, s
[4:7], 0xaf123456
466 // CHECK
: [0xff,0x84,0x02,0xc2,0x56,0x34,0x12,0xaf]
468 s_buffer_load_dword s5
, s
[4:7], 0x3f717273
469 // CHECK
: [0xff,0x84,0x02,0xc2,0x73,0x72,0x71,0x3f]
471 s_buffer_load_dword s5
, s
[4:7], 0x7f
472 // CHECK
: [0x7f,0x85,0x02,0xc2]
474 s_buffer_load_dwordx2 s
[10:11], s
[4:7], s2
475 // CHECK
: [0x02,0x04,0x45,0xc2]
477 s_buffer_load_dwordx2 s
[12:13], s
[4:7], s2
478 // CHECK
: [0x02,0x04,0x46,0xc2]
480 s_buffer_load_dwordx2 s
[102:103], s
[4:7], s2
481 // CHECK
: [0x02,0x04,0x73,0xc2]
483 s_buffer_load_dwordx2 flat_scratch
, s
[4:7], s2
484 // CHECK
: [0x02,0x04,0x74,0xc2]
486 s_buffer_load_dwordx2 vcc
, s
[4:7], s2
487 // CHECK
: [0x02,0x04,0x75,0xc2]
489 s_buffer_load_dwordx2 tba
, s
[4:7], s2
490 // CHECK
: [0x02,0x04,0x76,0xc2]
492 s_buffer_load_dwordx2 tma
, s
[4:7], s2
493 // CHECK
: [0x02,0x04,0x77,0xc2]
495 s_buffer_load_dwordx2 ttmp
[10:11], s
[4:7], s2
496 // CHECK
: [0x02,0x04,0x7d,0xc2]
498 s_buffer_load_dwordx2 s
[10:11], s
[8:11], s2
499 // CHECK
: [0x02,0x08,0x45,0xc2]
501 s_buffer_load_dwordx2 s
[10:11], s
[100:103], s2
502 // CHECK
: [0x02,0x64,0x45,0xc2]
504 s_buffer_load_dwordx2 s
[10:11], ttmp
[8:11], s2
505 // CHECK
: [0x02,0x78,0x45,0xc2]
507 s_buffer_load_dwordx2 s
[10:11], s
[4:7], s103
508 // CHECK
: [0x67,0x04,0x45,0xc2]
510 s_buffer_load_dwordx2 s
[10:11], s
[4:7], flat_scratch_lo
511 // CHECK
: [0x68,0x04,0x45,0xc2]
513 s_buffer_load_dwordx2 s
[10:11], s
[4:7], flat_scratch_hi
514 // CHECK
: [0x69,0x04,0x45,0xc2]
516 s_buffer_load_dwordx2 s
[10:11], s
[4:7], vcc_lo
517 // CHECK
: [0x6a,0x04,0x45,0xc2]
519 s_buffer_load_dwordx2 s
[10:11], s
[4:7], vcc_hi
520 // CHECK
: [0x6b,0x04,0x45,0xc2]
522 s_buffer_load_dwordx2 s
[10:11], s
[4:7], tba_lo
523 // CHECK
: [0x6c,0x04,0x45,0xc2]
525 s_buffer_load_dwordx2 s
[10:11], s
[4:7], tba_hi
526 // CHECK
: [0x6d,0x04,0x45,0xc2]
528 s_buffer_load_dwordx2 s
[10:11], s
[4:7], tma_lo
529 // CHECK
: [0x6e,0x04,0x45,0xc2]
531 s_buffer_load_dwordx2 s
[10:11], s
[4:7], tma_hi
532 // CHECK
: [0x6f,0x04,0x45,0xc2]
534 s_buffer_load_dwordx2 s
[10:11], s
[4:7], ttmp11
535 // CHECK
: [0x7b,0x04,0x45,0xc2]
537 s_buffer_load_dwordx2 s
[10:11], s
[4:7], 0xaf123456
538 // CHECK
: [0xff,0x04,0x45,0xc2,0x56,0x34,0x12,0xaf]
540 s_buffer_load_dwordx2 s
[10:11], s
[4:7], 0x3f717273
541 // CHECK
: [0xff,0x04,0x45,0xc2,0x73,0x72,0x71,0x3f]
543 s_buffer_load_dwordx2 s
[10:11], s
[4:7], 0x7f
544 // CHECK
: [0x7f,0x05,0x45,0xc2]
546 s_buffer_load_dwordx4 s
[20:23], s
[4:7], s2
547 // CHECK
: [0x02,0x04,0x8a,0xc2]
549 s_buffer_load_dwordx4 s
[24:27], s
[4:7], s2
550 // CHECK
: [0x02,0x04,0x8c,0xc2]
552 s_buffer_load_dwordx4 s
[100:103], s
[4:7], s2
553 // CHECK
: [0x02,0x04,0xb2,0xc2]
555 s_buffer_load_dwordx4 ttmp
[8:11], s
[4:7], s2
556 // CHECK
: [0x02,0x04,0xbc,0xc2]
558 s_buffer_load_dwordx4 s
[20:23], s
[8:11], s2
559 // CHECK
: [0x02,0x08,0x8a,0xc2]
561 s_buffer_load_dwordx4 s
[20:23], s
[100:103], s2
562 // CHECK
: [0x02,0x64,0x8a,0xc2]
564 s_buffer_load_dwordx4 s
[20:23], ttmp
[8:11], s2
565 // CHECK
: [0x02,0x78,0x8a,0xc2]
567 s_buffer_load_dwordx4 s
[20:23], s
[4:7], s103
568 // CHECK
: [0x67,0x04,0x8a,0xc2]
570 s_buffer_load_dwordx4 s
[20:23], s
[4:7], flat_scratch_lo
571 // CHECK
: [0x68,0x04,0x8a,0xc2]
573 s_buffer_load_dwordx4 s
[20:23], s
[4:7], flat_scratch_hi
574 // CHECK
: [0x69,0x04,0x8a,0xc2]
576 s_buffer_load_dwordx4 s
[20:23], s
[4:7], vcc_lo
577 // CHECK
: [0x6a,0x04,0x8a,0xc2]
579 s_buffer_load_dwordx4 s
[20:23], s
[4:7], vcc_hi
580 // CHECK
: [0x6b,0x04,0x8a,0xc2]
582 s_buffer_load_dwordx4 s
[20:23], s
[4:7], tba_lo
583 // CHECK
: [0x6c,0x04,0x8a,0xc2]
585 s_buffer_load_dwordx4 s
[20:23], s
[4:7], tba_hi
586 // CHECK
: [0x6d,0x04,0x8a,0xc2]
588 s_buffer_load_dwordx4 s
[20:23], s
[4:7], tma_lo
589 // CHECK
: [0x6e,0x04,0x8a,0xc2]
591 s_buffer_load_dwordx4 s
[20:23], s
[4:7], tma_hi
592 // CHECK
: [0x6f,0x04,0x8a,0xc2]
594 s_buffer_load_dwordx4 s
[20:23], s
[4:7], ttmp11
595 // CHECK
: [0x7b,0x04,0x8a,0xc2]
597 s_buffer_load_dwordx4 s
[20:23], s
[4:7], 0xaf123456
598 // CHECK
: [0xff,0x04,0x8a,0xc2,0x56,0x34,0x12,0xaf]
600 s_buffer_load_dwordx4 s
[20:23], s
[4:7], 0x3f717273
601 // CHECK
: [0xff,0x04,0x8a,0xc2,0x73,0x72,0x71,0x3f]
603 s_buffer_load_dwordx4 s
[20:23], s
[4:7], 0x7f
604 // CHECK
: [0x7f,0x05,0x8a,0xc2]
606 s_buffer_load_dwordx8 s
[20:27], s
[4:7], s2
607 // CHECK
: [0x02,0x04,0xca,0xc2]
609 s_buffer_load_dwordx8 s
[24:31], s
[4:7], s2
610 // CHECK
: [0x02,0x04,0xcc,0xc2]
612 s_buffer_load_dwordx8 s
[96:103], s
[4:7], s2
613 // CHECK
: [0x02,0x04,0xf0,0xc2]
615 s_buffer_load_dwordx8 ttmp
[4:11], s
[4:7], s2
616 // CHECK
: [0x02,0x04,0xfa,0xc2]
618 s_buffer_load_dwordx8 s
[20:27], s
[8:11], s2
619 // CHECK
: [0x02,0x08,0xca,0xc2]
621 s_buffer_load_dwordx8 s
[20:27], s
[100:103], s2
622 // CHECK
: [0x02,0x64,0xca,0xc2]
624 s_buffer_load_dwordx8 s
[20:27], ttmp
[8:11], s2
625 // CHECK
: [0x02,0x78,0xca,0xc2]
627 s_buffer_load_dwordx8 s
[20:27], s
[4:7], s103
628 // CHECK
: [0x67,0x04,0xca,0xc2]
630 s_buffer_load_dwordx8 s
[20:27], s
[4:7], flat_scratch_lo
631 // CHECK
: [0x68,0x04,0xca,0xc2]
633 s_buffer_load_dwordx8 s
[20:27], s
[4:7], flat_scratch_hi
634 // CHECK
: [0x69,0x04,0xca,0xc2]
636 s_buffer_load_dwordx8 s
[20:27], s
[4:7], vcc_lo
637 // CHECK
: [0x6a,0x04,0xca,0xc2]
639 s_buffer_load_dwordx8 s
[20:27], s
[4:7], vcc_hi
640 // CHECK
: [0x6b,0x04,0xca,0xc2]
642 s_buffer_load_dwordx8 s
[20:27], s
[4:7], tba_lo
643 // CHECK
: [0x6c,0x04,0xca,0xc2]
645 s_buffer_load_dwordx8 s
[20:27], s
[4:7], tba_hi
646 // CHECK
: [0x6d,0x04,0xca,0xc2]
648 s_buffer_load_dwordx8 s
[20:27], s
[4:7], tma_lo
649 // CHECK
: [0x6e,0x04,0xca,0xc2]
651 s_buffer_load_dwordx8 s
[20:27], s
[4:7], tma_hi
652 // CHECK
: [0x6f,0x04,0xca,0xc2]
654 s_buffer_load_dwordx8 s
[20:27], s
[4:7], ttmp11
655 // CHECK
: [0x7b,0x04,0xca,0xc2]
657 s_buffer_load_dwordx8 s
[20:27], s
[4:7], 0xaf123456
658 // CHECK
: [0xff,0x04,0xca,0xc2,0x56,0x34,0x12,0xaf]
660 s_buffer_load_dwordx8 s
[20:27], s
[4:7], 0x3f717273
661 // CHECK
: [0xff,0x04,0xca,0xc2,0x73,0x72,0x71,0x3f]
663 s_buffer_load_dwordx8 s
[20:27], s
[4:7], 0x7f
664 // CHECK
: [0x7f,0x05,0xca,0xc2]
666 s_buffer_load_dwordx16 s
[20:35], s
[4:7], s2
667 // CHECK
: [0x02,0x04,0x0a,0xc3]
669 s_buffer_load_dwordx16 s
[24:39], s
[4:7], s2
670 // CHECK
: [0x02,0x04,0x0c,0xc3]
672 s_buffer_load_dwordx16 s
[88:103], s
[4:7], s2
673 // CHECK
: [0x02,0x04,0x2c,0xc3]
675 s_buffer_load_dwordx16 s
[20:35], s
[8:11], s2
676 // CHECK
: [0x02,0x08,0x0a,0xc3]
678 s_buffer_load_dwordx16 s
[20:35], s
[100:103], s2
679 // CHECK
: [0x02,0x64,0x0a,0xc3]
681 s_buffer_load_dwordx16 s
[20:35], ttmp
[8:11], s2
682 // CHECK
: [0x02,0x78,0x0a,0xc3]
684 s_buffer_load_dwordx16 s
[20:35], s
[4:7], s103
685 // CHECK
: [0x67,0x04,0x0a,0xc3]
687 s_buffer_load_dwordx16 s
[20:35], s
[4:7], flat_scratch_lo
688 // CHECK
: [0x68,0x04,0x0a,0xc3]
690 s_buffer_load_dwordx16 s
[20:35], s
[4:7], flat_scratch_hi
691 // CHECK
: [0x69,0x04,0x0a,0xc3]
693 s_buffer_load_dwordx16 s
[20:35], s
[4:7], vcc_lo
694 // CHECK
: [0x6a,0x04,0x0a,0xc3]
696 s_buffer_load_dwordx16 s
[20:35], s
[4:7], vcc_hi
697 // CHECK
: [0x6b,0x04,0x0a,0xc3]
699 s_buffer_load_dwordx16 s
[20:35], s
[4:7], tba_lo
700 // CHECK
: [0x6c,0x04,0x0a,0xc3]
702 s_buffer_load_dwordx16 s
[20:35], s
[4:7], tba_hi
703 // CHECK
: [0x6d,0x04,0x0a,0xc3]
705 s_buffer_load_dwordx16 s
[20:35], s
[4:7], tma_lo
706 // CHECK
: [0x6e,0x04,0x0a,0xc3]
708 s_buffer_load_dwordx16 s
[20:35], s
[4:7], tma_hi
709 // CHECK
: [0x6f,0x04,0x0a,0xc3]
711 s_buffer_load_dwordx16 s
[20:35], s
[4:7], ttmp11
712 // CHECK
: [0x7b,0x04,0x0a,0xc3]
714 s_buffer_load_dwordx16 s
[20:35], s
[4:7], 0xaf123456
715 // CHECK
: [0xff,0x04,0x0a,0xc3,0x56,0x34,0x12,0xaf]
717 s_buffer_load_dwordx16 s
[20:35], s
[4:7], 0x3f717273
718 // CHECK
: [0xff,0x04,0x0a,0xc3,0x73,0x72,0x71,0x3f]
720 s_buffer_load_dwordx16 s
[20:35], s
[4:7], 0x7f
721 // CHECK
: [0x7f,0x05,0x0a,0xc3]
724 // CHECK
: [0x00,0x00,0x40,0xc7]
727 // CHECK
: [0x00,0x00,0x85,0xc7]
730 // CHECK
: [0x00,0x00,0x86,0xc7]
733 // CHECK
: [0x00,0x00,0xb3,0xc7]
735 s_memtime flat_scratch
736 // CHECK
: [0x00,0x00,0xb4,0xc7]
739 // CHECK
: [0x00,0x00,0xb5,0xc7]
742 // CHECK
: [0x00,0x00,0xb6,0xc7]
745 // CHECK
: [0x00,0x00,0xb7,0xc7]
747 s_memtime ttmp
[10:11]
748 // CHECK
: [0x00,0x00,0xbd,0xc7]
751 // CHECK
: [0x00,0x00,0xc0,0xc7]