[DAGCombiner] Add target hook function to decide folding (mul (add x, c1), c2)
[llvm-project.git] / llvm / test / MC / AMDGPU / gfx9_asm_sopk.s
blob23e2cd294f0a202654d13c3b3e7aad7bafd38e5b
1 // RUN: llvm-mc -arch=amdgcn -mcpu=gfx900 -show-encoding %s | FileCheck %s
3 s_movk_i32 s5, 0x3141
4 // CHECK: [0x41,0x31,0x05,0xb0]
6 s_movk_i32 s101, 0x3141
7 // CHECK: [0x41,0x31,0x65,0xb0]
9 s_movk_i32 flat_scratch_lo, 0x3141
10 // CHECK: [0x41,0x31,0x66,0xb0]
12 s_movk_i32 flat_scratch_hi, 0x3141
13 // CHECK: [0x41,0x31,0x67,0xb0]
15 s_movk_i32 vcc_lo, 0x3141
16 // CHECK: [0x41,0x31,0x6a,0xb0]
18 s_movk_i32 vcc_hi, 0x3141
19 // CHECK: [0x41,0x31,0x6b,0xb0]
21 s_movk_i32 ttmp15, 0x3141
22 // CHECK: [0x41,0x31,0x7b,0xb0]
24 s_movk_i32 m0, 0x3141
25 // CHECK: [0x41,0x31,0x7c,0xb0]
27 s_movk_i32 exec_lo, 0x3141
28 // CHECK: [0x41,0x31,0x7e,0xb0]
30 s_movk_i32 exec_hi, 0x3141
31 // CHECK: [0x41,0x31,0x7f,0xb0]
33 s_movk_i32 s5, 0xc1d1
34 // CHECK: [0xd1,0xc1,0x05,0xb0]
36 s_cmovk_i32 s5, 0x3141
37 // CHECK: [0x41,0x31,0x85,0xb0]
39 s_cmovk_i32 s101, 0x3141
40 // CHECK: [0x41,0x31,0xe5,0xb0]
42 s_cmovk_i32 flat_scratch_lo, 0x3141
43 // CHECK: [0x41,0x31,0xe6,0xb0]
45 s_cmovk_i32 flat_scratch_hi, 0x3141
46 // CHECK: [0x41,0x31,0xe7,0xb0]
48 s_cmovk_i32 vcc_lo, 0x3141
49 // CHECK: [0x41,0x31,0xea,0xb0]
51 s_cmovk_i32 vcc_hi, 0x3141
52 // CHECK: [0x41,0x31,0xeb,0xb0]
54 s_cmovk_i32 ttmp15, 0x3141
55 // CHECK: [0x41,0x31,0xfb,0xb0]
57 s_cmovk_i32 m0, 0x3141
58 // CHECK: [0x41,0x31,0xfc,0xb0]
60 s_cmovk_i32 exec_lo, 0x3141
61 // CHECK: [0x41,0x31,0xfe,0xb0]
63 s_cmovk_i32 exec_hi, 0x3141
64 // CHECK: [0x41,0x31,0xff,0xb0]
66 s_cmovk_i32 s5, 0xc1d1
67 // CHECK: [0xd1,0xc1,0x85,0xb0]
69 s_cmpk_eq_i32 s1, 0x3141
70 // CHECK: [0x41,0x31,0x01,0xb1]
72 s_cmpk_eq_i32 s101, 0x3141
73 // CHECK: [0x41,0x31,0x65,0xb1]
75 s_cmpk_eq_i32 flat_scratch_lo, 0x3141
76 // CHECK: [0x41,0x31,0x66,0xb1]
78 s_cmpk_eq_i32 flat_scratch_hi, 0x3141
79 // CHECK: [0x41,0x31,0x67,0xb1]
81 s_cmpk_eq_i32 vcc_lo, 0x3141
82 // CHECK: [0x41,0x31,0x6a,0xb1]
84 s_cmpk_eq_i32 vcc_hi, 0x3141
85 // CHECK: [0x41,0x31,0x6b,0xb1]
87 s_cmpk_eq_i32 ttmp15, 0x3141
88 // CHECK: [0x41,0x31,0x7b,0xb1]
90 s_cmpk_eq_i32 m0, 0x3141
91 // CHECK: [0x41,0x31,0x7c,0xb1]
93 s_cmpk_eq_i32 exec_lo, 0x3141
94 // CHECK: [0x41,0x31,0x7e,0xb1]
96 s_cmpk_eq_i32 exec_hi, 0x3141
97 // CHECK: [0x41,0x31,0x7f,0xb1]
99 s_cmpk_eq_i32 s1, 0xc1d1
100 // CHECK: [0xd1,0xc1,0x01,0xb1]
102 s_cmpk_lg_i32 s1, 0x3141
103 // CHECK: [0x41,0x31,0x81,0xb1]
105 s_cmpk_lg_i32 s101, 0x3141
106 // CHECK: [0x41,0x31,0xe5,0xb1]
108 s_cmpk_lg_i32 flat_scratch_lo, 0x3141
109 // CHECK: [0x41,0x31,0xe6,0xb1]
111 s_cmpk_lg_i32 flat_scratch_hi, 0x3141
112 // CHECK: [0x41,0x31,0xe7,0xb1]
114 s_cmpk_lg_i32 vcc_lo, 0x3141
115 // CHECK: [0x41,0x31,0xea,0xb1]
117 s_cmpk_lg_i32 vcc_hi, 0x3141
118 // CHECK: [0x41,0x31,0xeb,0xb1]
120 s_cmpk_lg_i32 ttmp15, 0x3141
121 // CHECK: [0x41,0x31,0xfb,0xb1]
123 s_cmpk_lg_i32 m0, 0x3141
124 // CHECK: [0x41,0x31,0xfc,0xb1]
126 s_cmpk_lg_i32 exec_lo, 0x3141
127 // CHECK: [0x41,0x31,0xfe,0xb1]
129 s_cmpk_lg_i32 exec_hi, 0x3141
130 // CHECK: [0x41,0x31,0xff,0xb1]
132 s_cmpk_lg_i32 s1, 0xc1d1
133 // CHECK: [0xd1,0xc1,0x81,0xb1]
135 s_cmpk_gt_i32 s1, 0x3141
136 // CHECK: [0x41,0x31,0x01,0xb2]
138 s_cmpk_gt_i32 s101, 0x3141
139 // CHECK: [0x41,0x31,0x65,0xb2]
141 s_cmpk_gt_i32 flat_scratch_lo, 0x3141
142 // CHECK: [0x41,0x31,0x66,0xb2]
144 s_cmpk_gt_i32 flat_scratch_hi, 0x3141
145 // CHECK: [0x41,0x31,0x67,0xb2]
147 s_cmpk_gt_i32 vcc_lo, 0x3141
148 // CHECK: [0x41,0x31,0x6a,0xb2]
150 s_cmpk_gt_i32 vcc_hi, 0x3141
151 // CHECK: [0x41,0x31,0x6b,0xb2]
153 s_cmpk_gt_i32 ttmp15, 0x3141
154 // CHECK: [0x41,0x31,0x7b,0xb2]
156 s_cmpk_gt_i32 m0, 0x3141
157 // CHECK: [0x41,0x31,0x7c,0xb2]
159 s_cmpk_gt_i32 exec_lo, 0x3141
160 // CHECK: [0x41,0x31,0x7e,0xb2]
162 s_cmpk_gt_i32 exec_hi, 0x3141
163 // CHECK: [0x41,0x31,0x7f,0xb2]
165 s_cmpk_gt_i32 s1, 0xc1d1
166 // CHECK: [0xd1,0xc1,0x01,0xb2]
168 s_cmpk_ge_i32 s1, 0x3141
169 // CHECK: [0x41,0x31,0x81,0xb2]
171 s_cmpk_ge_i32 s101, 0x3141
172 // CHECK: [0x41,0x31,0xe5,0xb2]
174 s_cmpk_ge_i32 flat_scratch_lo, 0x3141
175 // CHECK: [0x41,0x31,0xe6,0xb2]
177 s_cmpk_ge_i32 flat_scratch_hi, 0x3141
178 // CHECK: [0x41,0x31,0xe7,0xb2]
180 s_cmpk_ge_i32 vcc_lo, 0x3141
181 // CHECK: [0x41,0x31,0xea,0xb2]
183 s_cmpk_ge_i32 vcc_hi, 0x3141
184 // CHECK: [0x41,0x31,0xeb,0xb2]
186 s_cmpk_ge_i32 ttmp15, 0x3141
187 // CHECK: [0x41,0x31,0xfb,0xb2]
189 s_cmpk_ge_i32 m0, 0x3141
190 // CHECK: [0x41,0x31,0xfc,0xb2]
192 s_cmpk_ge_i32 exec_lo, 0x3141
193 // CHECK: [0x41,0x31,0xfe,0xb2]
195 s_cmpk_ge_i32 exec_hi, 0x3141
196 // CHECK: [0x41,0x31,0xff,0xb2]
198 s_cmpk_ge_i32 s1, 0xc1d1
199 // CHECK: [0xd1,0xc1,0x81,0xb2]
201 s_cmpk_lt_i32 s1, 0x3141
202 // CHECK: [0x41,0x31,0x01,0xb3]
204 s_cmpk_lt_i32 s101, 0x3141
205 // CHECK: [0x41,0x31,0x65,0xb3]
207 s_cmpk_lt_i32 flat_scratch_lo, 0x3141
208 // CHECK: [0x41,0x31,0x66,0xb3]
210 s_cmpk_lt_i32 flat_scratch_hi, 0x3141
211 // CHECK: [0x41,0x31,0x67,0xb3]
213 s_cmpk_lt_i32 vcc_lo, 0x3141
214 // CHECK: [0x41,0x31,0x6a,0xb3]
216 s_cmpk_lt_i32 vcc_hi, 0x3141
217 // CHECK: [0x41,0x31,0x6b,0xb3]
219 s_cmpk_lt_i32 ttmp15, 0x3141
220 // CHECK: [0x41,0x31,0x7b,0xb3]
222 s_cmpk_lt_i32 m0, 0x3141
223 // CHECK: [0x41,0x31,0x7c,0xb3]
225 s_cmpk_lt_i32 exec_lo, 0x3141
226 // CHECK: [0x41,0x31,0x7e,0xb3]
228 s_cmpk_lt_i32 exec_hi, 0x3141
229 // CHECK: [0x41,0x31,0x7f,0xb3]
231 s_cmpk_lt_i32 s1, 0xc1d1
232 // CHECK: [0xd1,0xc1,0x01,0xb3]
234 s_cmpk_le_i32 s1, 0x3141
235 // CHECK: [0x41,0x31,0x81,0xb3]
237 s_cmpk_le_i32 s101, 0x3141
238 // CHECK: [0x41,0x31,0xe5,0xb3]
240 s_cmpk_le_i32 flat_scratch_lo, 0x3141
241 // CHECK: [0x41,0x31,0xe6,0xb3]
243 s_cmpk_le_i32 flat_scratch_hi, 0x3141
244 // CHECK: [0x41,0x31,0xe7,0xb3]
246 s_cmpk_le_i32 vcc_lo, 0x3141
247 // CHECK: [0x41,0x31,0xea,0xb3]
249 s_cmpk_le_i32 vcc_hi, 0x3141
250 // CHECK: [0x41,0x31,0xeb,0xb3]
252 s_cmpk_le_i32 ttmp15, 0x3141
253 // CHECK: [0x41,0x31,0xfb,0xb3]
255 s_cmpk_le_i32 m0, 0x3141
256 // CHECK: [0x41,0x31,0xfc,0xb3]
258 s_cmpk_le_i32 exec_lo, 0x3141
259 // CHECK: [0x41,0x31,0xfe,0xb3]
261 s_cmpk_le_i32 exec_hi, 0x3141
262 // CHECK: [0x41,0x31,0xff,0xb3]
264 s_cmpk_le_i32 s1, 0xc1d1
265 // CHECK: [0xd1,0xc1,0x81,0xb3]
267 s_cmpk_eq_u32 s1, 0x3141
268 // CHECK: [0x41,0x31,0x01,0xb4]
270 s_cmpk_eq_u32 s101, 0x3141
271 // CHECK: [0x41,0x31,0x65,0xb4]
273 s_cmpk_eq_u32 flat_scratch_lo, 0x3141
274 // CHECK: [0x41,0x31,0x66,0xb4]
276 s_cmpk_eq_u32 flat_scratch_hi, 0x3141
277 // CHECK: [0x41,0x31,0x67,0xb4]
279 s_cmpk_eq_u32 vcc_lo, 0x3141
280 // CHECK: [0x41,0x31,0x6a,0xb4]
282 s_cmpk_eq_u32 vcc_hi, 0x3141
283 // CHECK: [0x41,0x31,0x6b,0xb4]
285 s_cmpk_eq_u32 ttmp15, 0x3141
286 // CHECK: [0x41,0x31,0x7b,0xb4]
288 s_cmpk_eq_u32 m0, 0x3141
289 // CHECK: [0x41,0x31,0x7c,0xb4]
291 s_cmpk_eq_u32 exec_lo, 0x3141
292 // CHECK: [0x41,0x31,0x7e,0xb4]
294 s_cmpk_eq_u32 exec_hi, 0x3141
295 // CHECK: [0x41,0x31,0x7f,0xb4]
297 s_cmpk_eq_u32 s1, 0xc1d1
298 // CHECK: [0xd1,0xc1,0x01,0xb4]
300 s_cmpk_lg_u32 s1, 0x3141
301 // CHECK: [0x41,0x31,0x81,0xb4]
303 s_cmpk_lg_u32 s101, 0x3141
304 // CHECK: [0x41,0x31,0xe5,0xb4]
306 s_cmpk_lg_u32 flat_scratch_lo, 0x3141
307 // CHECK: [0x41,0x31,0xe6,0xb4]
309 s_cmpk_lg_u32 flat_scratch_hi, 0x3141
310 // CHECK: [0x41,0x31,0xe7,0xb4]
312 s_cmpk_lg_u32 vcc_lo, 0x3141
313 // CHECK: [0x41,0x31,0xea,0xb4]
315 s_cmpk_lg_u32 vcc_hi, 0x3141
316 // CHECK: [0x41,0x31,0xeb,0xb4]
318 s_cmpk_lg_u32 ttmp15, 0x3141
319 // CHECK: [0x41,0x31,0xfb,0xb4]
321 s_cmpk_lg_u32 m0, 0x3141
322 // CHECK: [0x41,0x31,0xfc,0xb4]
324 s_cmpk_lg_u32 exec_lo, 0x3141
325 // CHECK: [0x41,0x31,0xfe,0xb4]
327 s_cmpk_lg_u32 exec_hi, 0x3141
328 // CHECK: [0x41,0x31,0xff,0xb4]
330 s_cmpk_lg_u32 s1, 0xc1d1
331 // CHECK: [0xd1,0xc1,0x81,0xb4]
333 s_cmpk_gt_u32 s1, 0x3141
334 // CHECK: [0x41,0x31,0x01,0xb5]
336 s_cmpk_gt_u32 s101, 0x3141
337 // CHECK: [0x41,0x31,0x65,0xb5]
339 s_cmpk_gt_u32 flat_scratch_lo, 0x3141
340 // CHECK: [0x41,0x31,0x66,0xb5]
342 s_cmpk_gt_u32 flat_scratch_hi, 0x3141
343 // CHECK: [0x41,0x31,0x67,0xb5]
345 s_cmpk_gt_u32 vcc_lo, 0x3141
346 // CHECK: [0x41,0x31,0x6a,0xb5]
348 s_cmpk_gt_u32 vcc_hi, 0x3141
349 // CHECK: [0x41,0x31,0x6b,0xb5]
351 s_cmpk_gt_u32 ttmp15, 0x3141
352 // CHECK: [0x41,0x31,0x7b,0xb5]
354 s_cmpk_gt_u32 m0, 0x3141
355 // CHECK: [0x41,0x31,0x7c,0xb5]
357 s_cmpk_gt_u32 exec_lo, 0x3141
358 // CHECK: [0x41,0x31,0x7e,0xb5]
360 s_cmpk_gt_u32 exec_hi, 0x3141
361 // CHECK: [0x41,0x31,0x7f,0xb5]
363 s_cmpk_gt_u32 s1, 0xc1d1
364 // CHECK: [0xd1,0xc1,0x01,0xb5]
366 s_cmpk_ge_u32 s1, 0x3141
367 // CHECK: [0x41,0x31,0x81,0xb5]
369 s_cmpk_ge_u32 s101, 0x3141
370 // CHECK: [0x41,0x31,0xe5,0xb5]
372 s_cmpk_ge_u32 flat_scratch_lo, 0x3141
373 // CHECK: [0x41,0x31,0xe6,0xb5]
375 s_cmpk_ge_u32 flat_scratch_hi, 0x3141
376 // CHECK: [0x41,0x31,0xe7,0xb5]
378 s_cmpk_ge_u32 vcc_lo, 0x3141
379 // CHECK: [0x41,0x31,0xea,0xb5]
381 s_cmpk_ge_u32 vcc_hi, 0x3141
382 // CHECK: [0x41,0x31,0xeb,0xb5]
384 s_cmpk_ge_u32 ttmp15, 0x3141
385 // CHECK: [0x41,0x31,0xfb,0xb5]
387 s_cmpk_ge_u32 m0, 0x3141
388 // CHECK: [0x41,0x31,0xfc,0xb5]
390 s_cmpk_ge_u32 exec_lo, 0x3141
391 // CHECK: [0x41,0x31,0xfe,0xb5]
393 s_cmpk_ge_u32 exec_hi, 0x3141
394 // CHECK: [0x41,0x31,0xff,0xb5]
396 s_cmpk_ge_u32 s1, 0xc1d1
397 // CHECK: [0xd1,0xc1,0x81,0xb5]
399 s_cmpk_lt_u32 s1, 0x3141
400 // CHECK: [0x41,0x31,0x01,0xb6]
402 s_cmpk_lt_u32 s101, 0x3141
403 // CHECK: [0x41,0x31,0x65,0xb6]
405 s_cmpk_lt_u32 flat_scratch_lo, 0x3141
406 // CHECK: [0x41,0x31,0x66,0xb6]
408 s_cmpk_lt_u32 flat_scratch_hi, 0x3141
409 // CHECK: [0x41,0x31,0x67,0xb6]
411 s_cmpk_lt_u32 vcc_lo, 0x3141
412 // CHECK: [0x41,0x31,0x6a,0xb6]
414 s_cmpk_lt_u32 vcc_hi, 0x3141
415 // CHECK: [0x41,0x31,0x6b,0xb6]
417 s_cmpk_lt_u32 ttmp15, 0x3141
418 // CHECK: [0x41,0x31,0x7b,0xb6]
420 s_cmpk_lt_u32 m0, 0x3141
421 // CHECK: [0x41,0x31,0x7c,0xb6]
423 s_cmpk_lt_u32 exec_lo, 0x3141
424 // CHECK: [0x41,0x31,0x7e,0xb6]
426 s_cmpk_lt_u32 exec_hi, 0x3141
427 // CHECK: [0x41,0x31,0x7f,0xb6]
429 s_cmpk_lt_u32 s1, 0xc1d1
430 // CHECK: [0xd1,0xc1,0x01,0xb6]
432 s_cmpk_le_u32 s1, 0x3141
433 // CHECK: [0x41,0x31,0x81,0xb6]
435 s_cmpk_le_u32 s101, 0x3141
436 // CHECK: [0x41,0x31,0xe5,0xb6]
438 s_cmpk_le_u32 flat_scratch_lo, 0x3141
439 // CHECK: [0x41,0x31,0xe6,0xb6]
441 s_cmpk_le_u32 flat_scratch_hi, 0x3141
442 // CHECK: [0x41,0x31,0xe7,0xb6]
444 s_cmpk_le_u32 vcc_lo, 0x3141
445 // CHECK: [0x41,0x31,0xea,0xb6]
447 s_cmpk_le_u32 vcc_hi, 0x3141
448 // CHECK: [0x41,0x31,0xeb,0xb6]
450 s_cmpk_le_u32 ttmp15, 0x3141
451 // CHECK: [0x41,0x31,0xfb,0xb6]
453 s_cmpk_le_u32 m0, 0x3141
454 // CHECK: [0x41,0x31,0xfc,0xb6]
456 s_cmpk_le_u32 exec_lo, 0x3141
457 // CHECK: [0x41,0x31,0xfe,0xb6]
459 s_cmpk_le_u32 exec_hi, 0x3141
460 // CHECK: [0x41,0x31,0xff,0xb6]
462 s_cmpk_le_u32 s1, 0xc1d1
463 // CHECK: [0xd1,0xc1,0x81,0xb6]
465 s_addk_i32 s5, 0x3141
466 // CHECK: [0x41,0x31,0x05,0xb7]
468 s_addk_i32 s101, 0x3141
469 // CHECK: [0x41,0x31,0x65,0xb7]
471 s_addk_i32 flat_scratch_lo, 0x3141
472 // CHECK: [0x41,0x31,0x66,0xb7]
474 s_addk_i32 flat_scratch_hi, 0x3141
475 // CHECK: [0x41,0x31,0x67,0xb7]
477 s_addk_i32 vcc_lo, 0x3141
478 // CHECK: [0x41,0x31,0x6a,0xb7]
480 s_addk_i32 vcc_hi, 0x3141
481 // CHECK: [0x41,0x31,0x6b,0xb7]
483 s_addk_i32 ttmp15, 0x3141
484 // CHECK: [0x41,0x31,0x7b,0xb7]
486 s_addk_i32 m0, 0x3141
487 // CHECK: [0x41,0x31,0x7c,0xb7]
489 s_addk_i32 exec_lo, 0x3141
490 // CHECK: [0x41,0x31,0x7e,0xb7]
492 s_addk_i32 exec_hi, 0x3141
493 // CHECK: [0x41,0x31,0x7f,0xb7]
495 s_addk_i32 s5, 0xc1d1
496 // CHECK: [0xd1,0xc1,0x05,0xb7]
498 s_mulk_i32 s5, 0x3141
499 // CHECK: [0x41,0x31,0x85,0xb7]
501 s_mulk_i32 s101, 0x3141
502 // CHECK: [0x41,0x31,0xe5,0xb7]
504 s_mulk_i32 flat_scratch_lo, 0x3141
505 // CHECK: [0x41,0x31,0xe6,0xb7]
507 s_mulk_i32 flat_scratch_hi, 0x3141
508 // CHECK: [0x41,0x31,0xe7,0xb7]
510 s_mulk_i32 vcc_lo, 0x3141
511 // CHECK: [0x41,0x31,0xea,0xb7]
513 s_mulk_i32 vcc_hi, 0x3141
514 // CHECK: [0x41,0x31,0xeb,0xb7]
516 s_mulk_i32 ttmp15, 0x3141
517 // CHECK: [0x41,0x31,0xfb,0xb7]
519 s_mulk_i32 m0, 0x3141
520 // CHECK: [0x41,0x31,0xfc,0xb7]
522 s_mulk_i32 exec_lo, 0x3141
523 // CHECK: [0x41,0x31,0xfe,0xb7]
525 s_mulk_i32 exec_hi, 0x3141
526 // CHECK: [0x41,0x31,0xff,0xb7]
528 s_mulk_i32 s5, 0xc1d1
529 // CHECK: [0xd1,0xc1,0x85,0xb7]
531 s_cbranch_i_fork s[2:3], 12609
532 // CHECK: [0x41,0x31,0x02,0xb8]
534 s_cbranch_i_fork s[4:5], 12609
535 // CHECK: [0x41,0x31,0x04,0xb8]
537 s_cbranch_i_fork s[100:101], 12609
538 // CHECK: [0x41,0x31,0x64,0xb8]
540 s_cbranch_i_fork flat_scratch, 12609
541 // CHECK: [0x41,0x31,0x66,0xb8]
543 s_cbranch_i_fork vcc, 12609
544 // CHECK: [0x41,0x31,0x6a,0xb8]
546 s_cbranch_i_fork ttmp[14:15], 12609
547 // CHECK: [0x41,0x31,0x7a,0xb8]
549 s_cbranch_i_fork exec, 12609
550 // CHECK: [0x41,0x31,0x7e,0xb8]
552 s_cbranch_i_fork s[2:3], 49617
553 // CHECK: [0xd1,0xc1,0x02,0xb8]
555 s_getreg_b32 s5, 0x3141
556 // CHECK: [0x41,0x31,0x85,0xb8]
558 s_getreg_b32 s101, 0x3141
559 // CHECK: [0x41,0x31,0xe5,0xb8]
561 s_getreg_b32 flat_scratch_lo, 0x3141
562 // CHECK: [0x41,0x31,0xe6,0xb8]
564 s_getreg_b32 flat_scratch_hi, 0x3141
565 // CHECK: [0x41,0x31,0xe7,0xb8]
567 s_getreg_b32 vcc_lo, 0x3141
568 // CHECK: [0x41,0x31,0xea,0xb8]
570 s_getreg_b32 vcc_hi, 0x3141
571 // CHECK: [0x41,0x31,0xeb,0xb8]
573 s_getreg_b32 ttmp15, 0x3141
574 // CHECK: [0x41,0x31,0xfb,0xb8]
576 s_getreg_b32 m0, 0x3141
577 // CHECK: [0x41,0x31,0xfc,0xb8]
579 s_getreg_b32 exec_lo, 0x3141
580 // CHECK: [0x41,0x31,0xfe,0xb8]
582 s_getreg_b32 exec_hi, 0x3141
583 // CHECK: [0x41,0x31,0xff,0xb8]
585 s_getreg_b32 s5, 0xc1d1
586 // CHECK: [0xd1,0xc1,0x85,0xb8]
588 s_setreg_b32 0x3141, s1
589 // CHECK: [0x41,0x31,0x01,0xb9]
591 s_setreg_b32 0xc1d1, s1
592 // CHECK: [0xd1,0xc1,0x01,0xb9]
594 s_setreg_b32 0x3141, s101
595 // CHECK: [0x41,0x31,0x65,0xb9]
597 s_setreg_b32 0x3141, flat_scratch_lo
598 // CHECK: [0x41,0x31,0x66,0xb9]
600 s_setreg_b32 0x3141, flat_scratch_hi
601 // CHECK: [0x41,0x31,0x67,0xb9]
603 s_setreg_b32 0x3141, vcc_lo
604 // CHECK: [0x41,0x31,0x6a,0xb9]
606 s_setreg_b32 0x3141, vcc_hi
607 // CHECK: [0x41,0x31,0x6b,0xb9]
609 s_setreg_b32 0x3141, ttmp15
610 // CHECK: [0x41,0x31,0x7b,0xb9]
612 s_setreg_b32 0x3141, m0
613 // CHECK: [0x41,0x31,0x7c,0xb9]
615 s_setreg_b32 0x3141, exec_lo
616 // CHECK: [0x41,0x31,0x7e,0xb9]
618 s_setreg_b32 0x3141, exec_hi
619 // CHECK: [0x41,0x31,0x7f,0xb9]
621 s_setreg_imm32_b32 0x3141, 0x11213141
622 // CHECK: [0x41,0x31,0x00,0xba,0x41,0x31,0x21,0x11]
624 s_setreg_imm32_b32 0xc1d1, 0x11213141
625 // CHECK: [0xd1,0xc1,0x00,0xba,0x41,0x31,0x21,0x11]
627 s_setreg_imm32_b32 0x3141, 0xa1b1c1d1
628 // CHECK: [0x41,0x31,0x00,0xba,0xd1,0xc1,0xb1,0xa1]
630 s_call_b64 s[10:11], 12609
631 // CHECK: [0x41,0x31,0x8a,0xba]
633 s_call_b64 s[12:13], 12609
634 // CHECK: [0x41,0x31,0x8c,0xba]
636 s_call_b64 s[100:101], 12609
637 // CHECK: [0x41,0x31,0xe4,0xba]
639 s_call_b64 flat_scratch, 12609
640 // CHECK: [0x41,0x31,0xe6,0xba]
642 s_call_b64 vcc, 12609
643 // CHECK: [0x41,0x31,0xea,0xba]
645 s_call_b64 ttmp[14:15], 12609
646 // CHECK: [0x41,0x31,0xfa,0xba]
648 s_call_b64 exec, 12609
649 // CHECK: [0x41,0x31,0xfe,0xba]
651 s_call_b64 s[10:11], 49617
652 // CHECK: [0xd1,0xc1,0x8a,0xba]