[DAGCombiner] Add target hook function to decide folding (mul (add x, c1), c2)
[llvm-project.git] / llvm / test / MC / AMDGPU / gfx9_asm_smem.s
blob1989062e3a509dd50ca79f32900ddaae25232538
1 // RUN: llvm-mc -arch=amdgcn -mcpu=gfx900 -show-encoding %s | FileCheck %s
3 s_load_dword s5, s[2:3], s0
4 // CHECK: [0x41,0x01,0x00,0xc0,0x00,0x00,0x00,0x00]
6 s_load_dword s101, s[2:3], s0
7 // CHECK: [0x41,0x19,0x00,0xc0,0x00,0x00,0x00,0x00]
9 s_load_dword flat_scratch_lo, s[2:3], s0
10 // CHECK: [0x81,0x19,0x00,0xc0,0x00,0x00,0x00,0x00]
12 s_load_dword flat_scratch_hi, s[2:3], s0
13 // CHECK: [0xc1,0x19,0x00,0xc0,0x00,0x00,0x00,0x00]
15 s_load_dword vcc_lo, s[2:3], s0
16 // CHECK: [0x81,0x1a,0x00,0xc0,0x00,0x00,0x00,0x00]
18 s_load_dword vcc_hi, s[2:3], s0
19 // CHECK: [0xc1,0x1a,0x00,0xc0,0x00,0x00,0x00,0x00]
21 s_load_dword ttmp15, s[2:3], s0
22 // CHECK: [0xc1,0x1e,0x00,0xc0,0x00,0x00,0x00,0x00]
24 s_load_dword s5, s[4:5], s0
25 // CHECK: [0x42,0x01,0x00,0xc0,0x00,0x00,0x00,0x00]
27 s_load_dword s5, s[100:101], s0
28 // CHECK: [0x72,0x01,0x00,0xc0,0x00,0x00,0x00,0x00]
30 s_load_dword s5, flat_scratch, s0
31 // CHECK: [0x73,0x01,0x00,0xc0,0x00,0x00,0x00,0x00]
33 s_load_dword s5, vcc, s0
34 // CHECK: [0x75,0x01,0x00,0xc0,0x00,0x00,0x00,0x00]
36 s_load_dword s5, ttmp[14:15], s0
37 // CHECK: [0x7d,0x01,0x00,0xc0,0x00,0x00,0x00,0x00]
39 s_load_dword s5, s[2:3], s101
40 // CHECK: [0x41,0x01,0x00,0xc0,0x65,0x00,0x00,0x00]
42 s_load_dword s5, s[2:3], flat_scratch_lo
43 // CHECK: [0x41,0x01,0x00,0xc0,0x66,0x00,0x00,0x00]
45 s_load_dword s5, s[2:3], flat_scratch_hi
46 // CHECK: [0x41,0x01,0x00,0xc0,0x67,0x00,0x00,0x00]
48 s_load_dword s5, s[2:3], vcc_lo
49 // CHECK: [0x41,0x01,0x00,0xc0,0x6a,0x00,0x00,0x00]
51 s_load_dword s5, s[2:3], vcc_hi
52 // CHECK: [0x41,0x01,0x00,0xc0,0x6b,0x00,0x00,0x00]
54 s_load_dword s5, s[2:3], ttmp15
55 // CHECK: [0x41,0x01,0x00,0xc0,0x7b,0x00,0x00,0x00]
57 s_load_dword s5, s[2:3], m0
58 // CHECK: [0x41,0x01,0x00,0xc0,0x7c,0x00,0x00,0x00]
60 s_load_dword s5, s[2:3], 0x0
61 // CHECK: [0x41,0x01,0x02,0xc0,0x00,0x00,0x00,0x00]
63 s_load_dword s5, s[2:3], s0 glc
64 // CHECK: [0x41,0x01,0x01,0xc0,0x00,0x00,0x00,0x00]
66 s_load_dwordx2 s[10:11], s[2:3], s0
67 // CHECK: [0x81,0x02,0x04,0xc0,0x00,0x00,0x00,0x00]
69 s_load_dwordx2 s[12:13], s[2:3], s0
70 // CHECK: [0x01,0x03,0x04,0xc0,0x00,0x00,0x00,0x00]
72 s_load_dwordx2 s[100:101], s[2:3], s0
73 // CHECK: [0x01,0x19,0x04,0xc0,0x00,0x00,0x00,0x00]
75 s_load_dwordx2 flat_scratch, s[2:3], s0
76 // CHECK: [0x81,0x19,0x04,0xc0,0x00,0x00,0x00,0x00]
78 s_load_dwordx2 vcc, s[2:3], s0
79 // CHECK: [0x81,0x1a,0x04,0xc0,0x00,0x00,0x00,0x00]
81 s_load_dwordx2 ttmp[14:15], s[2:3], s0
82 // CHECK: [0x81,0x1e,0x04,0xc0,0x00,0x00,0x00,0x00]
84 s_load_dwordx2 s[10:11], s[4:5], s0
85 // CHECK: [0x82,0x02,0x04,0xc0,0x00,0x00,0x00,0x00]
87 s_load_dwordx2 s[10:11], s[100:101], s0
88 // CHECK: [0xb2,0x02,0x04,0xc0,0x00,0x00,0x00,0x00]
90 s_load_dwordx2 s[10:11], flat_scratch, s0
91 // CHECK: [0xb3,0x02,0x04,0xc0,0x00,0x00,0x00,0x00]
93 s_load_dwordx2 s[10:11], vcc, s0
94 // CHECK: [0xb5,0x02,0x04,0xc0,0x00,0x00,0x00,0x00]
96 s_load_dwordx2 s[10:11], ttmp[14:15], s0
97 // CHECK: [0xbd,0x02,0x04,0xc0,0x00,0x00,0x00,0x00]
99 s_load_dwordx2 s[10:11], s[2:3], s101
100 // CHECK: [0x81,0x02,0x04,0xc0,0x65,0x00,0x00,0x00]
102 s_load_dwordx2 s[10:11], s[2:3], flat_scratch_lo
103 // CHECK: [0x81,0x02,0x04,0xc0,0x66,0x00,0x00,0x00]
105 s_load_dwordx2 s[10:11], s[2:3], flat_scratch_hi
106 // CHECK: [0x81,0x02,0x04,0xc0,0x67,0x00,0x00,0x00]
108 s_load_dwordx2 s[10:11], s[2:3], vcc_lo
109 // CHECK: [0x81,0x02,0x04,0xc0,0x6a,0x00,0x00,0x00]
111 s_load_dwordx2 s[10:11], s[2:3], vcc_hi
112 // CHECK: [0x81,0x02,0x04,0xc0,0x6b,0x00,0x00,0x00]
114 s_load_dwordx2 s[10:11], s[2:3], ttmp15
115 // CHECK: [0x81,0x02,0x04,0xc0,0x7b,0x00,0x00,0x00]
117 s_load_dwordx2 s[10:11], s[2:3], m0
118 // CHECK: [0x81,0x02,0x04,0xc0,0x7c,0x00,0x00,0x00]
120 s_load_dwordx2 s[10:11], s[2:3], 0x0
121 // CHECK: [0x81,0x02,0x06,0xc0,0x00,0x00,0x00,0x00]
123 s_load_dwordx2 s[10:11], s[2:3], s0 glc
124 // CHECK: [0x81,0x02,0x05,0xc0,0x00,0x00,0x00,0x00]
126 s_load_dwordx4 s[20:23], s[2:3], s0
127 // CHECK: [0x01,0x05,0x08,0xc0,0x00,0x00,0x00,0x00]
129 s_load_dwordx4 s[24:27], s[2:3], s0
130 // CHECK: [0x01,0x06,0x08,0xc0,0x00,0x00,0x00,0x00]
132 s_load_dwordx4 s[96:99], s[2:3], s0
133 // CHECK: [0x01,0x18,0x08,0xc0,0x00,0x00,0x00,0x00]
135 s_load_dwordx4 ttmp[12:15], s[2:3], s0
136 // CHECK: [0x01,0x1e,0x08,0xc0,0x00,0x00,0x00,0x00]
138 s_load_dwordx4 s[20:23], s[4:5], s0
139 // CHECK: [0x02,0x05,0x08,0xc0,0x00,0x00,0x00,0x00]
141 s_load_dwordx4 s[20:23], s[100:101], s0
142 // CHECK: [0x32,0x05,0x08,0xc0,0x00,0x00,0x00,0x00]
144 s_load_dwordx4 s[20:23], flat_scratch, s0
145 // CHECK: [0x33,0x05,0x08,0xc0,0x00,0x00,0x00,0x00]
147 s_load_dwordx4 s[20:23], vcc, s0
148 // CHECK: [0x35,0x05,0x08,0xc0,0x00,0x00,0x00,0x00]
150 s_load_dwordx4 s[20:23], ttmp[14:15], s0
151 // CHECK: [0x3d,0x05,0x08,0xc0,0x00,0x00,0x00,0x00]
153 s_load_dwordx4 s[20:23], s[2:3], s101
154 // CHECK: [0x01,0x05,0x08,0xc0,0x65,0x00,0x00,0x00]
156 s_load_dwordx4 s[20:23], s[2:3], flat_scratch_lo
157 // CHECK: [0x01,0x05,0x08,0xc0,0x66,0x00,0x00,0x00]
159 s_load_dwordx4 s[20:23], s[2:3], flat_scratch_hi
160 // CHECK: [0x01,0x05,0x08,0xc0,0x67,0x00,0x00,0x00]
162 s_load_dwordx4 s[20:23], s[2:3], vcc_lo
163 // CHECK: [0x01,0x05,0x08,0xc0,0x6a,0x00,0x00,0x00]
165 s_load_dwordx4 s[20:23], s[2:3], vcc_hi
166 // CHECK: [0x01,0x05,0x08,0xc0,0x6b,0x00,0x00,0x00]
168 s_load_dwordx4 s[20:23], s[2:3], ttmp15
169 // CHECK: [0x01,0x05,0x08,0xc0,0x7b,0x00,0x00,0x00]
171 s_load_dwordx4 s[20:23], s[2:3], m0
172 // CHECK: [0x01,0x05,0x08,0xc0,0x7c,0x00,0x00,0x00]
174 s_load_dwordx4 s[20:23], s[2:3], 0x0
175 // CHECK: [0x01,0x05,0x0a,0xc0,0x00,0x00,0x00,0x00]
177 s_load_dwordx4 s[20:23], s[2:3], s0 glc
178 // CHECK: [0x01,0x05,0x09,0xc0,0x00,0x00,0x00,0x00]
180 s_load_dwordx8 s[20:27], s[2:3], s0
181 // CHECK: [0x01,0x05,0x0c,0xc0,0x00,0x00,0x00,0x00]
183 s_load_dwordx8 s[24:31], s[2:3], s0
184 // CHECK: [0x01,0x06,0x0c,0xc0,0x00,0x00,0x00,0x00]
186 s_load_dwordx8 s[92:99], s[2:3], s0
187 // CHECK: [0x01,0x17,0x0c,0xc0,0x00,0x00,0x00,0x00]
189 s_load_dwordx8 ttmp[8:15], s[2:3], s0
190 // CHECK: [0x01,0x1d,0x0c,0xc0,0x00,0x00,0x00,0x00]
192 s_load_dwordx8 s[20:27], s[4:5], s0
193 // CHECK: [0x02,0x05,0x0c,0xc0,0x00,0x00,0x00,0x00]
195 s_load_dwordx8 s[20:27], s[100:101], s0
196 // CHECK: [0x32,0x05,0x0c,0xc0,0x00,0x00,0x00,0x00]
198 s_load_dwordx8 s[20:27], flat_scratch, s0
199 // CHECK: [0x33,0x05,0x0c,0xc0,0x00,0x00,0x00,0x00]
201 s_load_dwordx8 s[20:27], vcc, s0
202 // CHECK: [0x35,0x05,0x0c,0xc0,0x00,0x00,0x00,0x00]
204 s_load_dwordx8 s[20:27], ttmp[14:15], s0
205 // CHECK: [0x3d,0x05,0x0c,0xc0,0x00,0x00,0x00,0x00]
207 s_load_dwordx8 s[20:27], s[2:3], s101
208 // CHECK: [0x01,0x05,0x0c,0xc0,0x65,0x00,0x00,0x00]
210 s_load_dwordx8 s[20:27], s[2:3], flat_scratch_lo
211 // CHECK: [0x01,0x05,0x0c,0xc0,0x66,0x00,0x00,0x00]
213 s_load_dwordx8 s[20:27], s[2:3], flat_scratch_hi
214 // CHECK: [0x01,0x05,0x0c,0xc0,0x67,0x00,0x00,0x00]
216 s_load_dwordx8 s[20:27], s[2:3], vcc_lo
217 // CHECK: [0x01,0x05,0x0c,0xc0,0x6a,0x00,0x00,0x00]
219 s_load_dwordx8 s[20:27], s[2:3], vcc_hi
220 // CHECK: [0x01,0x05,0x0c,0xc0,0x6b,0x00,0x00,0x00]
222 s_load_dwordx8 s[20:27], s[2:3], ttmp15
223 // CHECK: [0x01,0x05,0x0c,0xc0,0x7b,0x00,0x00,0x00]
225 s_load_dwordx8 s[20:27], s[2:3], m0
226 // CHECK: [0x01,0x05,0x0c,0xc0,0x7c,0x00,0x00,0x00]
228 s_load_dwordx8 s[20:27], s[2:3], 0x0
229 // CHECK: [0x01,0x05,0x0e,0xc0,0x00,0x00,0x00,0x00]
231 s_load_dwordx8 s[20:27], s[2:3], s0 glc
232 // CHECK: [0x01,0x05,0x0d,0xc0,0x00,0x00,0x00,0x00]
234 s_load_dwordx16 s[20:35], s[2:3], s0
235 // CHECK: [0x01,0x05,0x10,0xc0,0x00,0x00,0x00,0x00]
237 s_load_dwordx16 s[24:39], s[2:3], s0
238 // CHECK: [0x01,0x06,0x10,0xc0,0x00,0x00,0x00,0x00]
240 s_load_dwordx16 s[84:99], s[2:3], s0
241 // CHECK: [0x01,0x15,0x10,0xc0,0x00,0x00,0x00,0x00]
243 s_load_dwordx16 ttmp[0:15], s[2:3], s0
244 // CHECK: [0x01,0x1b,0x10,0xc0,0x00,0x00,0x00,0x00]
246 s_load_dwordx16 s[20:35], s[4:5], s0
247 // CHECK: [0x02,0x05,0x10,0xc0,0x00,0x00,0x00,0x00]
249 s_load_dwordx16 s[20:35], s[100:101], s0
250 // CHECK: [0x32,0x05,0x10,0xc0,0x00,0x00,0x00,0x00]
252 s_load_dwordx16 s[20:35], flat_scratch, s0
253 // CHECK: [0x33,0x05,0x10,0xc0,0x00,0x00,0x00,0x00]
255 s_load_dwordx16 s[20:35], vcc, s0
256 // CHECK: [0x35,0x05,0x10,0xc0,0x00,0x00,0x00,0x00]
258 s_load_dwordx16 s[20:35], ttmp[14:15], s0
259 // CHECK: [0x3d,0x05,0x10,0xc0,0x00,0x00,0x00,0x00]
261 s_load_dwordx16 s[20:35], s[2:3], s101
262 // CHECK: [0x01,0x05,0x10,0xc0,0x65,0x00,0x00,0x00]
264 s_load_dwordx16 s[20:35], s[2:3], flat_scratch_lo
265 // CHECK: [0x01,0x05,0x10,0xc0,0x66,0x00,0x00,0x00]
267 s_load_dwordx16 s[20:35], s[2:3], flat_scratch_hi
268 // CHECK: [0x01,0x05,0x10,0xc0,0x67,0x00,0x00,0x00]
270 s_load_dwordx16 s[20:35], s[2:3], vcc_lo
271 // CHECK: [0x01,0x05,0x10,0xc0,0x6a,0x00,0x00,0x00]
273 s_load_dwordx16 s[20:35], s[2:3], vcc_hi
274 // CHECK: [0x01,0x05,0x10,0xc0,0x6b,0x00,0x00,0x00]
276 s_load_dwordx16 s[20:35], s[2:3], ttmp15
277 // CHECK: [0x01,0x05,0x10,0xc0,0x7b,0x00,0x00,0x00]
279 s_load_dwordx16 s[20:35], s[2:3], m0
280 // CHECK: [0x01,0x05,0x10,0xc0,0x7c,0x00,0x00,0x00]
282 s_load_dwordx16 s[20:35], s[2:3], 0x0
283 // CHECK: [0x01,0x05,0x12,0xc0,0x00,0x00,0x00,0x00]
285 s_load_dwordx16 s[20:35], s[2:3], s0 glc
286 // CHECK: [0x01,0x05,0x11,0xc0,0x00,0x00,0x00,0x00]
288 s_scratch_load_dword s5, s[2:3], s0
289 // CHECK: [0x41,0x01,0x14,0xc0,0x00,0x00,0x00,0x00]
291 s_scratch_load_dword s101, s[2:3], s0
292 // CHECK: [0x41,0x19,0x14,0xc0,0x00,0x00,0x00,0x00]
294 s_scratch_load_dword flat_scratch_lo, s[2:3], s0
295 // CHECK: [0x81,0x19,0x14,0xc0,0x00,0x00,0x00,0x00]
297 s_scratch_load_dword flat_scratch_hi, s[2:3], s0
298 // CHECK: [0xc1,0x19,0x14,0xc0,0x00,0x00,0x00,0x00]
300 s_scratch_load_dword vcc_lo, s[2:3], s0
301 // CHECK: [0x81,0x1a,0x14,0xc0,0x00,0x00,0x00,0x00]
303 s_scratch_load_dword vcc_hi, s[2:3], s0
304 // CHECK: [0xc1,0x1a,0x14,0xc0,0x00,0x00,0x00,0x00]
306 s_scratch_load_dword ttmp15, s[2:3], s0
307 // CHECK: [0xc1,0x1e,0x14,0xc0,0x00,0x00,0x00,0x00]
309 s_scratch_load_dword s5, s[4:5], s0
310 // CHECK: [0x42,0x01,0x14,0xc0,0x00,0x00,0x00,0x00]
312 s_scratch_load_dword s5, s[100:101], s0
313 // CHECK: [0x72,0x01,0x14,0xc0,0x00,0x00,0x00,0x00]
315 s_scratch_load_dword s5, flat_scratch, s0
316 // CHECK: [0x73,0x01,0x14,0xc0,0x00,0x00,0x00,0x00]
318 s_scratch_load_dword s5, vcc, s0
319 // CHECK: [0x75,0x01,0x14,0xc0,0x00,0x00,0x00,0x00]
321 s_scratch_load_dword s5, ttmp[14:15], s0
322 // CHECK: [0x7d,0x01,0x14,0xc0,0x00,0x00,0x00,0x00]
324 s_scratch_load_dword s5, s[2:3], s101
325 // CHECK: [0x41,0x01,0x14,0xc0,0x65,0x00,0x00,0x00]
327 s_scratch_load_dword s5, s[2:3], flat_scratch_lo
328 // CHECK: [0x41,0x01,0x14,0xc0,0x66,0x00,0x00,0x00]
330 s_scratch_load_dword s5, s[2:3], flat_scratch_hi
331 // CHECK: [0x41,0x01,0x14,0xc0,0x67,0x00,0x00,0x00]
333 s_scratch_load_dword s5, s[2:3], vcc_lo
334 // CHECK: [0x41,0x01,0x14,0xc0,0x6a,0x00,0x00,0x00]
336 s_scratch_load_dword s5, s[2:3], vcc_hi
337 // CHECK: [0x41,0x01,0x14,0xc0,0x6b,0x00,0x00,0x00]
339 s_scratch_load_dword s5, s[2:3], ttmp15
340 // CHECK: [0x41,0x01,0x14,0xc0,0x7b,0x00,0x00,0x00]
342 s_scratch_load_dword s5, s[2:3], m0
343 // CHECK: [0x41,0x01,0x14,0xc0,0x7c,0x00,0x00,0x00]
345 s_scratch_load_dword s5, s[2:3], 0x0
346 // CHECK: [0x41,0x01,0x16,0xc0,0x00,0x00,0x00,0x00]
348 s_scratch_load_dword s5, s[2:3], s0 glc
349 // CHECK: [0x41,0x01,0x15,0xc0,0x00,0x00,0x00,0x00]
351 s_scratch_load_dwordx2 s[10:11], s[2:3], s0
352 // CHECK: [0x81,0x02,0x18,0xc0,0x00,0x00,0x00,0x00]
354 s_scratch_load_dwordx2 s[12:13], s[2:3], s0
355 // CHECK: [0x01,0x03,0x18,0xc0,0x00,0x00,0x00,0x00]
357 s_scratch_load_dwordx2 s[100:101], s[2:3], s0
358 // CHECK: [0x01,0x19,0x18,0xc0,0x00,0x00,0x00,0x00]
360 s_scratch_load_dwordx2 flat_scratch, s[2:3], s0
361 // CHECK: [0x81,0x19,0x18,0xc0,0x00,0x00,0x00,0x00]
363 s_scratch_load_dwordx2 vcc, s[2:3], s0
364 // CHECK: [0x81,0x1a,0x18,0xc0,0x00,0x00,0x00,0x00]
366 s_scratch_load_dwordx2 ttmp[14:15], s[2:3], s0
367 // CHECK: [0x81,0x1e,0x18,0xc0,0x00,0x00,0x00,0x00]
369 s_scratch_load_dwordx2 s[10:11], s[4:5], s0
370 // CHECK: [0x82,0x02,0x18,0xc0,0x00,0x00,0x00,0x00]
372 s_scratch_load_dwordx2 s[10:11], s[100:101], s0
373 // CHECK: [0xb2,0x02,0x18,0xc0,0x00,0x00,0x00,0x00]
375 s_scratch_load_dwordx2 s[10:11], flat_scratch, s0
376 // CHECK: [0xb3,0x02,0x18,0xc0,0x00,0x00,0x00,0x00]
378 s_scratch_load_dwordx2 s[10:11], vcc, s0
379 // CHECK: [0xb5,0x02,0x18,0xc0,0x00,0x00,0x00,0x00]
381 s_scratch_load_dwordx2 s[10:11], ttmp[14:15], s0
382 // CHECK: [0xbd,0x02,0x18,0xc0,0x00,0x00,0x00,0x00]
384 s_scratch_load_dwordx2 s[10:11], s[2:3], s101
385 // CHECK: [0x81,0x02,0x18,0xc0,0x65,0x00,0x00,0x00]
387 s_scratch_load_dwordx2 s[10:11], s[2:3], flat_scratch_lo
388 // CHECK: [0x81,0x02,0x18,0xc0,0x66,0x00,0x00,0x00]
390 s_scratch_load_dwordx2 s[10:11], s[2:3], flat_scratch_hi
391 // CHECK: [0x81,0x02,0x18,0xc0,0x67,0x00,0x00,0x00]
393 s_scratch_load_dwordx2 s[10:11], s[2:3], vcc_lo
394 // CHECK: [0x81,0x02,0x18,0xc0,0x6a,0x00,0x00,0x00]
396 s_scratch_load_dwordx2 s[10:11], s[2:3], vcc_hi
397 // CHECK: [0x81,0x02,0x18,0xc0,0x6b,0x00,0x00,0x00]
399 s_scratch_load_dwordx2 s[10:11], s[2:3], ttmp15
400 // CHECK: [0x81,0x02,0x18,0xc0,0x7b,0x00,0x00,0x00]
402 s_scratch_load_dwordx2 s[10:11], s[2:3], m0
403 // CHECK: [0x81,0x02,0x18,0xc0,0x7c,0x00,0x00,0x00]
405 s_scratch_load_dwordx2 s[10:11], s[2:3], 0x0
406 // CHECK: [0x81,0x02,0x1a,0xc0,0x00,0x00,0x00,0x00]
408 s_scratch_load_dwordx2 s[10:11], s[2:3], s0 glc
409 // CHECK: [0x81,0x02,0x19,0xc0,0x00,0x00,0x00,0x00]
411 s_scratch_load_dwordx4 s[20:23], s[2:3], s0
412 // CHECK: [0x01,0x05,0x1c,0xc0,0x00,0x00,0x00,0x00]
414 s_scratch_load_dwordx4 s[24:27], s[2:3], s0
415 // CHECK: [0x01,0x06,0x1c,0xc0,0x00,0x00,0x00,0x00]
417 s_scratch_load_dwordx4 s[96:99], s[2:3], s0
418 // CHECK: [0x01,0x18,0x1c,0xc0,0x00,0x00,0x00,0x00]
420 s_scratch_load_dwordx4 ttmp[12:15], s[2:3], s0
421 // CHECK: [0x01,0x1e,0x1c,0xc0,0x00,0x00,0x00,0x00]
423 s_scratch_load_dwordx4 s[20:23], s[4:5], s0
424 // CHECK: [0x02,0x05,0x1c,0xc0,0x00,0x00,0x00,0x00]
426 s_scratch_load_dwordx4 s[20:23], s[100:101], s0
427 // CHECK: [0x32,0x05,0x1c,0xc0,0x00,0x00,0x00,0x00]
429 s_scratch_load_dwordx4 s[20:23], flat_scratch, s0
430 // CHECK: [0x33,0x05,0x1c,0xc0,0x00,0x00,0x00,0x00]
432 s_scratch_load_dwordx4 s[20:23], vcc, s0
433 // CHECK: [0x35,0x05,0x1c,0xc0,0x00,0x00,0x00,0x00]
435 s_scratch_load_dwordx4 s[20:23], ttmp[14:15], s0
436 // CHECK: [0x3d,0x05,0x1c,0xc0,0x00,0x00,0x00,0x00]
438 s_scratch_load_dwordx4 s[20:23], s[2:3], s101
439 // CHECK: [0x01,0x05,0x1c,0xc0,0x65,0x00,0x00,0x00]
441 s_scratch_load_dwordx4 s[20:23], s[2:3], flat_scratch_lo
442 // CHECK: [0x01,0x05,0x1c,0xc0,0x66,0x00,0x00,0x00]
444 s_scratch_load_dwordx4 s[20:23], s[2:3], flat_scratch_hi
445 // CHECK: [0x01,0x05,0x1c,0xc0,0x67,0x00,0x00,0x00]
447 s_scratch_load_dwordx4 s[20:23], s[2:3], vcc_lo
448 // CHECK: [0x01,0x05,0x1c,0xc0,0x6a,0x00,0x00,0x00]
450 s_scratch_load_dwordx4 s[20:23], s[2:3], vcc_hi
451 // CHECK: [0x01,0x05,0x1c,0xc0,0x6b,0x00,0x00,0x00]
453 s_scratch_load_dwordx4 s[20:23], s[2:3], ttmp15
454 // CHECK: [0x01,0x05,0x1c,0xc0,0x7b,0x00,0x00,0x00]
456 s_scratch_load_dwordx4 s[20:23], s[2:3], m0
457 // CHECK: [0x01,0x05,0x1c,0xc0,0x7c,0x00,0x00,0x00]
459 s_scratch_load_dwordx4 s[20:23], s[2:3], 0x0
460 // CHECK: [0x01,0x05,0x1e,0xc0,0x00,0x00,0x00,0x00]
462 s_scratch_load_dwordx4 s[20:23], s[2:3], s0 glc
463 // CHECK: [0x01,0x05,0x1d,0xc0,0x00,0x00,0x00,0x00]
465 s_buffer_load_dword s5, s[4:7], s0
466 // CHECK: [0x42,0x01,0x20,0xc0,0x00,0x00,0x00,0x00]
468 s_buffer_load_dword s101, s[4:7], s0
469 // CHECK: [0x42,0x19,0x20,0xc0,0x00,0x00,0x00,0x00]
471 s_buffer_load_dword flat_scratch_lo, s[4:7], s0
472 // CHECK: [0x82,0x19,0x20,0xc0,0x00,0x00,0x00,0x00]
474 s_buffer_load_dword flat_scratch_hi, s[4:7], s0
475 // CHECK: [0xc2,0x19,0x20,0xc0,0x00,0x00,0x00,0x00]
477 s_buffer_load_dword vcc_lo, s[4:7], s0
478 // CHECK: [0x82,0x1a,0x20,0xc0,0x00,0x00,0x00,0x00]
480 s_buffer_load_dword vcc_hi, s[4:7], s0
481 // CHECK: [0xc2,0x1a,0x20,0xc0,0x00,0x00,0x00,0x00]
483 s_buffer_load_dword ttmp15, s[4:7], s0
484 // CHECK: [0xc2,0x1e,0x20,0xc0,0x00,0x00,0x00,0x00]
486 s_buffer_load_dword s5, s[8:11], s0
487 // CHECK: [0x44,0x01,0x20,0xc0,0x00,0x00,0x00,0x00]
489 s_buffer_load_dword s5, s[96:99], s0
490 // CHECK: [0x70,0x01,0x20,0xc0,0x00,0x00,0x00,0x00]
492 s_buffer_load_dword s5, ttmp[12:15], s0
493 // CHECK: [0x7c,0x01,0x20,0xc0,0x00,0x00,0x00,0x00]
495 s_buffer_load_dword s5, s[4:7], s101
496 // CHECK: [0x42,0x01,0x20,0xc0,0x65,0x00,0x00,0x00]
498 s_buffer_load_dword s5, s[4:7], flat_scratch_lo
499 // CHECK: [0x42,0x01,0x20,0xc0,0x66,0x00,0x00,0x00]
501 s_buffer_load_dword s5, s[4:7], flat_scratch_hi
502 // CHECK: [0x42,0x01,0x20,0xc0,0x67,0x00,0x00,0x00]
504 s_buffer_load_dword s5, s[4:7], vcc_lo
505 // CHECK: [0x42,0x01,0x20,0xc0,0x6a,0x00,0x00,0x00]
507 s_buffer_load_dword s5, s[4:7], vcc_hi
508 // CHECK: [0x42,0x01,0x20,0xc0,0x6b,0x00,0x00,0x00]
510 s_buffer_load_dword s5, s[4:7], ttmp15
511 // CHECK: [0x42,0x01,0x20,0xc0,0x7b,0x00,0x00,0x00]
513 s_buffer_load_dword s5, s[4:7], m0
514 // CHECK: [0x42,0x01,0x20,0xc0,0x7c,0x00,0x00,0x00]
516 s_buffer_load_dword s5, s[4:7], 0x0
517 // CHECK: [0x42,0x01,0x22,0xc0,0x00,0x00,0x00,0x00]
519 s_buffer_load_dword s5, s[4:7], s0 glc
520 // CHECK: [0x42,0x01,0x21,0xc0,0x00,0x00,0x00,0x00]
522 s_buffer_load_dwordx2 s[10:11], s[4:7], s0
523 // CHECK: [0x82,0x02,0x24,0xc0,0x00,0x00,0x00,0x00]
525 s_buffer_load_dwordx2 s[12:13], s[4:7], s0
526 // CHECK: [0x02,0x03,0x24,0xc0,0x00,0x00,0x00,0x00]
528 s_buffer_load_dwordx2 s[100:101], s[4:7], s0
529 // CHECK: [0x02,0x19,0x24,0xc0,0x00,0x00,0x00,0x00]
531 s_buffer_load_dwordx2 flat_scratch, s[4:7], s0
532 // CHECK: [0x82,0x19,0x24,0xc0,0x00,0x00,0x00,0x00]
534 s_buffer_load_dwordx2 vcc, s[4:7], s0
535 // CHECK: [0x82,0x1a,0x24,0xc0,0x00,0x00,0x00,0x00]
537 s_buffer_load_dwordx2 ttmp[14:15], s[4:7], s0
538 // CHECK: [0x82,0x1e,0x24,0xc0,0x00,0x00,0x00,0x00]
540 s_buffer_load_dwordx2 s[10:11], s[8:11], s0
541 // CHECK: [0x84,0x02,0x24,0xc0,0x00,0x00,0x00,0x00]
543 s_buffer_load_dwordx2 s[10:11], s[96:99], s0
544 // CHECK: [0xb0,0x02,0x24,0xc0,0x00,0x00,0x00,0x00]
546 s_buffer_load_dwordx2 s[10:11], ttmp[12:15], s0
547 // CHECK: [0xbc,0x02,0x24,0xc0,0x00,0x00,0x00,0x00]
549 s_buffer_load_dwordx2 s[10:11], s[4:7], s101
550 // CHECK: [0x82,0x02,0x24,0xc0,0x65,0x00,0x00,0x00]
552 s_buffer_load_dwordx2 s[10:11], s[4:7], flat_scratch_lo
553 // CHECK: [0x82,0x02,0x24,0xc0,0x66,0x00,0x00,0x00]
555 s_buffer_load_dwordx2 s[10:11], s[4:7], flat_scratch_hi
556 // CHECK: [0x82,0x02,0x24,0xc0,0x67,0x00,0x00,0x00]
558 s_buffer_load_dwordx2 s[10:11], s[4:7], vcc_lo
559 // CHECK: [0x82,0x02,0x24,0xc0,0x6a,0x00,0x00,0x00]
561 s_buffer_load_dwordx2 s[10:11], s[4:7], vcc_hi
562 // CHECK: [0x82,0x02,0x24,0xc0,0x6b,0x00,0x00,0x00]
564 s_buffer_load_dwordx2 s[10:11], s[4:7], ttmp15
565 // CHECK: [0x82,0x02,0x24,0xc0,0x7b,0x00,0x00,0x00]
567 s_buffer_load_dwordx2 s[10:11], s[4:7], m0
568 // CHECK: [0x82,0x02,0x24,0xc0,0x7c,0x00,0x00,0x00]
570 s_buffer_load_dwordx2 s[10:11], s[4:7], 0x0
571 // CHECK: [0x82,0x02,0x26,0xc0,0x00,0x00,0x00,0x00]
573 s_buffer_load_dwordx2 s[10:11], s[4:7], s0 glc
574 // CHECK: [0x82,0x02,0x25,0xc0,0x00,0x00,0x00,0x00]
576 s_buffer_load_dwordx4 s[20:23], s[4:7], s0
577 // CHECK: [0x02,0x05,0x28,0xc0,0x00,0x00,0x00,0x00]
579 s_buffer_load_dwordx4 s[24:27], s[4:7], s0
580 // CHECK: [0x02,0x06,0x28,0xc0,0x00,0x00,0x00,0x00]
582 s_buffer_load_dwordx4 s[96:99], s[4:7], s0
583 // CHECK: [0x02,0x18,0x28,0xc0,0x00,0x00,0x00,0x00]
585 s_buffer_load_dwordx4 ttmp[12:15], s[4:7], s0
586 // CHECK: [0x02,0x1e,0x28,0xc0,0x00,0x00,0x00,0x00]
588 s_buffer_load_dwordx4 s[20:23], s[8:11], s0
589 // CHECK: [0x04,0x05,0x28,0xc0,0x00,0x00,0x00,0x00]
591 s_buffer_load_dwordx4 s[20:23], s[96:99], s0
592 // CHECK: [0x30,0x05,0x28,0xc0,0x00,0x00,0x00,0x00]
594 s_buffer_load_dwordx4 s[20:23], ttmp[12:15], s0
595 // CHECK: [0x3c,0x05,0x28,0xc0,0x00,0x00,0x00,0x00]
597 s_buffer_load_dwordx4 s[20:23], s[4:7], s101
598 // CHECK: [0x02,0x05,0x28,0xc0,0x65,0x00,0x00,0x00]
600 s_buffer_load_dwordx4 s[20:23], s[4:7], flat_scratch_lo
601 // CHECK: [0x02,0x05,0x28,0xc0,0x66,0x00,0x00,0x00]
603 s_buffer_load_dwordx4 s[20:23], s[4:7], flat_scratch_hi
604 // CHECK: [0x02,0x05,0x28,0xc0,0x67,0x00,0x00,0x00]
606 s_buffer_load_dwordx4 s[20:23], s[4:7], vcc_lo
607 // CHECK: [0x02,0x05,0x28,0xc0,0x6a,0x00,0x00,0x00]
609 s_buffer_load_dwordx4 s[20:23], s[4:7], vcc_hi
610 // CHECK: [0x02,0x05,0x28,0xc0,0x6b,0x00,0x00,0x00]
612 s_buffer_load_dwordx4 s[20:23], s[4:7], ttmp15
613 // CHECK: [0x02,0x05,0x28,0xc0,0x7b,0x00,0x00,0x00]
615 s_buffer_load_dwordx4 s[20:23], s[4:7], m0
616 // CHECK: [0x02,0x05,0x28,0xc0,0x7c,0x00,0x00,0x00]
618 s_buffer_load_dwordx4 s[20:23], s[4:7], 0x0
619 // CHECK: [0x02,0x05,0x2a,0xc0,0x00,0x00,0x00,0x00]
621 s_buffer_load_dwordx4 s[20:23], s[4:7], s0 glc
622 // CHECK: [0x02,0x05,0x29,0xc0,0x00,0x00,0x00,0x00]
624 s_buffer_load_dwordx8 s[20:27], s[4:7], s0
625 // CHECK: [0x02,0x05,0x2c,0xc0,0x00,0x00,0x00,0x00]
627 s_buffer_load_dwordx8 s[24:31], s[4:7], s0
628 // CHECK: [0x02,0x06,0x2c,0xc0,0x00,0x00,0x00,0x00]
630 s_buffer_load_dwordx8 s[92:99], s[4:7], s0
631 // CHECK: [0x02,0x17,0x2c,0xc0,0x00,0x00,0x00,0x00]
633 s_buffer_load_dwordx8 ttmp[8:15], s[4:7], s0
634 // CHECK: [0x02,0x1d,0x2c,0xc0,0x00,0x00,0x00,0x00]
636 s_buffer_load_dwordx8 s[20:27], s[8:11], s0
637 // CHECK: [0x04,0x05,0x2c,0xc0,0x00,0x00,0x00,0x00]
639 s_buffer_load_dwordx8 s[20:27], s[96:99], s0
640 // CHECK: [0x30,0x05,0x2c,0xc0,0x00,0x00,0x00,0x00]
642 s_buffer_load_dwordx8 s[20:27], ttmp[12:15], s0
643 // CHECK: [0x3c,0x05,0x2c,0xc0,0x00,0x00,0x00,0x00]
645 s_buffer_load_dwordx8 s[20:27], s[4:7], s101
646 // CHECK: [0x02,0x05,0x2c,0xc0,0x65,0x00,0x00,0x00]
648 s_buffer_load_dwordx8 s[20:27], s[4:7], flat_scratch_lo
649 // CHECK: [0x02,0x05,0x2c,0xc0,0x66,0x00,0x00,0x00]
651 s_buffer_load_dwordx8 s[20:27], s[4:7], flat_scratch_hi
652 // CHECK: [0x02,0x05,0x2c,0xc0,0x67,0x00,0x00,0x00]
654 s_buffer_load_dwordx8 s[20:27], s[4:7], vcc_lo
655 // CHECK: [0x02,0x05,0x2c,0xc0,0x6a,0x00,0x00,0x00]
657 s_buffer_load_dwordx8 s[20:27], s[4:7], vcc_hi
658 // CHECK: [0x02,0x05,0x2c,0xc0,0x6b,0x00,0x00,0x00]
660 s_buffer_load_dwordx8 s[20:27], s[4:7], ttmp15
661 // CHECK: [0x02,0x05,0x2c,0xc0,0x7b,0x00,0x00,0x00]
663 s_buffer_load_dwordx8 s[20:27], s[4:7], m0
664 // CHECK: [0x02,0x05,0x2c,0xc0,0x7c,0x00,0x00,0x00]
666 s_buffer_load_dwordx8 s[20:27], s[4:7], 0x0
667 // CHECK: [0x02,0x05,0x2e,0xc0,0x00,0x00,0x00,0x00]
669 s_buffer_load_dwordx8 s[20:27], s[4:7], s0 glc
670 // CHECK: [0x02,0x05,0x2d,0xc0,0x00,0x00,0x00,0x00]
672 s_buffer_load_dwordx16 s[20:35], s[4:7], s0
673 // CHECK: [0x02,0x05,0x30,0xc0,0x00,0x00,0x00,0x00]
675 s_buffer_load_dwordx16 s[24:39], s[4:7], s0
676 // CHECK: [0x02,0x06,0x30,0xc0,0x00,0x00,0x00,0x00]
678 s_buffer_load_dwordx16 s[84:99], s[4:7], s0
679 // CHECK: [0x02,0x15,0x30,0xc0,0x00,0x00,0x00,0x00]
681 s_buffer_load_dwordx16 ttmp[0:15], s[4:7], s0
682 // CHECK: [0x02,0x1b,0x30,0xc0,0x00,0x00,0x00,0x00]
684 s_buffer_load_dwordx16 s[20:35], s[8:11], s0
685 // CHECK: [0x04,0x05,0x30,0xc0,0x00,0x00,0x00,0x00]
687 s_buffer_load_dwordx16 s[20:35], s[96:99], s0
688 // CHECK: [0x30,0x05,0x30,0xc0,0x00,0x00,0x00,0x00]
690 s_buffer_load_dwordx16 s[20:35], ttmp[12:15], s0
691 // CHECK: [0x3c,0x05,0x30,0xc0,0x00,0x00,0x00,0x00]
693 s_buffer_load_dwordx16 s[20:35], s[4:7], s101
694 // CHECK: [0x02,0x05,0x30,0xc0,0x65,0x00,0x00,0x00]
696 s_buffer_load_dwordx16 s[20:35], s[4:7], flat_scratch_lo
697 // CHECK: [0x02,0x05,0x30,0xc0,0x66,0x00,0x00,0x00]
699 s_buffer_load_dwordx16 s[20:35], s[4:7], flat_scratch_hi
700 // CHECK: [0x02,0x05,0x30,0xc0,0x67,0x00,0x00,0x00]
702 s_buffer_load_dwordx16 s[20:35], s[4:7], vcc_lo
703 // CHECK: [0x02,0x05,0x30,0xc0,0x6a,0x00,0x00,0x00]
705 s_buffer_load_dwordx16 s[20:35], s[4:7], vcc_hi
706 // CHECK: [0x02,0x05,0x30,0xc0,0x6b,0x00,0x00,0x00]
708 s_buffer_load_dwordx16 s[20:35], s[4:7], ttmp15
709 // CHECK: [0x02,0x05,0x30,0xc0,0x7b,0x00,0x00,0x00]
711 s_buffer_load_dwordx16 s[20:35], s[4:7], m0
712 // CHECK: [0x02,0x05,0x30,0xc0,0x7c,0x00,0x00,0x00]
714 s_buffer_load_dwordx16 s[20:35], s[4:7], 0x0
715 // CHECK: [0x02,0x05,0x32,0xc0,0x00,0x00,0x00,0x00]
717 s_buffer_load_dwordx16 s[20:35], s[4:7], s0 glc
718 // CHECK: [0x02,0x05,0x31,0xc0,0x00,0x00,0x00,0x00]
720 s_store_dword s1, s[4:5], s0
721 // CHECK: [0x42,0x00,0x40,0xc0,0x00,0x00,0x00,0x00]
723 s_store_dword s101, s[4:5], s0
724 // CHECK: [0x42,0x19,0x40,0xc0,0x00,0x00,0x00,0x00]
726 s_store_dword flat_scratch_lo, s[4:5], s0
727 // CHECK: [0x82,0x19,0x40,0xc0,0x00,0x00,0x00,0x00]
729 s_store_dword flat_scratch_hi, s[4:5], s0
730 // CHECK: [0xc2,0x19,0x40,0xc0,0x00,0x00,0x00,0x00]
732 s_store_dword vcc_lo, s[4:5], s0
733 // CHECK: [0x82,0x1a,0x40,0xc0,0x00,0x00,0x00,0x00]
735 s_store_dword vcc_hi, s[4:5], s0
736 // CHECK: [0xc2,0x1a,0x40,0xc0,0x00,0x00,0x00,0x00]
738 s_store_dword ttmp15, s[4:5], s0
739 // CHECK: [0xc2,0x1e,0x40,0xc0,0x00,0x00,0x00,0x00]
741 s_store_dword s1, s[6:7], s0
742 // CHECK: [0x43,0x00,0x40,0xc0,0x00,0x00,0x00,0x00]
744 s_store_dword s1, s[100:101], s0
745 // CHECK: [0x72,0x00,0x40,0xc0,0x00,0x00,0x00,0x00]
747 s_store_dword s1, flat_scratch, s0
748 // CHECK: [0x73,0x00,0x40,0xc0,0x00,0x00,0x00,0x00]
750 s_store_dword s1, vcc, s0
751 // CHECK: [0x75,0x00,0x40,0xc0,0x00,0x00,0x00,0x00]
753 s_store_dword s1, ttmp[14:15], s0
754 // CHECK: [0x7d,0x00,0x40,0xc0,0x00,0x00,0x00,0x00]
756 s_store_dword s1, s[4:5], s101
757 // CHECK: [0x42,0x00,0x40,0xc0,0x65,0x00,0x00,0x00]
759 s_store_dword s1, s[4:5], flat_scratch_lo
760 // CHECK: [0x42,0x00,0x40,0xc0,0x66,0x00,0x00,0x00]
762 s_store_dword s1, s[4:5], flat_scratch_hi
763 // CHECK: [0x42,0x00,0x40,0xc0,0x67,0x00,0x00,0x00]
765 s_store_dword s1, s[4:5], vcc_lo
766 // CHECK: [0x42,0x00,0x40,0xc0,0x6a,0x00,0x00,0x00]
768 s_store_dword s1, s[4:5], vcc_hi
769 // CHECK: [0x42,0x00,0x40,0xc0,0x6b,0x00,0x00,0x00]
771 s_store_dword s1, s[4:5], ttmp15
772 // CHECK: [0x42,0x00,0x40,0xc0,0x7b,0x00,0x00,0x00]
774 s_store_dword s1, s[4:5], m0
775 // CHECK: [0x42,0x00,0x40,0xc0,0x7c,0x00,0x00,0x00]
777 s_store_dword s1, s[4:5], 0x0
778 // CHECK: [0x42,0x00,0x42,0xc0,0x00,0x00,0x00,0x00]
780 s_store_dword s1, s[4:5], s0 glc
781 // CHECK: [0x42,0x00,0x41,0xc0,0x00,0x00,0x00,0x00]
783 s_store_dwordx2 s[2:3], s[4:5], s0
784 // CHECK: [0x82,0x00,0x44,0xc0,0x00,0x00,0x00,0x00]
786 s_store_dwordx2 s[4:5], s[4:5], s0
787 // CHECK: [0x02,0x01,0x44,0xc0,0x00,0x00,0x00,0x00]
789 s_store_dwordx2 s[100:101], s[4:5], s0
790 // CHECK: [0x02,0x19,0x44,0xc0,0x00,0x00,0x00,0x00]
792 s_store_dwordx2 flat_scratch, s[4:5], s0
793 // CHECK: [0x82,0x19,0x44,0xc0,0x00,0x00,0x00,0x00]
795 s_store_dwordx2 vcc, s[4:5], s0
796 // CHECK: [0x82,0x1a,0x44,0xc0,0x00,0x00,0x00,0x00]
798 s_store_dwordx2 ttmp[14:15], s[4:5], s0
799 // CHECK: [0x82,0x1e,0x44,0xc0,0x00,0x00,0x00,0x00]
801 s_store_dwordx2 s[2:3], s[6:7], s0
802 // CHECK: [0x83,0x00,0x44,0xc0,0x00,0x00,0x00,0x00]
804 s_store_dwordx2 s[2:3], s[100:101], s0
805 // CHECK: [0xb2,0x00,0x44,0xc0,0x00,0x00,0x00,0x00]
807 s_store_dwordx2 s[2:3], flat_scratch, s0
808 // CHECK: [0xb3,0x00,0x44,0xc0,0x00,0x00,0x00,0x00]
810 s_store_dwordx2 s[2:3], vcc, s0
811 // CHECK: [0xb5,0x00,0x44,0xc0,0x00,0x00,0x00,0x00]
813 s_store_dwordx2 s[2:3], ttmp[14:15], s0
814 // CHECK: [0xbd,0x00,0x44,0xc0,0x00,0x00,0x00,0x00]
816 s_store_dwordx2 s[2:3], s[4:5], s101
817 // CHECK: [0x82,0x00,0x44,0xc0,0x65,0x00,0x00,0x00]
819 s_store_dwordx2 s[2:3], s[4:5], flat_scratch_lo
820 // CHECK: [0x82,0x00,0x44,0xc0,0x66,0x00,0x00,0x00]
822 s_store_dwordx2 s[2:3], s[4:5], flat_scratch_hi
823 // CHECK: [0x82,0x00,0x44,0xc0,0x67,0x00,0x00,0x00]
825 s_store_dwordx2 s[2:3], s[4:5], vcc_lo
826 // CHECK: [0x82,0x00,0x44,0xc0,0x6a,0x00,0x00,0x00]
828 s_store_dwordx2 s[2:3], s[4:5], vcc_hi
829 // CHECK: [0x82,0x00,0x44,0xc0,0x6b,0x00,0x00,0x00]
831 s_store_dwordx2 s[2:3], s[4:5], ttmp15
832 // CHECK: [0x82,0x00,0x44,0xc0,0x7b,0x00,0x00,0x00]
834 s_store_dwordx2 s[2:3], s[4:5], m0
835 // CHECK: [0x82,0x00,0x44,0xc0,0x7c,0x00,0x00,0x00]
837 s_store_dwordx2 s[2:3], s[4:5], 0x0
838 // CHECK: [0x82,0x00,0x46,0xc0,0x00,0x00,0x00,0x00]
840 s_store_dwordx2 s[2:3], s[4:5], s0 glc
841 // CHECK: [0x82,0x00,0x45,0xc0,0x00,0x00,0x00,0x00]
843 s_store_dwordx4 s[4:7], s[4:5], s0
844 // CHECK: [0x02,0x01,0x48,0xc0,0x00,0x00,0x00,0x00]
846 s_store_dwordx4 s[8:11], s[4:5], s0
847 // CHECK: [0x02,0x02,0x48,0xc0,0x00,0x00,0x00,0x00]
849 s_store_dwordx4 s[96:99], s[4:5], s0
850 // CHECK: [0x02,0x18,0x48,0xc0,0x00,0x00,0x00,0x00]
852 s_store_dwordx4 ttmp[12:15], s[4:5], s0
853 // CHECK: [0x02,0x1e,0x48,0xc0,0x00,0x00,0x00,0x00]
855 s_store_dwordx4 s[4:7], s[6:7], s0
856 // CHECK: [0x03,0x01,0x48,0xc0,0x00,0x00,0x00,0x00]
858 s_store_dwordx4 s[4:7], s[100:101], s0
859 // CHECK: [0x32,0x01,0x48,0xc0,0x00,0x00,0x00,0x00]
861 s_store_dwordx4 s[4:7], flat_scratch, s0
862 // CHECK: [0x33,0x01,0x48,0xc0,0x00,0x00,0x00,0x00]
864 s_store_dwordx4 s[4:7], vcc, s0
865 // CHECK: [0x35,0x01,0x48,0xc0,0x00,0x00,0x00,0x00]
867 s_store_dwordx4 s[4:7], ttmp[14:15], s0
868 // CHECK: [0x3d,0x01,0x48,0xc0,0x00,0x00,0x00,0x00]
870 s_store_dwordx4 s[4:7], s[4:5], s101
871 // CHECK: [0x02,0x01,0x48,0xc0,0x65,0x00,0x00,0x00]
873 s_store_dwordx4 s[4:7], s[4:5], flat_scratch_lo
874 // CHECK: [0x02,0x01,0x48,0xc0,0x66,0x00,0x00,0x00]
876 s_store_dwordx4 s[4:7], s[4:5], flat_scratch_hi
877 // CHECK: [0x02,0x01,0x48,0xc0,0x67,0x00,0x00,0x00]
879 s_store_dwordx4 s[4:7], s[4:5], vcc_lo
880 // CHECK: [0x02,0x01,0x48,0xc0,0x6a,0x00,0x00,0x00]
882 s_store_dwordx4 s[4:7], s[4:5], vcc_hi
883 // CHECK: [0x02,0x01,0x48,0xc0,0x6b,0x00,0x00,0x00]
885 s_store_dwordx4 s[4:7], s[4:5], ttmp15
886 // CHECK: [0x02,0x01,0x48,0xc0,0x7b,0x00,0x00,0x00]
888 s_store_dwordx4 s[4:7], s[4:5], m0
889 // CHECK: [0x02,0x01,0x48,0xc0,0x7c,0x00,0x00,0x00]
891 s_store_dwordx4 s[4:7], s[4:5], 0x0
892 // CHECK: [0x02,0x01,0x4a,0xc0,0x00,0x00,0x00,0x00]
894 s_store_dwordx4 s[4:7], s[4:5], s0 glc
895 // CHECK: [0x02,0x01,0x49,0xc0,0x00,0x00,0x00,0x00]
897 s_scratch_store_dword s1, s[4:5], s0
898 // CHECK: [0x42,0x00,0x54,0xc0,0x00,0x00,0x00,0x00]
900 s_scratch_store_dword s101, s[4:5], s0
901 // CHECK: [0x42,0x19,0x54,0xc0,0x00,0x00,0x00,0x00]
903 s_scratch_store_dword flat_scratch_lo, s[4:5], s0
904 // CHECK: [0x82,0x19,0x54,0xc0,0x00,0x00,0x00,0x00]
906 s_scratch_store_dword flat_scratch_hi, s[4:5], s0
907 // CHECK: [0xc2,0x19,0x54,0xc0,0x00,0x00,0x00,0x00]
909 s_scratch_store_dword vcc_lo, s[4:5], s0
910 // CHECK: [0x82,0x1a,0x54,0xc0,0x00,0x00,0x00,0x00]
912 s_scratch_store_dword vcc_hi, s[4:5], s0
913 // CHECK: [0xc2,0x1a,0x54,0xc0,0x00,0x00,0x00,0x00]
915 s_scratch_store_dword ttmp15, s[4:5], s0
916 // CHECK: [0xc2,0x1e,0x54,0xc0,0x00,0x00,0x00,0x00]
918 s_scratch_store_dword s1, s[6:7], s0
919 // CHECK: [0x43,0x00,0x54,0xc0,0x00,0x00,0x00,0x00]
921 s_scratch_store_dword s1, s[100:101], s0
922 // CHECK: [0x72,0x00,0x54,0xc0,0x00,0x00,0x00,0x00]
924 s_scratch_store_dword s1, flat_scratch, s0
925 // CHECK: [0x73,0x00,0x54,0xc0,0x00,0x00,0x00,0x00]
927 s_scratch_store_dword s1, vcc, s0
928 // CHECK: [0x75,0x00,0x54,0xc0,0x00,0x00,0x00,0x00]
930 s_scratch_store_dword s1, ttmp[14:15], s0
931 // CHECK: [0x7d,0x00,0x54,0xc0,0x00,0x00,0x00,0x00]
933 s_scratch_store_dword s1, s[4:5], s101
934 // CHECK: [0x42,0x00,0x54,0xc0,0x65,0x00,0x00,0x00]
936 s_scratch_store_dword s1, s[4:5], flat_scratch_lo
937 // CHECK: [0x42,0x00,0x54,0xc0,0x66,0x00,0x00,0x00]
939 s_scratch_store_dword s1, s[4:5], flat_scratch_hi
940 // CHECK: [0x42,0x00,0x54,0xc0,0x67,0x00,0x00,0x00]
942 s_scratch_store_dword s1, s[4:5], vcc_lo
943 // CHECK: [0x42,0x00,0x54,0xc0,0x6a,0x00,0x00,0x00]
945 s_scratch_store_dword s1, s[4:5], vcc_hi
946 // CHECK: [0x42,0x00,0x54,0xc0,0x6b,0x00,0x00,0x00]
948 s_scratch_store_dword s1, s[4:5], ttmp15
949 // CHECK: [0x42,0x00,0x54,0xc0,0x7b,0x00,0x00,0x00]
951 s_scratch_store_dword s1, s[4:5], m0
952 // CHECK: [0x42,0x00,0x54,0xc0,0x7c,0x00,0x00,0x00]
954 s_scratch_store_dword s1, s[4:5], 0x0
955 // CHECK: [0x42,0x00,0x56,0xc0,0x00,0x00,0x00,0x00]
957 s_scratch_store_dword s1, s[4:5], s0 glc
958 // CHECK: [0x42,0x00,0x55,0xc0,0x00,0x00,0x00,0x00]
960 s_scratch_store_dwordx2 s[2:3], s[4:5], s0
961 // CHECK: [0x82,0x00,0x58,0xc0,0x00,0x00,0x00,0x00]
963 s_scratch_store_dwordx2 s[4:5], s[4:5], s0
964 // CHECK: [0x02,0x01,0x58,0xc0,0x00,0x00,0x00,0x00]
966 s_scratch_store_dwordx2 s[100:101], s[4:5], s0
967 // CHECK: [0x02,0x19,0x58,0xc0,0x00,0x00,0x00,0x00]
969 s_scratch_store_dwordx2 flat_scratch, s[4:5], s0
970 // CHECK: [0x82,0x19,0x58,0xc0,0x00,0x00,0x00,0x00]
972 s_scratch_store_dwordx2 vcc, s[4:5], s0
973 // CHECK: [0x82,0x1a,0x58,0xc0,0x00,0x00,0x00,0x00]
975 s_scratch_store_dwordx2 ttmp[14:15], s[4:5], s0
976 // CHECK: [0x82,0x1e,0x58,0xc0,0x00,0x00,0x00,0x00]
978 s_scratch_store_dwordx2 s[2:3], s[6:7], s0
979 // CHECK: [0x83,0x00,0x58,0xc0,0x00,0x00,0x00,0x00]
981 s_scratch_store_dwordx2 s[2:3], s[100:101], s0
982 // CHECK: [0xb2,0x00,0x58,0xc0,0x00,0x00,0x00,0x00]
984 s_scratch_store_dwordx2 s[2:3], flat_scratch, s0
985 // CHECK: [0xb3,0x00,0x58,0xc0,0x00,0x00,0x00,0x00]
987 s_scratch_store_dwordx2 s[2:3], vcc, s0
988 // CHECK: [0xb5,0x00,0x58,0xc0,0x00,0x00,0x00,0x00]
990 s_scratch_store_dwordx2 s[2:3], ttmp[14:15], s0
991 // CHECK: [0xbd,0x00,0x58,0xc0,0x00,0x00,0x00,0x00]
993 s_scratch_store_dwordx2 s[2:3], s[4:5], s101
994 // CHECK: [0x82,0x00,0x58,0xc0,0x65,0x00,0x00,0x00]
996 s_scratch_store_dwordx2 s[2:3], s[4:5], flat_scratch_lo
997 // CHECK: [0x82,0x00,0x58,0xc0,0x66,0x00,0x00,0x00]
999 s_scratch_store_dwordx2 s[2:3], s[4:5], flat_scratch_hi
1000 // CHECK: [0x82,0x00,0x58,0xc0,0x67,0x00,0x00,0x00]
1002 s_scratch_store_dwordx2 s[2:3], s[4:5], vcc_lo
1003 // CHECK: [0x82,0x00,0x58,0xc0,0x6a,0x00,0x00,0x00]
1005 s_scratch_store_dwordx2 s[2:3], s[4:5], vcc_hi
1006 // CHECK: [0x82,0x00,0x58,0xc0,0x6b,0x00,0x00,0x00]
1008 s_scratch_store_dwordx2 s[2:3], s[4:5], ttmp15
1009 // CHECK: [0x82,0x00,0x58,0xc0,0x7b,0x00,0x00,0x00]
1011 s_scratch_store_dwordx2 s[2:3], s[4:5], m0
1012 // CHECK: [0x82,0x00,0x58,0xc0,0x7c,0x00,0x00,0x00]
1014 s_scratch_store_dwordx2 s[2:3], s[4:5], 0x0
1015 // CHECK: [0x82,0x00,0x5a,0xc0,0x00,0x00,0x00,0x00]
1017 s_scratch_store_dwordx2 s[2:3], s[4:5], s0 glc
1018 // CHECK: [0x82,0x00,0x59,0xc0,0x00,0x00,0x00,0x00]
1020 s_scratch_store_dwordx4 s[4:7], s[4:5], s0
1021 // CHECK: [0x02,0x01,0x5c,0xc0,0x00,0x00,0x00,0x00]
1023 s_scratch_store_dwordx4 s[8:11], s[4:5], s0
1024 // CHECK: [0x02,0x02,0x5c,0xc0,0x00,0x00,0x00,0x00]
1026 s_scratch_store_dwordx4 s[96:99], s[4:5], s0
1027 // CHECK: [0x02,0x18,0x5c,0xc0,0x00,0x00,0x00,0x00]
1029 s_scratch_store_dwordx4 ttmp[12:15], s[4:5], s0
1030 // CHECK: [0x02,0x1e,0x5c,0xc0,0x00,0x00,0x00,0x00]
1032 s_scratch_store_dwordx4 s[4:7], s[6:7], s0
1033 // CHECK: [0x03,0x01,0x5c,0xc0,0x00,0x00,0x00,0x00]
1035 s_scratch_store_dwordx4 s[4:7], s[100:101], s0
1036 // CHECK: [0x32,0x01,0x5c,0xc0,0x00,0x00,0x00,0x00]
1038 s_scratch_store_dwordx4 s[4:7], flat_scratch, s0
1039 // CHECK: [0x33,0x01,0x5c,0xc0,0x00,0x00,0x00,0x00]
1041 s_scratch_store_dwordx4 s[4:7], vcc, s0
1042 // CHECK: [0x35,0x01,0x5c,0xc0,0x00,0x00,0x00,0x00]
1044 s_scratch_store_dwordx4 s[4:7], ttmp[14:15], s0
1045 // CHECK: [0x3d,0x01,0x5c,0xc0,0x00,0x00,0x00,0x00]
1047 s_scratch_store_dwordx4 s[4:7], s[4:5], s101
1048 // CHECK: [0x02,0x01,0x5c,0xc0,0x65,0x00,0x00,0x00]
1050 s_scratch_store_dwordx4 s[4:7], s[4:5], flat_scratch_lo
1051 // CHECK: [0x02,0x01,0x5c,0xc0,0x66,0x00,0x00,0x00]
1053 s_scratch_store_dwordx4 s[4:7], s[4:5], flat_scratch_hi
1054 // CHECK: [0x02,0x01,0x5c,0xc0,0x67,0x00,0x00,0x00]
1056 s_scratch_store_dwordx4 s[4:7], s[4:5], vcc_lo
1057 // CHECK: [0x02,0x01,0x5c,0xc0,0x6a,0x00,0x00,0x00]
1059 s_scratch_store_dwordx4 s[4:7], s[4:5], vcc_hi
1060 // CHECK: [0x02,0x01,0x5c,0xc0,0x6b,0x00,0x00,0x00]
1062 s_scratch_store_dwordx4 s[4:7], s[4:5], ttmp15
1063 // CHECK: [0x02,0x01,0x5c,0xc0,0x7b,0x00,0x00,0x00]
1065 s_scratch_store_dwordx4 s[4:7], s[4:5], m0
1066 // CHECK: [0x02,0x01,0x5c,0xc0,0x7c,0x00,0x00,0x00]
1068 s_scratch_store_dwordx4 s[4:7], s[4:5], 0x0
1069 // CHECK: [0x02,0x01,0x5e,0xc0,0x00,0x00,0x00,0x00]
1071 s_scratch_store_dwordx4 s[4:7], s[4:5], s0 glc
1072 // CHECK: [0x02,0x01,0x5d,0xc0,0x00,0x00,0x00,0x00]
1074 s_buffer_store_dword s1, s[8:11], s0
1075 // CHECK: [0x44,0x00,0x60,0xc0,0x00,0x00,0x00,0x00]
1077 s_buffer_store_dword s101, s[8:11], s0
1078 // CHECK: [0x44,0x19,0x60,0xc0,0x00,0x00,0x00,0x00]
1080 s_buffer_store_dword flat_scratch_lo, s[8:11], s0
1081 // CHECK: [0x84,0x19,0x60,0xc0,0x00,0x00,0x00,0x00]
1083 s_buffer_store_dword flat_scratch_hi, s[8:11], s0
1084 // CHECK: [0xc4,0x19,0x60,0xc0,0x00,0x00,0x00,0x00]
1086 s_buffer_store_dword vcc_lo, s[8:11], s0
1087 // CHECK: [0x84,0x1a,0x60,0xc0,0x00,0x00,0x00,0x00]
1089 s_buffer_store_dword vcc_hi, s[8:11], s0
1090 // CHECK: [0xc4,0x1a,0x60,0xc0,0x00,0x00,0x00,0x00]
1092 s_buffer_store_dword ttmp15, s[8:11], s0
1093 // CHECK: [0xc4,0x1e,0x60,0xc0,0x00,0x00,0x00,0x00]
1095 s_buffer_store_dword s1, s[12:15], s0
1096 // CHECK: [0x46,0x00,0x60,0xc0,0x00,0x00,0x00,0x00]
1098 s_buffer_store_dword s1, s[96:99], s0
1099 // CHECK: [0x70,0x00,0x60,0xc0,0x00,0x00,0x00,0x00]
1101 s_buffer_store_dword s1, ttmp[12:15], s0
1102 // CHECK: [0x7c,0x00,0x60,0xc0,0x00,0x00,0x00,0x00]
1104 s_buffer_store_dword s1, s[8:11], s101
1105 // CHECK: [0x44,0x00,0x60,0xc0,0x65,0x00,0x00,0x00]
1107 s_buffer_store_dword s1, s[8:11], flat_scratch_lo
1108 // CHECK: [0x44,0x00,0x60,0xc0,0x66,0x00,0x00,0x00]
1110 s_buffer_store_dword s1, s[8:11], flat_scratch_hi
1111 // CHECK: [0x44,0x00,0x60,0xc0,0x67,0x00,0x00,0x00]
1113 s_buffer_store_dword s1, s[8:11], vcc_lo
1114 // CHECK: [0x44,0x00,0x60,0xc0,0x6a,0x00,0x00,0x00]
1116 s_buffer_store_dword s1, s[8:11], vcc_hi
1117 // CHECK: [0x44,0x00,0x60,0xc0,0x6b,0x00,0x00,0x00]
1119 s_buffer_store_dword s1, s[8:11], ttmp15
1120 // CHECK: [0x44,0x00,0x60,0xc0,0x7b,0x00,0x00,0x00]
1122 s_buffer_store_dword s1, s[8:11], m0
1123 // CHECK: [0x44,0x00,0x60,0xc0,0x7c,0x00,0x00,0x00]
1125 s_buffer_store_dword s1, s[8:11], 0x0
1126 // CHECK: [0x44,0x00,0x62,0xc0,0x00,0x00,0x00,0x00]
1128 s_buffer_store_dword s1, s[8:11], s0 glc
1129 // CHECK: [0x44,0x00,0x61,0xc0,0x00,0x00,0x00,0x00]
1131 s_buffer_store_dwordx2 s[2:3], s[8:11], s0
1132 // CHECK: [0x84,0x00,0x64,0xc0,0x00,0x00,0x00,0x00]
1134 s_buffer_store_dwordx2 s[4:5], s[8:11], s0
1135 // CHECK: [0x04,0x01,0x64,0xc0,0x00,0x00,0x00,0x00]
1137 s_buffer_store_dwordx2 s[100:101], s[8:11], s0
1138 // CHECK: [0x04,0x19,0x64,0xc0,0x00,0x00,0x00,0x00]
1140 s_buffer_store_dwordx2 flat_scratch, s[8:11], s0
1141 // CHECK: [0x84,0x19,0x64,0xc0,0x00,0x00,0x00,0x00]
1143 s_buffer_store_dwordx2 vcc, s[8:11], s0
1144 // CHECK: [0x84,0x1a,0x64,0xc0,0x00,0x00,0x00,0x00]
1146 s_buffer_store_dwordx2 ttmp[14:15], s[8:11], s0
1147 // CHECK: [0x84,0x1e,0x64,0xc0,0x00,0x00,0x00,0x00]
1149 s_buffer_store_dwordx2 s[2:3], s[12:15], s0
1150 // CHECK: [0x86,0x00,0x64,0xc0,0x00,0x00,0x00,0x00]
1152 s_buffer_store_dwordx2 s[2:3], s[96:99], s0
1153 // CHECK: [0xb0,0x00,0x64,0xc0,0x00,0x00,0x00,0x00]
1155 s_buffer_store_dwordx2 s[2:3], ttmp[12:15], s0
1156 // CHECK: [0xbc,0x00,0x64,0xc0,0x00,0x00,0x00,0x00]
1158 s_buffer_store_dwordx2 s[2:3], s[8:11], s101
1159 // CHECK: [0x84,0x00,0x64,0xc0,0x65,0x00,0x00,0x00]
1161 s_buffer_store_dwordx2 s[2:3], s[8:11], flat_scratch_lo
1162 // CHECK: [0x84,0x00,0x64,0xc0,0x66,0x00,0x00,0x00]
1164 s_buffer_store_dwordx2 s[2:3], s[8:11], flat_scratch_hi
1165 // CHECK: [0x84,0x00,0x64,0xc0,0x67,0x00,0x00,0x00]
1167 s_buffer_store_dwordx2 s[2:3], s[8:11], vcc_lo
1168 // CHECK: [0x84,0x00,0x64,0xc0,0x6a,0x00,0x00,0x00]
1170 s_buffer_store_dwordx2 s[2:3], s[8:11], vcc_hi
1171 // CHECK: [0x84,0x00,0x64,0xc0,0x6b,0x00,0x00,0x00]
1173 s_buffer_store_dwordx2 s[2:3], s[8:11], ttmp15
1174 // CHECK: [0x84,0x00,0x64,0xc0,0x7b,0x00,0x00,0x00]
1176 s_buffer_store_dwordx2 s[2:3], s[8:11], m0
1177 // CHECK: [0x84,0x00,0x64,0xc0,0x7c,0x00,0x00,0x00]
1179 s_buffer_store_dwordx2 s[2:3], s[8:11], 0x0
1180 // CHECK: [0x84,0x00,0x66,0xc0,0x00,0x00,0x00,0x00]
1182 s_buffer_store_dwordx2 s[2:3], s[8:11], s0 glc
1183 // CHECK: [0x84,0x00,0x65,0xc0,0x00,0x00,0x00,0x00]
1185 s_buffer_store_dwordx4 s[4:7], s[8:11], s0
1186 // CHECK: [0x04,0x01,0x68,0xc0,0x00,0x00,0x00,0x00]
1188 s_buffer_store_dwordx4 s[8:11], s[8:11], s0
1189 // CHECK: [0x04,0x02,0x68,0xc0,0x00,0x00,0x00,0x00]
1191 s_buffer_store_dwordx4 s[96:99], s[8:11], s0
1192 // CHECK: [0x04,0x18,0x68,0xc0,0x00,0x00,0x00,0x00]
1194 s_buffer_store_dwordx4 ttmp[12:15], s[8:11], s0
1195 // CHECK: [0x04,0x1e,0x68,0xc0,0x00,0x00,0x00,0x00]
1197 s_buffer_store_dwordx4 s[4:7], s[12:15], s0
1198 // CHECK: [0x06,0x01,0x68,0xc0,0x00,0x00,0x00,0x00]
1200 s_buffer_store_dwordx4 s[4:7], s[96:99], s0
1201 // CHECK: [0x30,0x01,0x68,0xc0,0x00,0x00,0x00,0x00]
1203 s_buffer_store_dwordx4 s[4:7], ttmp[12:15], s0
1204 // CHECK: [0x3c,0x01,0x68,0xc0,0x00,0x00,0x00,0x00]
1206 s_buffer_store_dwordx4 s[4:7], s[8:11], s101
1207 // CHECK: [0x04,0x01,0x68,0xc0,0x65,0x00,0x00,0x00]
1209 s_buffer_store_dwordx4 s[4:7], s[8:11], flat_scratch_lo
1210 // CHECK: [0x04,0x01,0x68,0xc0,0x66,0x00,0x00,0x00]
1212 s_buffer_store_dwordx4 s[4:7], s[8:11], flat_scratch_hi
1213 // CHECK: [0x04,0x01,0x68,0xc0,0x67,0x00,0x00,0x00]
1215 s_buffer_store_dwordx4 s[4:7], s[8:11], vcc_lo
1216 // CHECK: [0x04,0x01,0x68,0xc0,0x6a,0x00,0x00,0x00]
1218 s_buffer_store_dwordx4 s[4:7], s[8:11], vcc_hi
1219 // CHECK: [0x04,0x01,0x68,0xc0,0x6b,0x00,0x00,0x00]
1221 s_buffer_store_dwordx4 s[4:7], s[8:11], ttmp15
1222 // CHECK: [0x04,0x01,0x68,0xc0,0x7b,0x00,0x00,0x00]
1224 s_buffer_store_dwordx4 s[4:7], s[8:11], m0
1225 // CHECK: [0x04,0x01,0x68,0xc0,0x7c,0x00,0x00,0x00]
1227 s_buffer_store_dwordx4 s[4:7], s[8:11], 0x0
1228 // CHECK: [0x04,0x01,0x6a,0xc0,0x00,0x00,0x00,0x00]
1230 s_buffer_store_dwordx4 s[4:7], s[8:11], s0 glc
1231 // CHECK: [0x04,0x01,0x69,0xc0,0x00,0x00,0x00,0x00]
1233 s_dcache_inv
1234 // CHECK: [0x00,0x00,0x80,0xc0,0x00,0x00,0x00,0x00]
1236 s_dcache_wb
1237 // CHECK: [0x00,0x00,0x84,0xc0,0x00,0x00,0x00,0x00]
1239 s_dcache_inv_vol
1240 // CHECK: [0x00,0x00,0x88,0xc0,0x00,0x00,0x00,0x00]
1242 s_dcache_wb_vol
1243 // CHECK: [0x00,0x00,0x8c,0xc0,0x00,0x00,0x00,0x00]
1245 s_memtime s[10:11]
1246 // CHECK: [0x80,0x02,0x90,0xc0,0x00,0x00,0x00,0x00]
1248 s_memtime s[12:13]
1249 // CHECK: [0x00,0x03,0x90,0xc0,0x00,0x00,0x00,0x00]
1251 s_memtime s[100:101]
1252 // CHECK: [0x00,0x19,0x90,0xc0,0x00,0x00,0x00,0x00]
1254 s_memtime flat_scratch
1255 // CHECK: [0x80,0x19,0x90,0xc0,0x00,0x00,0x00,0x00]
1257 s_memtime vcc
1258 // CHECK: [0x80,0x1a,0x90,0xc0,0x00,0x00,0x00,0x00]
1260 s_memtime ttmp[14:15]
1261 // CHECK: [0x80,0x1e,0x90,0xc0,0x00,0x00,0x00,0x00]
1263 s_memrealtime s[10:11]
1264 // CHECK: [0x80,0x02,0x94,0xc0,0x00,0x00,0x00,0x00]
1266 s_memrealtime s[12:13]
1267 // CHECK: [0x00,0x03,0x94,0xc0,0x00,0x00,0x00,0x00]
1269 s_memrealtime s[100:101]
1270 // CHECK: [0x00,0x19,0x94,0xc0,0x00,0x00,0x00,0x00]
1272 s_memrealtime flat_scratch
1273 // CHECK: [0x80,0x19,0x94,0xc0,0x00,0x00,0x00,0x00]
1275 s_memrealtime vcc
1276 // CHECK: [0x80,0x1a,0x94,0xc0,0x00,0x00,0x00,0x00]
1278 s_memrealtime ttmp[14:15]
1279 // CHECK: [0x80,0x1e,0x94,0xc0,0x00,0x00,0x00,0x00]
1281 s_atc_probe 0x0, s[4:5], s0
1282 // CHECK: [0x02,0x00,0x98,0xc0,0x00,0x00,0x00,0x00]
1284 s_atc_probe 0x1, s[4:5], s0
1285 // CHECK: [0x42,0x00,0x98,0xc0,0x00,0x00,0x00,0x00]
1287 s_atc_probe 0x7, s[4:5], s0
1288 // CHECK: [0xc2,0x01,0x98,0xc0,0x00,0x00,0x00,0x00]
1290 s_atc_probe 0x0, s[6:7], s0
1291 // CHECK: [0x03,0x00,0x98,0xc0,0x00,0x00,0x00,0x00]
1293 s_atc_probe 0x0, s[100:101], s0
1294 // CHECK: [0x32,0x00,0x98,0xc0,0x00,0x00,0x00,0x00]
1296 s_atc_probe 0x0, flat_scratch, s0
1297 // CHECK: [0x33,0x00,0x98,0xc0,0x00,0x00,0x00,0x00]
1299 s_atc_probe 0x0, vcc, s0
1300 // CHECK: [0x35,0x00,0x98,0xc0,0x00,0x00,0x00,0x00]
1302 s_atc_probe 0x0, ttmp[14:15], s0
1303 // CHECK: [0x3d,0x00,0x98,0xc0,0x00,0x00,0x00,0x00]
1305 s_atc_probe 0x0, s[4:5], s101
1306 // CHECK: [0x02,0x00,0x98,0xc0,0x65,0x00,0x00,0x00]
1308 s_atc_probe 0x0, s[4:5], flat_scratch_lo
1309 // CHECK: [0x02,0x00,0x98,0xc0,0x66,0x00,0x00,0x00]
1311 s_atc_probe 0x0, s[4:5], flat_scratch_hi
1312 // CHECK: [0x02,0x00,0x98,0xc0,0x67,0x00,0x00,0x00]
1314 s_atc_probe 0x0, s[4:5], vcc_lo
1315 // CHECK: [0x02,0x00,0x98,0xc0,0x6a,0x00,0x00,0x00]
1317 s_atc_probe 0x0, s[4:5], vcc_hi
1318 // CHECK: [0x02,0x00,0x98,0xc0,0x6b,0x00,0x00,0x00]
1320 s_atc_probe 0x0, s[4:5], ttmp15
1321 // CHECK: [0x02,0x00,0x98,0xc0,0x7b,0x00,0x00,0x00]
1323 s_atc_probe 0x0, s[4:5], m0
1324 // CHECK: [0x02,0x00,0x98,0xc0,0x7c,0x00,0x00,0x00]
1326 s_atc_probe 0x0, s[4:5], 0x0
1327 // CHECK: [0x02,0x00,0x9a,0xc0,0x00,0x00,0x00,0x00]
1329 s_atc_probe_buffer 0x0, s[8:11], s0
1330 // CHECK: [0x04,0x00,0x9c,0xc0,0x00,0x00,0x00,0x00]
1332 s_atc_probe_buffer 0x1, s[8:11], s0
1333 // CHECK: [0x44,0x00,0x9c,0xc0,0x00,0x00,0x00,0x00]
1335 s_atc_probe_buffer 0x7, s[8:11], s0
1336 // CHECK: [0xc4,0x01,0x9c,0xc0,0x00,0x00,0x00,0x00]
1338 s_atc_probe_buffer 0x0, s[12:15], s0
1339 // CHECK: [0x06,0x00,0x9c,0xc0,0x00,0x00,0x00,0x00]
1341 s_atc_probe_buffer 0x0, s[96:99], s0
1342 // CHECK: [0x30,0x00,0x9c,0xc0,0x00,0x00,0x00,0x00]
1344 s_atc_probe_buffer 0x0, ttmp[12:15], s0
1345 // CHECK: [0x3c,0x00,0x9c,0xc0,0x00,0x00,0x00,0x00]
1347 s_atc_probe_buffer 0x0, s[8:11], s101
1348 // CHECK: [0x04,0x00,0x9c,0xc0,0x65,0x00,0x00,0x00]
1350 s_atc_probe_buffer 0x0, s[8:11], flat_scratch_lo
1351 // CHECK: [0x04,0x00,0x9c,0xc0,0x66,0x00,0x00,0x00]
1353 s_atc_probe_buffer 0x0, s[8:11], flat_scratch_hi
1354 // CHECK: [0x04,0x00,0x9c,0xc0,0x67,0x00,0x00,0x00]
1356 s_atc_probe_buffer 0x0, s[8:11], vcc_lo
1357 // CHECK: [0x04,0x00,0x9c,0xc0,0x6a,0x00,0x00,0x00]
1359 s_atc_probe_buffer 0x0, s[8:11], vcc_hi
1360 // CHECK: [0x04,0x00,0x9c,0xc0,0x6b,0x00,0x00,0x00]
1362 s_atc_probe_buffer 0x0, s[8:11], ttmp15
1363 // CHECK: [0x04,0x00,0x9c,0xc0,0x7b,0x00,0x00,0x00]
1365 s_atc_probe_buffer 0x0, s[8:11], m0
1366 // CHECK: [0x04,0x00,0x9c,0xc0,0x7c,0x00,0x00,0x00]
1368 s_atc_probe_buffer 0x0, s[8:11], 0x0
1369 // CHECK: [0x04,0x00,0x9e,0xc0,0x00,0x00,0x00,0x00]
1371 s_dcache_discard s[2:3], s0
1372 // CHECK: [0x01,0x00,0xa0,0xc0,0x00,0x00,0x00,0x00]
1374 s_dcache_discard s[4:5], s0
1375 // CHECK: [0x02,0x00,0xa0,0xc0,0x00,0x00,0x00,0x00]
1377 s_dcache_discard s[100:101], s0
1378 // CHECK: [0x32,0x00,0xa0,0xc0,0x00,0x00,0x00,0x00]
1380 s_dcache_discard flat_scratch, s0
1381 // CHECK: [0x33,0x00,0xa0,0xc0,0x00,0x00,0x00,0x00]
1383 s_dcache_discard vcc, s0
1384 // CHECK: [0x35,0x00,0xa0,0xc0,0x00,0x00,0x00,0x00]
1386 s_dcache_discard ttmp[14:15], s0
1387 // CHECK: [0x3d,0x00,0xa0,0xc0,0x00,0x00,0x00,0x00]
1389 s_dcache_discard s[2:3], s101
1390 // CHECK: [0x01,0x00,0xa0,0xc0,0x65,0x00,0x00,0x00]
1392 s_dcache_discard s[2:3], flat_scratch_lo
1393 // CHECK: [0x01,0x00,0xa0,0xc0,0x66,0x00,0x00,0x00]
1395 s_dcache_discard s[2:3], flat_scratch_hi
1396 // CHECK: [0x01,0x00,0xa0,0xc0,0x67,0x00,0x00,0x00]
1398 s_dcache_discard s[2:3], vcc_lo
1399 // CHECK: [0x01,0x00,0xa0,0xc0,0x6a,0x00,0x00,0x00]
1401 s_dcache_discard s[2:3], vcc_hi
1402 // CHECK: [0x01,0x00,0xa0,0xc0,0x6b,0x00,0x00,0x00]
1404 s_dcache_discard s[2:3], ttmp15
1405 // CHECK: [0x01,0x00,0xa0,0xc0,0x7b,0x00,0x00,0x00]
1407 s_dcache_discard s[2:3], m0
1408 // CHECK: [0x01,0x00,0xa0,0xc0,0x7c,0x00,0x00,0x00]
1410 s_dcache_discard s[2:3], 0x0
1411 // CHECK: [0x01,0x00,0xa2,0xc0,0x00,0x00,0x00,0x00]
1413 s_dcache_discard_x2 s[2:3], s0
1414 // CHECK: [0x01,0x00,0xa4,0xc0,0x00,0x00,0x00,0x00]
1416 s_dcache_discard_x2 s[4:5], s0
1417 // CHECK: [0x02,0x00,0xa4,0xc0,0x00,0x00,0x00,0x00]
1419 s_dcache_discard_x2 s[100:101], s0
1420 // CHECK: [0x32,0x00,0xa4,0xc0,0x00,0x00,0x00,0x00]
1422 s_dcache_discard_x2 flat_scratch, s0
1423 // CHECK: [0x33,0x00,0xa4,0xc0,0x00,0x00,0x00,0x00]
1425 s_dcache_discard_x2 vcc, s0
1426 // CHECK: [0x35,0x00,0xa4,0xc0,0x00,0x00,0x00,0x00]
1428 s_dcache_discard_x2 ttmp[14:15], s0
1429 // CHECK: [0x3d,0x00,0xa4,0xc0,0x00,0x00,0x00,0x00]
1431 s_dcache_discard_x2 s[2:3], s101
1432 // CHECK: [0x01,0x00,0xa4,0xc0,0x65,0x00,0x00,0x00]
1434 s_dcache_discard_x2 s[2:3], flat_scratch_lo
1435 // CHECK: [0x01,0x00,0xa4,0xc0,0x66,0x00,0x00,0x00]
1437 s_dcache_discard_x2 s[2:3], flat_scratch_hi
1438 // CHECK: [0x01,0x00,0xa4,0xc0,0x67,0x00,0x00,0x00]
1440 s_dcache_discard_x2 s[2:3], vcc_lo
1441 // CHECK: [0x01,0x00,0xa4,0xc0,0x6a,0x00,0x00,0x00]
1443 s_dcache_discard_x2 s[2:3], vcc_hi
1444 // CHECK: [0x01,0x00,0xa4,0xc0,0x6b,0x00,0x00,0x00]
1446 s_dcache_discard_x2 s[2:3], ttmp15
1447 // CHECK: [0x01,0x00,0xa4,0xc0,0x7b,0x00,0x00,0x00]
1449 s_dcache_discard_x2 s[2:3], m0
1450 // CHECK: [0x01,0x00,0xa4,0xc0,0x7c,0x00,0x00,0x00]
1452 s_dcache_discard_x2 s[2:3], 0x0
1453 // CHECK: [0x01,0x00,0xa6,0xc0,0x00,0x00,0x00,0x00]
1455 s_buffer_atomic_swap s5, s[4:7], s0
1456 // CHECK: [0x42,0x01,0x00,0xc1,0x00,0x00,0x00,0x00]
1458 s_buffer_atomic_swap s101, s[4:7], s0
1459 // CHECK: [0x42,0x19,0x00,0xc1,0x00,0x00,0x00,0x00]
1461 s_buffer_atomic_swap flat_scratch_lo, s[4:7], s0
1462 // CHECK: [0x82,0x19,0x00,0xc1,0x00,0x00,0x00,0x00]
1464 s_buffer_atomic_swap flat_scratch_hi, s[4:7], s0
1465 // CHECK: [0xc2,0x19,0x00,0xc1,0x00,0x00,0x00,0x00]
1467 s_buffer_atomic_swap vcc_lo, s[4:7], s0
1468 // CHECK: [0x82,0x1a,0x00,0xc1,0x00,0x00,0x00,0x00]
1470 s_buffer_atomic_swap vcc_hi, s[4:7], s0
1471 // CHECK: [0xc2,0x1a,0x00,0xc1,0x00,0x00,0x00,0x00]
1473 s_buffer_atomic_swap ttmp15, s[4:7], s0
1474 // CHECK: [0xc2,0x1e,0x00,0xc1,0x00,0x00,0x00,0x00]
1476 s_buffer_atomic_swap s5, s[8:11], s0
1477 // CHECK: [0x44,0x01,0x00,0xc1,0x00,0x00,0x00,0x00]
1479 s_buffer_atomic_swap s5, s[96:99], s0
1480 // CHECK: [0x70,0x01,0x00,0xc1,0x00,0x00,0x00,0x00]
1482 s_buffer_atomic_swap s5, ttmp[12:15], s0
1483 // CHECK: [0x7c,0x01,0x00,0xc1,0x00,0x00,0x00,0x00]
1485 s_buffer_atomic_swap s5, s[4:7], s101
1486 // CHECK: [0x42,0x01,0x00,0xc1,0x65,0x00,0x00,0x00]
1488 s_buffer_atomic_swap s5, s[4:7], flat_scratch_lo
1489 // CHECK: [0x42,0x01,0x00,0xc1,0x66,0x00,0x00,0x00]
1491 s_buffer_atomic_swap s5, s[4:7], flat_scratch_hi
1492 // CHECK: [0x42,0x01,0x00,0xc1,0x67,0x00,0x00,0x00]
1494 s_buffer_atomic_swap s5, s[4:7], vcc_lo
1495 // CHECK: [0x42,0x01,0x00,0xc1,0x6a,0x00,0x00,0x00]
1497 s_buffer_atomic_swap s5, s[4:7], vcc_hi
1498 // CHECK: [0x42,0x01,0x00,0xc1,0x6b,0x00,0x00,0x00]
1500 s_buffer_atomic_swap s5, s[4:7], ttmp15
1501 // CHECK: [0x42,0x01,0x00,0xc1,0x7b,0x00,0x00,0x00]
1503 s_buffer_atomic_swap s5, s[4:7], m0
1504 // CHECK: [0x42,0x01,0x00,0xc1,0x7c,0x00,0x00,0x00]
1506 s_buffer_atomic_swap s5, s[4:7], 0x0
1507 // CHECK: [0x42,0x01,0x02,0xc1,0x00,0x00,0x00,0x00]
1509 s_buffer_atomic_swap s5, s[4:7], s0 glc
1510 // CHECK: [0x42,0x01,0x01,0xc1,0x00,0x00,0x00,0x00]
1512 s_buffer_atomic_cmpswap s[10:11], s[4:7], s0
1513 // CHECK: [0x82,0x02,0x04,0xc1,0x00,0x00,0x00,0x00]
1515 s_buffer_atomic_cmpswap s[12:13], s[4:7], s0
1516 // CHECK: [0x02,0x03,0x04,0xc1,0x00,0x00,0x00,0x00]
1518 s_buffer_atomic_cmpswap s[100:101], s[4:7], s0
1519 // CHECK: [0x02,0x19,0x04,0xc1,0x00,0x00,0x00,0x00]
1521 s_buffer_atomic_cmpswap flat_scratch, s[4:7], s0
1522 // CHECK: [0x82,0x19,0x04,0xc1,0x00,0x00,0x00,0x00]
1524 s_buffer_atomic_cmpswap vcc, s[4:7], s0
1525 // CHECK: [0x82,0x1a,0x04,0xc1,0x00,0x00,0x00,0x00]
1527 s_buffer_atomic_cmpswap ttmp[14:15], s[4:7], s0
1528 // CHECK: [0x82,0x1e,0x04,0xc1,0x00,0x00,0x00,0x00]
1530 s_buffer_atomic_cmpswap s[10:11], s[8:11], s0
1531 // CHECK: [0x84,0x02,0x04,0xc1,0x00,0x00,0x00,0x00]
1533 s_buffer_atomic_cmpswap s[10:11], s[96:99], s0
1534 // CHECK: [0xb0,0x02,0x04,0xc1,0x00,0x00,0x00,0x00]
1536 s_buffer_atomic_cmpswap s[10:11], ttmp[12:15], s0
1537 // CHECK: [0xbc,0x02,0x04,0xc1,0x00,0x00,0x00,0x00]
1539 s_buffer_atomic_cmpswap s[10:11], s[4:7], s101
1540 // CHECK: [0x82,0x02,0x04,0xc1,0x65,0x00,0x00,0x00]
1542 s_buffer_atomic_cmpswap s[10:11], s[4:7], flat_scratch_lo
1543 // CHECK: [0x82,0x02,0x04,0xc1,0x66,0x00,0x00,0x00]
1545 s_buffer_atomic_cmpswap s[10:11], s[4:7], flat_scratch_hi
1546 // CHECK: [0x82,0x02,0x04,0xc1,0x67,0x00,0x00,0x00]
1548 s_buffer_atomic_cmpswap s[10:11], s[4:7], vcc_lo
1549 // CHECK: [0x82,0x02,0x04,0xc1,0x6a,0x00,0x00,0x00]
1551 s_buffer_atomic_cmpswap s[10:11], s[4:7], vcc_hi
1552 // CHECK: [0x82,0x02,0x04,0xc1,0x6b,0x00,0x00,0x00]
1554 s_buffer_atomic_cmpswap s[10:11], s[4:7], ttmp15
1555 // CHECK: [0x82,0x02,0x04,0xc1,0x7b,0x00,0x00,0x00]
1557 s_buffer_atomic_cmpswap s[10:11], s[4:7], m0
1558 // CHECK: [0x82,0x02,0x04,0xc1,0x7c,0x00,0x00,0x00]
1560 s_buffer_atomic_cmpswap s[10:11], s[4:7], 0x0
1561 // CHECK: [0x82,0x02,0x06,0xc1,0x00,0x00,0x00,0x00]
1563 s_buffer_atomic_cmpswap s[10:11], s[4:7], s0 glc
1564 // CHECK: [0x82,0x02,0x05,0xc1,0x00,0x00,0x00,0x00]
1566 s_buffer_atomic_add s5, s[4:7], s0
1567 // CHECK: [0x42,0x01,0x08,0xc1,0x00,0x00,0x00,0x00]
1569 s_buffer_atomic_add s101, s[4:7], s0
1570 // CHECK: [0x42,0x19,0x08,0xc1,0x00,0x00,0x00,0x00]
1572 s_buffer_atomic_add flat_scratch_lo, s[4:7], s0
1573 // CHECK: [0x82,0x19,0x08,0xc1,0x00,0x00,0x00,0x00]
1575 s_buffer_atomic_add flat_scratch_hi, s[4:7], s0
1576 // CHECK: [0xc2,0x19,0x08,0xc1,0x00,0x00,0x00,0x00]
1578 s_buffer_atomic_add vcc_lo, s[4:7], s0
1579 // CHECK: [0x82,0x1a,0x08,0xc1,0x00,0x00,0x00,0x00]
1581 s_buffer_atomic_add vcc_hi, s[4:7], s0
1582 // CHECK: [0xc2,0x1a,0x08,0xc1,0x00,0x00,0x00,0x00]
1584 s_buffer_atomic_add ttmp15, s[4:7], s0
1585 // CHECK: [0xc2,0x1e,0x08,0xc1,0x00,0x00,0x00,0x00]
1587 s_buffer_atomic_add s5, s[8:11], s0
1588 // CHECK: [0x44,0x01,0x08,0xc1,0x00,0x00,0x00,0x00]
1590 s_buffer_atomic_add s5, s[96:99], s0
1591 // CHECK: [0x70,0x01,0x08,0xc1,0x00,0x00,0x00,0x00]
1593 s_buffer_atomic_add s5, ttmp[12:15], s0
1594 // CHECK: [0x7c,0x01,0x08,0xc1,0x00,0x00,0x00,0x00]
1596 s_buffer_atomic_add s5, s[4:7], s101
1597 // CHECK: [0x42,0x01,0x08,0xc1,0x65,0x00,0x00,0x00]
1599 s_buffer_atomic_add s5, s[4:7], flat_scratch_lo
1600 // CHECK: [0x42,0x01,0x08,0xc1,0x66,0x00,0x00,0x00]
1602 s_buffer_atomic_add s5, s[4:7], flat_scratch_hi
1603 // CHECK: [0x42,0x01,0x08,0xc1,0x67,0x00,0x00,0x00]
1605 s_buffer_atomic_add s5, s[4:7], vcc_lo
1606 // CHECK: [0x42,0x01,0x08,0xc1,0x6a,0x00,0x00,0x00]
1608 s_buffer_atomic_add s5, s[4:7], vcc_hi
1609 // CHECK: [0x42,0x01,0x08,0xc1,0x6b,0x00,0x00,0x00]
1611 s_buffer_atomic_add s5, s[4:7], ttmp15
1612 // CHECK: [0x42,0x01,0x08,0xc1,0x7b,0x00,0x00,0x00]
1614 s_buffer_atomic_add s5, s[4:7], m0
1615 // CHECK: [0x42,0x01,0x08,0xc1,0x7c,0x00,0x00,0x00]
1617 s_buffer_atomic_add s5, s[4:7], 0x0
1618 // CHECK: [0x42,0x01,0x0a,0xc1,0x00,0x00,0x00,0x00]
1620 s_buffer_atomic_add s5, s[4:7], s0 glc
1621 // CHECK: [0x42,0x01,0x09,0xc1,0x00,0x00,0x00,0x00]
1623 s_buffer_atomic_sub s5, s[4:7], s0
1624 // CHECK: [0x42,0x01,0x0c,0xc1,0x00,0x00,0x00,0x00]
1626 s_buffer_atomic_sub s101, s[4:7], s0
1627 // CHECK: [0x42,0x19,0x0c,0xc1,0x00,0x00,0x00,0x00]
1629 s_buffer_atomic_sub flat_scratch_lo, s[4:7], s0
1630 // CHECK: [0x82,0x19,0x0c,0xc1,0x00,0x00,0x00,0x00]
1632 s_buffer_atomic_sub flat_scratch_hi, s[4:7], s0
1633 // CHECK: [0xc2,0x19,0x0c,0xc1,0x00,0x00,0x00,0x00]
1635 s_buffer_atomic_sub vcc_lo, s[4:7], s0
1636 // CHECK: [0x82,0x1a,0x0c,0xc1,0x00,0x00,0x00,0x00]
1638 s_buffer_atomic_sub vcc_hi, s[4:7], s0
1639 // CHECK: [0xc2,0x1a,0x0c,0xc1,0x00,0x00,0x00,0x00]
1641 s_buffer_atomic_sub ttmp15, s[4:7], s0
1642 // CHECK: [0xc2,0x1e,0x0c,0xc1,0x00,0x00,0x00,0x00]
1644 s_buffer_atomic_sub s5, s[8:11], s0
1645 // CHECK: [0x44,0x01,0x0c,0xc1,0x00,0x00,0x00,0x00]
1647 s_buffer_atomic_sub s5, s[96:99], s0
1648 // CHECK: [0x70,0x01,0x0c,0xc1,0x00,0x00,0x00,0x00]
1650 s_buffer_atomic_sub s5, ttmp[12:15], s0
1651 // CHECK: [0x7c,0x01,0x0c,0xc1,0x00,0x00,0x00,0x00]
1653 s_buffer_atomic_sub s5, s[4:7], s101
1654 // CHECK: [0x42,0x01,0x0c,0xc1,0x65,0x00,0x00,0x00]
1656 s_buffer_atomic_sub s5, s[4:7], flat_scratch_lo
1657 // CHECK: [0x42,0x01,0x0c,0xc1,0x66,0x00,0x00,0x00]
1659 s_buffer_atomic_sub s5, s[4:7], flat_scratch_hi
1660 // CHECK: [0x42,0x01,0x0c,0xc1,0x67,0x00,0x00,0x00]
1662 s_buffer_atomic_sub s5, s[4:7], vcc_lo
1663 // CHECK: [0x42,0x01,0x0c,0xc1,0x6a,0x00,0x00,0x00]
1665 s_buffer_atomic_sub s5, s[4:7], vcc_hi
1666 // CHECK: [0x42,0x01,0x0c,0xc1,0x6b,0x00,0x00,0x00]
1668 s_buffer_atomic_sub s5, s[4:7], ttmp15
1669 // CHECK: [0x42,0x01,0x0c,0xc1,0x7b,0x00,0x00,0x00]
1671 s_buffer_atomic_sub s5, s[4:7], m0
1672 // CHECK: [0x42,0x01,0x0c,0xc1,0x7c,0x00,0x00,0x00]
1674 s_buffer_atomic_sub s5, s[4:7], 0x0
1675 // CHECK: [0x42,0x01,0x0e,0xc1,0x00,0x00,0x00,0x00]
1677 s_buffer_atomic_sub s5, s[4:7], s0 glc
1678 // CHECK: [0x42,0x01,0x0d,0xc1,0x00,0x00,0x00,0x00]
1680 s_buffer_atomic_smin s5, s[4:7], s0
1681 // CHECK: [0x42,0x01,0x10,0xc1,0x00,0x00,0x00,0x00]
1683 s_buffer_atomic_smin s101, s[4:7], s0
1684 // CHECK: [0x42,0x19,0x10,0xc1,0x00,0x00,0x00,0x00]
1686 s_buffer_atomic_smin flat_scratch_lo, s[4:7], s0
1687 // CHECK: [0x82,0x19,0x10,0xc1,0x00,0x00,0x00,0x00]
1689 s_buffer_atomic_smin flat_scratch_hi, s[4:7], s0
1690 // CHECK: [0xc2,0x19,0x10,0xc1,0x00,0x00,0x00,0x00]
1692 s_buffer_atomic_smin vcc_lo, s[4:7], s0
1693 // CHECK: [0x82,0x1a,0x10,0xc1,0x00,0x00,0x00,0x00]
1695 s_buffer_atomic_smin vcc_hi, s[4:7], s0
1696 // CHECK: [0xc2,0x1a,0x10,0xc1,0x00,0x00,0x00,0x00]
1698 s_buffer_atomic_smin ttmp15, s[4:7], s0
1699 // CHECK: [0xc2,0x1e,0x10,0xc1,0x00,0x00,0x00,0x00]
1701 s_buffer_atomic_smin s5, s[8:11], s0
1702 // CHECK: [0x44,0x01,0x10,0xc1,0x00,0x00,0x00,0x00]
1704 s_buffer_atomic_smin s5, s[96:99], s0
1705 // CHECK: [0x70,0x01,0x10,0xc1,0x00,0x00,0x00,0x00]
1707 s_buffer_atomic_smin s5, ttmp[12:15], s0
1708 // CHECK: [0x7c,0x01,0x10,0xc1,0x00,0x00,0x00,0x00]
1710 s_buffer_atomic_smin s5, s[4:7], s101
1711 // CHECK: [0x42,0x01,0x10,0xc1,0x65,0x00,0x00,0x00]
1713 s_buffer_atomic_smin s5, s[4:7], flat_scratch_lo
1714 // CHECK: [0x42,0x01,0x10,0xc1,0x66,0x00,0x00,0x00]
1716 s_buffer_atomic_smin s5, s[4:7], flat_scratch_hi
1717 // CHECK: [0x42,0x01,0x10,0xc1,0x67,0x00,0x00,0x00]
1719 s_buffer_atomic_smin s5, s[4:7], vcc_lo
1720 // CHECK: [0x42,0x01,0x10,0xc1,0x6a,0x00,0x00,0x00]
1722 s_buffer_atomic_smin s5, s[4:7], vcc_hi
1723 // CHECK: [0x42,0x01,0x10,0xc1,0x6b,0x00,0x00,0x00]
1725 s_buffer_atomic_smin s5, s[4:7], ttmp15
1726 // CHECK: [0x42,0x01,0x10,0xc1,0x7b,0x00,0x00,0x00]
1728 s_buffer_atomic_smin s5, s[4:7], m0
1729 // CHECK: [0x42,0x01,0x10,0xc1,0x7c,0x00,0x00,0x00]
1731 s_buffer_atomic_smin s5, s[4:7], 0x0
1732 // CHECK: [0x42,0x01,0x12,0xc1,0x00,0x00,0x00,0x00]
1734 s_buffer_atomic_smin s5, s[4:7], s0 glc
1735 // CHECK: [0x42,0x01,0x11,0xc1,0x00,0x00,0x00,0x00]
1737 s_buffer_atomic_umin s5, s[4:7], s0
1738 // CHECK: [0x42,0x01,0x14,0xc1,0x00,0x00,0x00,0x00]
1740 s_buffer_atomic_umin s101, s[4:7], s0
1741 // CHECK: [0x42,0x19,0x14,0xc1,0x00,0x00,0x00,0x00]
1743 s_buffer_atomic_umin flat_scratch_lo, s[4:7], s0
1744 // CHECK: [0x82,0x19,0x14,0xc1,0x00,0x00,0x00,0x00]
1746 s_buffer_atomic_umin flat_scratch_hi, s[4:7], s0
1747 // CHECK: [0xc2,0x19,0x14,0xc1,0x00,0x00,0x00,0x00]
1749 s_buffer_atomic_umin vcc_lo, s[4:7], s0
1750 // CHECK: [0x82,0x1a,0x14,0xc1,0x00,0x00,0x00,0x00]
1752 s_buffer_atomic_umin vcc_hi, s[4:7], s0
1753 // CHECK: [0xc2,0x1a,0x14,0xc1,0x00,0x00,0x00,0x00]
1755 s_buffer_atomic_umin ttmp15, s[4:7], s0
1756 // CHECK: [0xc2,0x1e,0x14,0xc1,0x00,0x00,0x00,0x00]
1758 s_buffer_atomic_umin s5, s[8:11], s0
1759 // CHECK: [0x44,0x01,0x14,0xc1,0x00,0x00,0x00,0x00]
1761 s_buffer_atomic_umin s5, s[96:99], s0
1762 // CHECK: [0x70,0x01,0x14,0xc1,0x00,0x00,0x00,0x00]
1764 s_buffer_atomic_umin s5, ttmp[12:15], s0
1765 // CHECK: [0x7c,0x01,0x14,0xc1,0x00,0x00,0x00,0x00]
1767 s_buffer_atomic_umin s5, s[4:7], s101
1768 // CHECK: [0x42,0x01,0x14,0xc1,0x65,0x00,0x00,0x00]
1770 s_buffer_atomic_umin s5, s[4:7], flat_scratch_lo
1771 // CHECK: [0x42,0x01,0x14,0xc1,0x66,0x00,0x00,0x00]
1773 s_buffer_atomic_umin s5, s[4:7], flat_scratch_hi
1774 // CHECK: [0x42,0x01,0x14,0xc1,0x67,0x00,0x00,0x00]
1776 s_buffer_atomic_umin s5, s[4:7], vcc_lo
1777 // CHECK: [0x42,0x01,0x14,0xc1,0x6a,0x00,0x00,0x00]
1779 s_buffer_atomic_umin s5, s[4:7], vcc_hi
1780 // CHECK: [0x42,0x01,0x14,0xc1,0x6b,0x00,0x00,0x00]
1782 s_buffer_atomic_umin s5, s[4:7], ttmp15
1783 // CHECK: [0x42,0x01,0x14,0xc1,0x7b,0x00,0x00,0x00]
1785 s_buffer_atomic_umin s5, s[4:7], m0
1786 // CHECK: [0x42,0x01,0x14,0xc1,0x7c,0x00,0x00,0x00]
1788 s_buffer_atomic_umin s5, s[4:7], 0x0
1789 // CHECK: [0x42,0x01,0x16,0xc1,0x00,0x00,0x00,0x00]
1791 s_buffer_atomic_umin s5, s[4:7], s0 glc
1792 // CHECK: [0x42,0x01,0x15,0xc1,0x00,0x00,0x00,0x00]
1794 s_buffer_atomic_smax s5, s[4:7], s0
1795 // CHECK: [0x42,0x01,0x18,0xc1,0x00,0x00,0x00,0x00]
1797 s_buffer_atomic_smax s101, s[4:7], s0
1798 // CHECK: [0x42,0x19,0x18,0xc1,0x00,0x00,0x00,0x00]
1800 s_buffer_atomic_smax flat_scratch_lo, s[4:7], s0
1801 // CHECK: [0x82,0x19,0x18,0xc1,0x00,0x00,0x00,0x00]
1803 s_buffer_atomic_smax flat_scratch_hi, s[4:7], s0
1804 // CHECK: [0xc2,0x19,0x18,0xc1,0x00,0x00,0x00,0x00]
1806 s_buffer_atomic_smax vcc_lo, s[4:7], s0
1807 // CHECK: [0x82,0x1a,0x18,0xc1,0x00,0x00,0x00,0x00]
1809 s_buffer_atomic_smax vcc_hi, s[4:7], s0
1810 // CHECK: [0xc2,0x1a,0x18,0xc1,0x00,0x00,0x00,0x00]
1812 s_buffer_atomic_smax ttmp15, s[4:7], s0
1813 // CHECK: [0xc2,0x1e,0x18,0xc1,0x00,0x00,0x00,0x00]
1815 s_buffer_atomic_smax s5, s[8:11], s0
1816 // CHECK: [0x44,0x01,0x18,0xc1,0x00,0x00,0x00,0x00]
1818 s_buffer_atomic_smax s5, s[96:99], s0
1819 // CHECK: [0x70,0x01,0x18,0xc1,0x00,0x00,0x00,0x00]
1821 s_buffer_atomic_smax s5, ttmp[12:15], s0
1822 // CHECK: [0x7c,0x01,0x18,0xc1,0x00,0x00,0x00,0x00]
1824 s_buffer_atomic_smax s5, s[4:7], s101
1825 // CHECK: [0x42,0x01,0x18,0xc1,0x65,0x00,0x00,0x00]
1827 s_buffer_atomic_smax s5, s[4:7], flat_scratch_lo
1828 // CHECK: [0x42,0x01,0x18,0xc1,0x66,0x00,0x00,0x00]
1830 s_buffer_atomic_smax s5, s[4:7], flat_scratch_hi
1831 // CHECK: [0x42,0x01,0x18,0xc1,0x67,0x00,0x00,0x00]
1833 s_buffer_atomic_smax s5, s[4:7], vcc_lo
1834 // CHECK: [0x42,0x01,0x18,0xc1,0x6a,0x00,0x00,0x00]
1836 s_buffer_atomic_smax s5, s[4:7], vcc_hi
1837 // CHECK: [0x42,0x01,0x18,0xc1,0x6b,0x00,0x00,0x00]
1839 s_buffer_atomic_smax s5, s[4:7], ttmp15
1840 // CHECK: [0x42,0x01,0x18,0xc1,0x7b,0x00,0x00,0x00]
1842 s_buffer_atomic_smax s5, s[4:7], m0
1843 // CHECK: [0x42,0x01,0x18,0xc1,0x7c,0x00,0x00,0x00]
1845 s_buffer_atomic_smax s5, s[4:7], 0x0
1846 // CHECK: [0x42,0x01,0x1a,0xc1,0x00,0x00,0x00,0x00]
1848 s_buffer_atomic_smax s5, s[4:7], s0 glc
1849 // CHECK: [0x42,0x01,0x19,0xc1,0x00,0x00,0x00,0x00]
1851 s_buffer_atomic_umax s5, s[4:7], s0
1852 // CHECK: [0x42,0x01,0x1c,0xc1,0x00,0x00,0x00,0x00]
1854 s_buffer_atomic_umax s101, s[4:7], s0
1855 // CHECK: [0x42,0x19,0x1c,0xc1,0x00,0x00,0x00,0x00]
1857 s_buffer_atomic_umax flat_scratch_lo, s[4:7], s0
1858 // CHECK: [0x82,0x19,0x1c,0xc1,0x00,0x00,0x00,0x00]
1860 s_buffer_atomic_umax flat_scratch_hi, s[4:7], s0
1861 // CHECK: [0xc2,0x19,0x1c,0xc1,0x00,0x00,0x00,0x00]
1863 s_buffer_atomic_umax vcc_lo, s[4:7], s0
1864 // CHECK: [0x82,0x1a,0x1c,0xc1,0x00,0x00,0x00,0x00]
1866 s_buffer_atomic_umax vcc_hi, s[4:7], s0
1867 // CHECK: [0xc2,0x1a,0x1c,0xc1,0x00,0x00,0x00,0x00]
1869 s_buffer_atomic_umax ttmp15, s[4:7], s0
1870 // CHECK: [0xc2,0x1e,0x1c,0xc1,0x00,0x00,0x00,0x00]
1872 s_buffer_atomic_umax s5, s[8:11], s0
1873 // CHECK: [0x44,0x01,0x1c,0xc1,0x00,0x00,0x00,0x00]
1875 s_buffer_atomic_umax s5, s[96:99], s0
1876 // CHECK: [0x70,0x01,0x1c,0xc1,0x00,0x00,0x00,0x00]
1878 s_buffer_atomic_umax s5, ttmp[12:15], s0
1879 // CHECK: [0x7c,0x01,0x1c,0xc1,0x00,0x00,0x00,0x00]
1881 s_buffer_atomic_umax s5, s[4:7], s101
1882 // CHECK: [0x42,0x01,0x1c,0xc1,0x65,0x00,0x00,0x00]
1884 s_buffer_atomic_umax s5, s[4:7], flat_scratch_lo
1885 // CHECK: [0x42,0x01,0x1c,0xc1,0x66,0x00,0x00,0x00]
1887 s_buffer_atomic_umax s5, s[4:7], flat_scratch_hi
1888 // CHECK: [0x42,0x01,0x1c,0xc1,0x67,0x00,0x00,0x00]
1890 s_buffer_atomic_umax s5, s[4:7], vcc_lo
1891 // CHECK: [0x42,0x01,0x1c,0xc1,0x6a,0x00,0x00,0x00]
1893 s_buffer_atomic_umax s5, s[4:7], vcc_hi
1894 // CHECK: [0x42,0x01,0x1c,0xc1,0x6b,0x00,0x00,0x00]
1896 s_buffer_atomic_umax s5, s[4:7], ttmp15
1897 // CHECK: [0x42,0x01,0x1c,0xc1,0x7b,0x00,0x00,0x00]
1899 s_buffer_atomic_umax s5, s[4:7], m0
1900 // CHECK: [0x42,0x01,0x1c,0xc1,0x7c,0x00,0x00,0x00]
1902 s_buffer_atomic_umax s5, s[4:7], 0x0
1903 // CHECK: [0x42,0x01,0x1e,0xc1,0x00,0x00,0x00,0x00]
1905 s_buffer_atomic_umax s5, s[4:7], s0 glc
1906 // CHECK: [0x42,0x01,0x1d,0xc1,0x00,0x00,0x00,0x00]
1908 s_buffer_atomic_and s5, s[4:7], s0
1909 // CHECK: [0x42,0x01,0x20,0xc1,0x00,0x00,0x00,0x00]
1911 s_buffer_atomic_and s101, s[4:7], s0
1912 // CHECK: [0x42,0x19,0x20,0xc1,0x00,0x00,0x00,0x00]
1914 s_buffer_atomic_and flat_scratch_lo, s[4:7], s0
1915 // CHECK: [0x82,0x19,0x20,0xc1,0x00,0x00,0x00,0x00]
1917 s_buffer_atomic_and flat_scratch_hi, s[4:7], s0
1918 // CHECK: [0xc2,0x19,0x20,0xc1,0x00,0x00,0x00,0x00]
1920 s_buffer_atomic_and vcc_lo, s[4:7], s0
1921 // CHECK: [0x82,0x1a,0x20,0xc1,0x00,0x00,0x00,0x00]
1923 s_buffer_atomic_and vcc_hi, s[4:7], s0
1924 // CHECK: [0xc2,0x1a,0x20,0xc1,0x00,0x00,0x00,0x00]
1926 s_buffer_atomic_and ttmp15, s[4:7], s0
1927 // CHECK: [0xc2,0x1e,0x20,0xc1,0x00,0x00,0x00,0x00]
1929 s_buffer_atomic_and s5, s[8:11], s0
1930 // CHECK: [0x44,0x01,0x20,0xc1,0x00,0x00,0x00,0x00]
1932 s_buffer_atomic_and s5, s[96:99], s0
1933 // CHECK: [0x70,0x01,0x20,0xc1,0x00,0x00,0x00,0x00]
1935 s_buffer_atomic_and s5, ttmp[12:15], s0
1936 // CHECK: [0x7c,0x01,0x20,0xc1,0x00,0x00,0x00,0x00]
1938 s_buffer_atomic_and s5, s[4:7], s101
1939 // CHECK: [0x42,0x01,0x20,0xc1,0x65,0x00,0x00,0x00]
1941 s_buffer_atomic_and s5, s[4:7], flat_scratch_lo
1942 // CHECK: [0x42,0x01,0x20,0xc1,0x66,0x00,0x00,0x00]
1944 s_buffer_atomic_and s5, s[4:7], flat_scratch_hi
1945 // CHECK: [0x42,0x01,0x20,0xc1,0x67,0x00,0x00,0x00]
1947 s_buffer_atomic_and s5, s[4:7], vcc_lo
1948 // CHECK: [0x42,0x01,0x20,0xc1,0x6a,0x00,0x00,0x00]
1950 s_buffer_atomic_and s5, s[4:7], vcc_hi
1951 // CHECK: [0x42,0x01,0x20,0xc1,0x6b,0x00,0x00,0x00]
1953 s_buffer_atomic_and s5, s[4:7], ttmp15
1954 // CHECK: [0x42,0x01,0x20,0xc1,0x7b,0x00,0x00,0x00]
1956 s_buffer_atomic_and s5, s[4:7], m0
1957 // CHECK: [0x42,0x01,0x20,0xc1,0x7c,0x00,0x00,0x00]
1959 s_buffer_atomic_and s5, s[4:7], 0x0
1960 // CHECK: [0x42,0x01,0x22,0xc1,0x00,0x00,0x00,0x00]
1962 s_buffer_atomic_and s5, s[4:7], s0 glc
1963 // CHECK: [0x42,0x01,0x21,0xc1,0x00,0x00,0x00,0x00]
1965 s_buffer_atomic_or s5, s[4:7], s0
1966 // CHECK: [0x42,0x01,0x24,0xc1,0x00,0x00,0x00,0x00]
1968 s_buffer_atomic_or s101, s[4:7], s0
1969 // CHECK: [0x42,0x19,0x24,0xc1,0x00,0x00,0x00,0x00]
1971 s_buffer_atomic_or flat_scratch_lo, s[4:7], s0
1972 // CHECK: [0x82,0x19,0x24,0xc1,0x00,0x00,0x00,0x00]
1974 s_buffer_atomic_or flat_scratch_hi, s[4:7], s0
1975 // CHECK: [0xc2,0x19,0x24,0xc1,0x00,0x00,0x00,0x00]
1977 s_buffer_atomic_or vcc_lo, s[4:7], s0
1978 // CHECK: [0x82,0x1a,0x24,0xc1,0x00,0x00,0x00,0x00]
1980 s_buffer_atomic_or vcc_hi, s[4:7], s0
1981 // CHECK: [0xc2,0x1a,0x24,0xc1,0x00,0x00,0x00,0x00]
1983 s_buffer_atomic_or ttmp15, s[4:7], s0
1984 // CHECK: [0xc2,0x1e,0x24,0xc1,0x00,0x00,0x00,0x00]
1986 s_buffer_atomic_or s5, s[8:11], s0
1987 // CHECK: [0x44,0x01,0x24,0xc1,0x00,0x00,0x00,0x00]
1989 s_buffer_atomic_or s5, s[96:99], s0
1990 // CHECK: [0x70,0x01,0x24,0xc1,0x00,0x00,0x00,0x00]
1992 s_buffer_atomic_or s5, ttmp[12:15], s0
1993 // CHECK: [0x7c,0x01,0x24,0xc1,0x00,0x00,0x00,0x00]
1995 s_buffer_atomic_or s5, s[4:7], s101
1996 // CHECK: [0x42,0x01,0x24,0xc1,0x65,0x00,0x00,0x00]
1998 s_buffer_atomic_or s5, s[4:7], flat_scratch_lo
1999 // CHECK: [0x42,0x01,0x24,0xc1,0x66,0x00,0x00,0x00]
2001 s_buffer_atomic_or s5, s[4:7], flat_scratch_hi
2002 // CHECK: [0x42,0x01,0x24,0xc1,0x67,0x00,0x00,0x00]
2004 s_buffer_atomic_or s5, s[4:7], vcc_lo
2005 // CHECK: [0x42,0x01,0x24,0xc1,0x6a,0x00,0x00,0x00]
2007 s_buffer_atomic_or s5, s[4:7], vcc_hi
2008 // CHECK: [0x42,0x01,0x24,0xc1,0x6b,0x00,0x00,0x00]
2010 s_buffer_atomic_or s5, s[4:7], ttmp15
2011 // CHECK: [0x42,0x01,0x24,0xc1,0x7b,0x00,0x00,0x00]
2013 s_buffer_atomic_or s5, s[4:7], m0
2014 // CHECK: [0x42,0x01,0x24,0xc1,0x7c,0x00,0x00,0x00]
2016 s_buffer_atomic_or s5, s[4:7], 0x0
2017 // CHECK: [0x42,0x01,0x26,0xc1,0x00,0x00,0x00,0x00]
2019 s_buffer_atomic_or s5, s[4:7], s0 glc
2020 // CHECK: [0x42,0x01,0x25,0xc1,0x00,0x00,0x00,0x00]
2022 s_buffer_atomic_xor s5, s[4:7], s0
2023 // CHECK: [0x42,0x01,0x28,0xc1,0x00,0x00,0x00,0x00]
2025 s_buffer_atomic_xor s101, s[4:7], s0
2026 // CHECK: [0x42,0x19,0x28,0xc1,0x00,0x00,0x00,0x00]
2028 s_buffer_atomic_xor flat_scratch_lo, s[4:7], s0
2029 // CHECK: [0x82,0x19,0x28,0xc1,0x00,0x00,0x00,0x00]
2031 s_buffer_atomic_xor flat_scratch_hi, s[4:7], s0
2032 // CHECK: [0xc2,0x19,0x28,0xc1,0x00,0x00,0x00,0x00]
2034 s_buffer_atomic_xor vcc_lo, s[4:7], s0
2035 // CHECK: [0x82,0x1a,0x28,0xc1,0x00,0x00,0x00,0x00]
2037 s_buffer_atomic_xor vcc_hi, s[4:7], s0
2038 // CHECK: [0xc2,0x1a,0x28,0xc1,0x00,0x00,0x00,0x00]
2040 s_buffer_atomic_xor ttmp15, s[4:7], s0
2041 // CHECK: [0xc2,0x1e,0x28,0xc1,0x00,0x00,0x00,0x00]
2043 s_buffer_atomic_xor s5, s[8:11], s0
2044 // CHECK: [0x44,0x01,0x28,0xc1,0x00,0x00,0x00,0x00]
2046 s_buffer_atomic_xor s5, s[96:99], s0
2047 // CHECK: [0x70,0x01,0x28,0xc1,0x00,0x00,0x00,0x00]
2049 s_buffer_atomic_xor s5, ttmp[12:15], s0
2050 // CHECK: [0x7c,0x01,0x28,0xc1,0x00,0x00,0x00,0x00]
2052 s_buffer_atomic_xor s5, s[4:7], s101
2053 // CHECK: [0x42,0x01,0x28,0xc1,0x65,0x00,0x00,0x00]
2055 s_buffer_atomic_xor s5, s[4:7], flat_scratch_lo
2056 // CHECK: [0x42,0x01,0x28,0xc1,0x66,0x00,0x00,0x00]
2058 s_buffer_atomic_xor s5, s[4:7], flat_scratch_hi
2059 // CHECK: [0x42,0x01,0x28,0xc1,0x67,0x00,0x00,0x00]
2061 s_buffer_atomic_xor s5, s[4:7], vcc_lo
2062 // CHECK: [0x42,0x01,0x28,0xc1,0x6a,0x00,0x00,0x00]
2064 s_buffer_atomic_xor s5, s[4:7], vcc_hi
2065 // CHECK: [0x42,0x01,0x28,0xc1,0x6b,0x00,0x00,0x00]
2067 s_buffer_atomic_xor s5, s[4:7], ttmp15
2068 // CHECK: [0x42,0x01,0x28,0xc1,0x7b,0x00,0x00,0x00]
2070 s_buffer_atomic_xor s5, s[4:7], m0
2071 // CHECK: [0x42,0x01,0x28,0xc1,0x7c,0x00,0x00,0x00]
2073 s_buffer_atomic_xor s5, s[4:7], 0x0
2074 // CHECK: [0x42,0x01,0x2a,0xc1,0x00,0x00,0x00,0x00]
2076 s_buffer_atomic_xor s5, s[4:7], s0 glc
2077 // CHECK: [0x42,0x01,0x29,0xc1,0x00,0x00,0x00,0x00]
2079 s_buffer_atomic_inc s5, s[4:7], s0
2080 // CHECK: [0x42,0x01,0x2c,0xc1,0x00,0x00,0x00,0x00]
2082 s_buffer_atomic_inc s101, s[4:7], s0
2083 // CHECK: [0x42,0x19,0x2c,0xc1,0x00,0x00,0x00,0x00]
2085 s_buffer_atomic_inc flat_scratch_lo, s[4:7], s0
2086 // CHECK: [0x82,0x19,0x2c,0xc1,0x00,0x00,0x00,0x00]
2088 s_buffer_atomic_inc flat_scratch_hi, s[4:7], s0
2089 // CHECK: [0xc2,0x19,0x2c,0xc1,0x00,0x00,0x00,0x00]
2091 s_buffer_atomic_inc vcc_lo, s[4:7], s0
2092 // CHECK: [0x82,0x1a,0x2c,0xc1,0x00,0x00,0x00,0x00]
2094 s_buffer_atomic_inc vcc_hi, s[4:7], s0
2095 // CHECK: [0xc2,0x1a,0x2c,0xc1,0x00,0x00,0x00,0x00]
2097 s_buffer_atomic_inc ttmp15, s[4:7], s0
2098 // CHECK: [0xc2,0x1e,0x2c,0xc1,0x00,0x00,0x00,0x00]
2100 s_buffer_atomic_inc s5, s[8:11], s0
2101 // CHECK: [0x44,0x01,0x2c,0xc1,0x00,0x00,0x00,0x00]
2103 s_buffer_atomic_inc s5, s[96:99], s0
2104 // CHECK: [0x70,0x01,0x2c,0xc1,0x00,0x00,0x00,0x00]
2106 s_buffer_atomic_inc s5, ttmp[12:15], s0
2107 // CHECK: [0x7c,0x01,0x2c,0xc1,0x00,0x00,0x00,0x00]
2109 s_buffer_atomic_inc s5, s[4:7], s101
2110 // CHECK: [0x42,0x01,0x2c,0xc1,0x65,0x00,0x00,0x00]
2112 s_buffer_atomic_inc s5, s[4:7], flat_scratch_lo
2113 // CHECK: [0x42,0x01,0x2c,0xc1,0x66,0x00,0x00,0x00]
2115 s_buffer_atomic_inc s5, s[4:7], flat_scratch_hi
2116 // CHECK: [0x42,0x01,0x2c,0xc1,0x67,0x00,0x00,0x00]
2118 s_buffer_atomic_inc s5, s[4:7], vcc_lo
2119 // CHECK: [0x42,0x01,0x2c,0xc1,0x6a,0x00,0x00,0x00]
2121 s_buffer_atomic_inc s5, s[4:7], vcc_hi
2122 // CHECK: [0x42,0x01,0x2c,0xc1,0x6b,0x00,0x00,0x00]
2124 s_buffer_atomic_inc s5, s[4:7], ttmp15
2125 // CHECK: [0x42,0x01,0x2c,0xc1,0x7b,0x00,0x00,0x00]
2127 s_buffer_atomic_inc s5, s[4:7], m0
2128 // CHECK: [0x42,0x01,0x2c,0xc1,0x7c,0x00,0x00,0x00]
2130 s_buffer_atomic_inc s5, s[4:7], 0x0
2131 // CHECK: [0x42,0x01,0x2e,0xc1,0x00,0x00,0x00,0x00]
2133 s_buffer_atomic_inc s5, s[4:7], s0 glc
2134 // CHECK: [0x42,0x01,0x2d,0xc1,0x00,0x00,0x00,0x00]
2136 s_buffer_atomic_dec s5, s[4:7], s0
2137 // CHECK: [0x42,0x01,0x30,0xc1,0x00,0x00,0x00,0x00]
2139 s_buffer_atomic_dec s101, s[4:7], s0
2140 // CHECK: [0x42,0x19,0x30,0xc1,0x00,0x00,0x00,0x00]
2142 s_buffer_atomic_dec flat_scratch_lo, s[4:7], s0
2143 // CHECK: [0x82,0x19,0x30,0xc1,0x00,0x00,0x00,0x00]
2145 s_buffer_atomic_dec flat_scratch_hi, s[4:7], s0
2146 // CHECK: [0xc2,0x19,0x30,0xc1,0x00,0x00,0x00,0x00]
2148 s_buffer_atomic_dec vcc_lo, s[4:7], s0
2149 // CHECK: [0x82,0x1a,0x30,0xc1,0x00,0x00,0x00,0x00]
2151 s_buffer_atomic_dec vcc_hi, s[4:7], s0
2152 // CHECK: [0xc2,0x1a,0x30,0xc1,0x00,0x00,0x00,0x00]
2154 s_buffer_atomic_dec ttmp15, s[4:7], s0
2155 // CHECK: [0xc2,0x1e,0x30,0xc1,0x00,0x00,0x00,0x00]
2157 s_buffer_atomic_dec s5, s[8:11], s0
2158 // CHECK: [0x44,0x01,0x30,0xc1,0x00,0x00,0x00,0x00]
2160 s_buffer_atomic_dec s5, s[96:99], s0
2161 // CHECK: [0x70,0x01,0x30,0xc1,0x00,0x00,0x00,0x00]
2163 s_buffer_atomic_dec s5, ttmp[12:15], s0
2164 // CHECK: [0x7c,0x01,0x30,0xc1,0x00,0x00,0x00,0x00]
2166 s_buffer_atomic_dec s5, s[4:7], s101
2167 // CHECK: [0x42,0x01,0x30,0xc1,0x65,0x00,0x00,0x00]
2169 s_buffer_atomic_dec s5, s[4:7], flat_scratch_lo
2170 // CHECK: [0x42,0x01,0x30,0xc1,0x66,0x00,0x00,0x00]
2172 s_buffer_atomic_dec s5, s[4:7], flat_scratch_hi
2173 // CHECK: [0x42,0x01,0x30,0xc1,0x67,0x00,0x00,0x00]
2175 s_buffer_atomic_dec s5, s[4:7], vcc_lo
2176 // CHECK: [0x42,0x01,0x30,0xc1,0x6a,0x00,0x00,0x00]
2178 s_buffer_atomic_dec s5, s[4:7], vcc_hi
2179 // CHECK: [0x42,0x01,0x30,0xc1,0x6b,0x00,0x00,0x00]
2181 s_buffer_atomic_dec s5, s[4:7], ttmp15
2182 // CHECK: [0x42,0x01,0x30,0xc1,0x7b,0x00,0x00,0x00]
2184 s_buffer_atomic_dec s5, s[4:7], m0
2185 // CHECK: [0x42,0x01,0x30,0xc1,0x7c,0x00,0x00,0x00]
2187 s_buffer_atomic_dec s5, s[4:7], 0x0
2188 // CHECK: [0x42,0x01,0x32,0xc1,0x00,0x00,0x00,0x00]
2190 s_buffer_atomic_dec s5, s[4:7], s0 glc
2191 // CHECK: [0x42,0x01,0x31,0xc1,0x00,0x00,0x00,0x00]
2193 s_buffer_atomic_swap_x2 s[10:11], s[4:7], s0
2194 // CHECK: [0x82,0x02,0x80,0xc1,0x00,0x00,0x00,0x00]
2196 s_buffer_atomic_swap_x2 s[12:13], s[4:7], s0
2197 // CHECK: [0x02,0x03,0x80,0xc1,0x00,0x00,0x00,0x00]
2199 s_buffer_atomic_swap_x2 s[100:101], s[4:7], s0
2200 // CHECK: [0x02,0x19,0x80,0xc1,0x00,0x00,0x00,0x00]
2202 s_buffer_atomic_swap_x2 flat_scratch, s[4:7], s0
2203 // CHECK: [0x82,0x19,0x80,0xc1,0x00,0x00,0x00,0x00]
2205 s_buffer_atomic_swap_x2 vcc, s[4:7], s0
2206 // CHECK: [0x82,0x1a,0x80,0xc1,0x00,0x00,0x00,0x00]
2208 s_buffer_atomic_swap_x2 ttmp[14:15], s[4:7], s0
2209 // CHECK: [0x82,0x1e,0x80,0xc1,0x00,0x00,0x00,0x00]
2211 s_buffer_atomic_swap_x2 s[10:11], s[8:11], s0
2212 // CHECK: [0x84,0x02,0x80,0xc1,0x00,0x00,0x00,0x00]
2214 s_buffer_atomic_swap_x2 s[10:11], s[96:99], s0
2215 // CHECK: [0xb0,0x02,0x80,0xc1,0x00,0x00,0x00,0x00]
2217 s_buffer_atomic_swap_x2 s[10:11], ttmp[12:15], s0
2218 // CHECK: [0xbc,0x02,0x80,0xc1,0x00,0x00,0x00,0x00]
2220 s_buffer_atomic_swap_x2 s[10:11], s[4:7], s101
2221 // CHECK: [0x82,0x02,0x80,0xc1,0x65,0x00,0x00,0x00]
2223 s_buffer_atomic_swap_x2 s[10:11], s[4:7], flat_scratch_lo
2224 // CHECK: [0x82,0x02,0x80,0xc1,0x66,0x00,0x00,0x00]
2226 s_buffer_atomic_swap_x2 s[10:11], s[4:7], flat_scratch_hi
2227 // CHECK: [0x82,0x02,0x80,0xc1,0x67,0x00,0x00,0x00]
2229 s_buffer_atomic_swap_x2 s[10:11], s[4:7], vcc_lo
2230 // CHECK: [0x82,0x02,0x80,0xc1,0x6a,0x00,0x00,0x00]
2232 s_buffer_atomic_swap_x2 s[10:11], s[4:7], vcc_hi
2233 // CHECK: [0x82,0x02,0x80,0xc1,0x6b,0x00,0x00,0x00]
2235 s_buffer_atomic_swap_x2 s[10:11], s[4:7], ttmp15
2236 // CHECK: [0x82,0x02,0x80,0xc1,0x7b,0x00,0x00,0x00]
2238 s_buffer_atomic_swap_x2 s[10:11], s[4:7], m0
2239 // CHECK: [0x82,0x02,0x80,0xc1,0x7c,0x00,0x00,0x00]
2241 s_buffer_atomic_swap_x2 s[10:11], s[4:7], 0x0
2242 // CHECK: [0x82,0x02,0x82,0xc1,0x00,0x00,0x00,0x00]
2244 s_buffer_atomic_swap_x2 s[10:11], s[4:7], s0 glc
2245 // CHECK: [0x82,0x02,0x81,0xc1,0x00,0x00,0x00,0x00]
2247 s_buffer_atomic_cmpswap_x2 s[20:23], s[4:7], s0
2248 // CHECK: [0x02,0x05,0x84,0xc1,0x00,0x00,0x00,0x00]
2250 s_buffer_atomic_cmpswap_x2 s[24:27], s[4:7], s0
2251 // CHECK: [0x02,0x06,0x84,0xc1,0x00,0x00,0x00,0x00]
2253 s_buffer_atomic_cmpswap_x2 s[96:99], s[4:7], s0
2254 // CHECK: [0x02,0x18,0x84,0xc1,0x00,0x00,0x00,0x00]
2256 s_buffer_atomic_cmpswap_x2 ttmp[12:15], s[4:7], s0
2257 // CHECK: [0x02,0x1e,0x84,0xc1,0x00,0x00,0x00,0x00]
2259 s_buffer_atomic_cmpswap_x2 s[20:23], s[8:11], s0
2260 // CHECK: [0x04,0x05,0x84,0xc1,0x00,0x00,0x00,0x00]
2262 s_buffer_atomic_cmpswap_x2 s[20:23], s[96:99], s0
2263 // CHECK: [0x30,0x05,0x84,0xc1,0x00,0x00,0x00,0x00]
2265 s_buffer_atomic_cmpswap_x2 s[20:23], ttmp[12:15], s0
2266 // CHECK: [0x3c,0x05,0x84,0xc1,0x00,0x00,0x00,0x00]
2268 s_buffer_atomic_cmpswap_x2 s[20:23], s[4:7], s101
2269 // CHECK: [0x02,0x05,0x84,0xc1,0x65,0x00,0x00,0x00]
2271 s_buffer_atomic_cmpswap_x2 s[20:23], s[4:7], flat_scratch_lo
2272 // CHECK: [0x02,0x05,0x84,0xc1,0x66,0x00,0x00,0x00]
2274 s_buffer_atomic_cmpswap_x2 s[20:23], s[4:7], flat_scratch_hi
2275 // CHECK: [0x02,0x05,0x84,0xc1,0x67,0x00,0x00,0x00]
2277 s_buffer_atomic_cmpswap_x2 s[20:23], s[4:7], vcc_lo
2278 // CHECK: [0x02,0x05,0x84,0xc1,0x6a,0x00,0x00,0x00]
2280 s_buffer_atomic_cmpswap_x2 s[20:23], s[4:7], vcc_hi
2281 // CHECK: [0x02,0x05,0x84,0xc1,0x6b,0x00,0x00,0x00]
2283 s_buffer_atomic_cmpswap_x2 s[20:23], s[4:7], ttmp15
2284 // CHECK: [0x02,0x05,0x84,0xc1,0x7b,0x00,0x00,0x00]
2286 s_buffer_atomic_cmpswap_x2 s[20:23], s[4:7], m0
2287 // CHECK: [0x02,0x05,0x84,0xc1,0x7c,0x00,0x00,0x00]
2289 s_buffer_atomic_cmpswap_x2 s[20:23], s[4:7], 0x0
2290 // CHECK: [0x02,0x05,0x86,0xc1,0x00,0x00,0x00,0x00]
2292 s_buffer_atomic_cmpswap_x2 s[20:23], s[4:7], s0 glc
2293 // CHECK: [0x02,0x05,0x85,0xc1,0x00,0x00,0x00,0x00]
2295 s_buffer_atomic_add_x2 s[10:11], s[4:7], s0
2296 // CHECK: [0x82,0x02,0x88,0xc1,0x00,0x00,0x00,0x00]
2298 s_buffer_atomic_add_x2 s[12:13], s[4:7], s0
2299 // CHECK: [0x02,0x03,0x88,0xc1,0x00,0x00,0x00,0x00]
2301 s_buffer_atomic_add_x2 s[100:101], s[4:7], s0
2302 // CHECK: [0x02,0x19,0x88,0xc1,0x00,0x00,0x00,0x00]
2304 s_buffer_atomic_add_x2 flat_scratch, s[4:7], s0
2305 // CHECK: [0x82,0x19,0x88,0xc1,0x00,0x00,0x00,0x00]
2307 s_buffer_atomic_add_x2 vcc, s[4:7], s0
2308 // CHECK: [0x82,0x1a,0x88,0xc1,0x00,0x00,0x00,0x00]
2310 s_buffer_atomic_add_x2 ttmp[14:15], s[4:7], s0
2311 // CHECK: [0x82,0x1e,0x88,0xc1,0x00,0x00,0x00,0x00]
2313 s_buffer_atomic_add_x2 s[10:11], s[8:11], s0
2314 // CHECK: [0x84,0x02,0x88,0xc1,0x00,0x00,0x00,0x00]
2316 s_buffer_atomic_add_x2 s[10:11], s[96:99], s0
2317 // CHECK: [0xb0,0x02,0x88,0xc1,0x00,0x00,0x00,0x00]
2319 s_buffer_atomic_add_x2 s[10:11], ttmp[12:15], s0
2320 // CHECK: [0xbc,0x02,0x88,0xc1,0x00,0x00,0x00,0x00]
2322 s_buffer_atomic_add_x2 s[10:11], s[4:7], s101
2323 // CHECK: [0x82,0x02,0x88,0xc1,0x65,0x00,0x00,0x00]
2325 s_buffer_atomic_add_x2 s[10:11], s[4:7], flat_scratch_lo
2326 // CHECK: [0x82,0x02,0x88,0xc1,0x66,0x00,0x00,0x00]
2328 s_buffer_atomic_add_x2 s[10:11], s[4:7], flat_scratch_hi
2329 // CHECK: [0x82,0x02,0x88,0xc1,0x67,0x00,0x00,0x00]
2331 s_buffer_atomic_add_x2 s[10:11], s[4:7], vcc_lo
2332 // CHECK: [0x82,0x02,0x88,0xc1,0x6a,0x00,0x00,0x00]
2334 s_buffer_atomic_add_x2 s[10:11], s[4:7], vcc_hi
2335 // CHECK: [0x82,0x02,0x88,0xc1,0x6b,0x00,0x00,0x00]
2337 s_buffer_atomic_add_x2 s[10:11], s[4:7], ttmp15
2338 // CHECK: [0x82,0x02,0x88,0xc1,0x7b,0x00,0x00,0x00]
2340 s_buffer_atomic_add_x2 s[10:11], s[4:7], m0
2341 // CHECK: [0x82,0x02,0x88,0xc1,0x7c,0x00,0x00,0x00]
2343 s_buffer_atomic_add_x2 s[10:11], s[4:7], 0x0
2344 // CHECK: [0x82,0x02,0x8a,0xc1,0x00,0x00,0x00,0x00]
2346 s_buffer_atomic_add_x2 s[10:11], s[4:7], s0 glc
2347 // CHECK: [0x82,0x02,0x89,0xc1,0x00,0x00,0x00,0x00]
2349 s_buffer_atomic_sub_x2 s[10:11], s[4:7], s0
2350 // CHECK: [0x82,0x02,0x8c,0xc1,0x00,0x00,0x00,0x00]
2352 s_buffer_atomic_sub_x2 s[12:13], s[4:7], s0
2353 // CHECK: [0x02,0x03,0x8c,0xc1,0x00,0x00,0x00,0x00]
2355 s_buffer_atomic_sub_x2 s[100:101], s[4:7], s0
2356 // CHECK: [0x02,0x19,0x8c,0xc1,0x00,0x00,0x00,0x00]
2358 s_buffer_atomic_sub_x2 flat_scratch, s[4:7], s0
2359 // CHECK: [0x82,0x19,0x8c,0xc1,0x00,0x00,0x00,0x00]
2361 s_buffer_atomic_sub_x2 vcc, s[4:7], s0
2362 // CHECK: [0x82,0x1a,0x8c,0xc1,0x00,0x00,0x00,0x00]
2364 s_buffer_atomic_sub_x2 ttmp[14:15], s[4:7], s0
2365 // CHECK: [0x82,0x1e,0x8c,0xc1,0x00,0x00,0x00,0x00]
2367 s_buffer_atomic_sub_x2 s[10:11], s[8:11], s0
2368 // CHECK: [0x84,0x02,0x8c,0xc1,0x00,0x00,0x00,0x00]
2370 s_buffer_atomic_sub_x2 s[10:11], s[96:99], s0
2371 // CHECK: [0xb0,0x02,0x8c,0xc1,0x00,0x00,0x00,0x00]
2373 s_buffer_atomic_sub_x2 s[10:11], ttmp[12:15], s0
2374 // CHECK: [0xbc,0x02,0x8c,0xc1,0x00,0x00,0x00,0x00]
2376 s_buffer_atomic_sub_x2 s[10:11], s[4:7], s101
2377 // CHECK: [0x82,0x02,0x8c,0xc1,0x65,0x00,0x00,0x00]
2379 s_buffer_atomic_sub_x2 s[10:11], s[4:7], flat_scratch_lo
2380 // CHECK: [0x82,0x02,0x8c,0xc1,0x66,0x00,0x00,0x00]
2382 s_buffer_atomic_sub_x2 s[10:11], s[4:7], flat_scratch_hi
2383 // CHECK: [0x82,0x02,0x8c,0xc1,0x67,0x00,0x00,0x00]
2385 s_buffer_atomic_sub_x2 s[10:11], s[4:7], vcc_lo
2386 // CHECK: [0x82,0x02,0x8c,0xc1,0x6a,0x00,0x00,0x00]
2388 s_buffer_atomic_sub_x2 s[10:11], s[4:7], vcc_hi
2389 // CHECK: [0x82,0x02,0x8c,0xc1,0x6b,0x00,0x00,0x00]
2391 s_buffer_atomic_sub_x2 s[10:11], s[4:7], ttmp15
2392 // CHECK: [0x82,0x02,0x8c,0xc1,0x7b,0x00,0x00,0x00]
2394 s_buffer_atomic_sub_x2 s[10:11], s[4:7], m0
2395 // CHECK: [0x82,0x02,0x8c,0xc1,0x7c,0x00,0x00,0x00]
2397 s_buffer_atomic_sub_x2 s[10:11], s[4:7], 0x0
2398 // CHECK: [0x82,0x02,0x8e,0xc1,0x00,0x00,0x00,0x00]
2400 s_buffer_atomic_sub_x2 s[10:11], s[4:7], s0 glc
2401 // CHECK: [0x82,0x02,0x8d,0xc1,0x00,0x00,0x00,0x00]
2403 s_buffer_atomic_smin_x2 s[10:11], s[4:7], s0
2404 // CHECK: [0x82,0x02,0x90,0xc1,0x00,0x00,0x00,0x00]
2406 s_buffer_atomic_smin_x2 s[12:13], s[4:7], s0
2407 // CHECK: [0x02,0x03,0x90,0xc1,0x00,0x00,0x00,0x00]
2409 s_buffer_atomic_smin_x2 s[100:101], s[4:7], s0
2410 // CHECK: [0x02,0x19,0x90,0xc1,0x00,0x00,0x00,0x00]
2412 s_buffer_atomic_smin_x2 flat_scratch, s[4:7], s0
2413 // CHECK: [0x82,0x19,0x90,0xc1,0x00,0x00,0x00,0x00]
2415 s_buffer_atomic_smin_x2 vcc, s[4:7], s0
2416 // CHECK: [0x82,0x1a,0x90,0xc1,0x00,0x00,0x00,0x00]
2418 s_buffer_atomic_smin_x2 ttmp[14:15], s[4:7], s0
2419 // CHECK: [0x82,0x1e,0x90,0xc1,0x00,0x00,0x00,0x00]
2421 s_buffer_atomic_smin_x2 s[10:11], s[8:11], s0
2422 // CHECK: [0x84,0x02,0x90,0xc1,0x00,0x00,0x00,0x00]
2424 s_buffer_atomic_smin_x2 s[10:11], s[96:99], s0
2425 // CHECK: [0xb0,0x02,0x90,0xc1,0x00,0x00,0x00,0x00]
2427 s_buffer_atomic_smin_x2 s[10:11], ttmp[12:15], s0
2428 // CHECK: [0xbc,0x02,0x90,0xc1,0x00,0x00,0x00,0x00]
2430 s_buffer_atomic_smin_x2 s[10:11], s[4:7], s101
2431 // CHECK: [0x82,0x02,0x90,0xc1,0x65,0x00,0x00,0x00]
2433 s_buffer_atomic_smin_x2 s[10:11], s[4:7], flat_scratch_lo
2434 // CHECK: [0x82,0x02,0x90,0xc1,0x66,0x00,0x00,0x00]
2436 s_buffer_atomic_smin_x2 s[10:11], s[4:7], flat_scratch_hi
2437 // CHECK: [0x82,0x02,0x90,0xc1,0x67,0x00,0x00,0x00]
2439 s_buffer_atomic_smin_x2 s[10:11], s[4:7], vcc_lo
2440 // CHECK: [0x82,0x02,0x90,0xc1,0x6a,0x00,0x00,0x00]
2442 s_buffer_atomic_smin_x2 s[10:11], s[4:7], vcc_hi
2443 // CHECK: [0x82,0x02,0x90,0xc1,0x6b,0x00,0x00,0x00]
2445 s_buffer_atomic_smin_x2 s[10:11], s[4:7], ttmp15
2446 // CHECK: [0x82,0x02,0x90,0xc1,0x7b,0x00,0x00,0x00]
2448 s_buffer_atomic_smin_x2 s[10:11], s[4:7], m0
2449 // CHECK: [0x82,0x02,0x90,0xc1,0x7c,0x00,0x00,0x00]
2451 s_buffer_atomic_smin_x2 s[10:11], s[4:7], 0x0
2452 // CHECK: [0x82,0x02,0x92,0xc1,0x00,0x00,0x00,0x00]
2454 s_buffer_atomic_smin_x2 s[10:11], s[4:7], s0 glc
2455 // CHECK: [0x82,0x02,0x91,0xc1,0x00,0x00,0x00,0x00]
2457 s_buffer_atomic_umin_x2 s[10:11], s[4:7], s0
2458 // CHECK: [0x82,0x02,0x94,0xc1,0x00,0x00,0x00,0x00]
2460 s_buffer_atomic_umin_x2 s[12:13], s[4:7], s0
2461 // CHECK: [0x02,0x03,0x94,0xc1,0x00,0x00,0x00,0x00]
2463 s_buffer_atomic_umin_x2 s[100:101], s[4:7], s0
2464 // CHECK: [0x02,0x19,0x94,0xc1,0x00,0x00,0x00,0x00]
2466 s_buffer_atomic_umin_x2 flat_scratch, s[4:7], s0
2467 // CHECK: [0x82,0x19,0x94,0xc1,0x00,0x00,0x00,0x00]
2469 s_buffer_atomic_umin_x2 vcc, s[4:7], s0
2470 // CHECK: [0x82,0x1a,0x94,0xc1,0x00,0x00,0x00,0x00]
2472 s_buffer_atomic_umin_x2 ttmp[14:15], s[4:7], s0
2473 // CHECK: [0x82,0x1e,0x94,0xc1,0x00,0x00,0x00,0x00]
2475 s_buffer_atomic_umin_x2 s[10:11], s[8:11], s0
2476 // CHECK: [0x84,0x02,0x94,0xc1,0x00,0x00,0x00,0x00]
2478 s_buffer_atomic_umin_x2 s[10:11], s[96:99], s0
2479 // CHECK: [0xb0,0x02,0x94,0xc1,0x00,0x00,0x00,0x00]
2481 s_buffer_atomic_umin_x2 s[10:11], ttmp[12:15], s0
2482 // CHECK: [0xbc,0x02,0x94,0xc1,0x00,0x00,0x00,0x00]
2484 s_buffer_atomic_umin_x2 s[10:11], s[4:7], s101
2485 // CHECK: [0x82,0x02,0x94,0xc1,0x65,0x00,0x00,0x00]
2487 s_buffer_atomic_umin_x2 s[10:11], s[4:7], flat_scratch_lo
2488 // CHECK: [0x82,0x02,0x94,0xc1,0x66,0x00,0x00,0x00]
2490 s_buffer_atomic_umin_x2 s[10:11], s[4:7], flat_scratch_hi
2491 // CHECK: [0x82,0x02,0x94,0xc1,0x67,0x00,0x00,0x00]
2493 s_buffer_atomic_umin_x2 s[10:11], s[4:7], vcc_lo
2494 // CHECK: [0x82,0x02,0x94,0xc1,0x6a,0x00,0x00,0x00]
2496 s_buffer_atomic_umin_x2 s[10:11], s[4:7], vcc_hi
2497 // CHECK: [0x82,0x02,0x94,0xc1,0x6b,0x00,0x00,0x00]
2499 s_buffer_atomic_umin_x2 s[10:11], s[4:7], ttmp15
2500 // CHECK: [0x82,0x02,0x94,0xc1,0x7b,0x00,0x00,0x00]
2502 s_buffer_atomic_umin_x2 s[10:11], s[4:7], m0
2503 // CHECK: [0x82,0x02,0x94,0xc1,0x7c,0x00,0x00,0x00]
2505 s_buffer_atomic_umin_x2 s[10:11], s[4:7], 0x0
2506 // CHECK: [0x82,0x02,0x96,0xc1,0x00,0x00,0x00,0x00]
2508 s_buffer_atomic_umin_x2 s[10:11], s[4:7], s0 glc
2509 // CHECK: [0x82,0x02,0x95,0xc1,0x00,0x00,0x00,0x00]
2511 s_buffer_atomic_smax_x2 s[10:11], s[4:7], s0
2512 // CHECK: [0x82,0x02,0x98,0xc1,0x00,0x00,0x00,0x00]
2514 s_buffer_atomic_smax_x2 s[12:13], s[4:7], s0
2515 // CHECK: [0x02,0x03,0x98,0xc1,0x00,0x00,0x00,0x00]
2517 s_buffer_atomic_smax_x2 s[100:101], s[4:7], s0
2518 // CHECK: [0x02,0x19,0x98,0xc1,0x00,0x00,0x00,0x00]
2520 s_buffer_atomic_smax_x2 flat_scratch, s[4:7], s0
2521 // CHECK: [0x82,0x19,0x98,0xc1,0x00,0x00,0x00,0x00]
2523 s_buffer_atomic_smax_x2 vcc, s[4:7], s0
2524 // CHECK: [0x82,0x1a,0x98,0xc1,0x00,0x00,0x00,0x00]
2526 s_buffer_atomic_smax_x2 ttmp[14:15], s[4:7], s0
2527 // CHECK: [0x82,0x1e,0x98,0xc1,0x00,0x00,0x00,0x00]
2529 s_buffer_atomic_smax_x2 s[10:11], s[8:11], s0
2530 // CHECK: [0x84,0x02,0x98,0xc1,0x00,0x00,0x00,0x00]
2532 s_buffer_atomic_smax_x2 s[10:11], s[96:99], s0
2533 // CHECK: [0xb0,0x02,0x98,0xc1,0x00,0x00,0x00,0x00]
2535 s_buffer_atomic_smax_x2 s[10:11], ttmp[12:15], s0
2536 // CHECK: [0xbc,0x02,0x98,0xc1,0x00,0x00,0x00,0x00]
2538 s_buffer_atomic_smax_x2 s[10:11], s[4:7], s101
2539 // CHECK: [0x82,0x02,0x98,0xc1,0x65,0x00,0x00,0x00]
2541 s_buffer_atomic_smax_x2 s[10:11], s[4:7], flat_scratch_lo
2542 // CHECK: [0x82,0x02,0x98,0xc1,0x66,0x00,0x00,0x00]
2544 s_buffer_atomic_smax_x2 s[10:11], s[4:7], flat_scratch_hi
2545 // CHECK: [0x82,0x02,0x98,0xc1,0x67,0x00,0x00,0x00]
2547 s_buffer_atomic_smax_x2 s[10:11], s[4:7], vcc_lo
2548 // CHECK: [0x82,0x02,0x98,0xc1,0x6a,0x00,0x00,0x00]
2550 s_buffer_atomic_smax_x2 s[10:11], s[4:7], vcc_hi
2551 // CHECK: [0x82,0x02,0x98,0xc1,0x6b,0x00,0x00,0x00]
2553 s_buffer_atomic_smax_x2 s[10:11], s[4:7], ttmp15
2554 // CHECK: [0x82,0x02,0x98,0xc1,0x7b,0x00,0x00,0x00]
2556 s_buffer_atomic_smax_x2 s[10:11], s[4:7], m0
2557 // CHECK: [0x82,0x02,0x98,0xc1,0x7c,0x00,0x00,0x00]
2559 s_buffer_atomic_smax_x2 s[10:11], s[4:7], 0x0
2560 // CHECK: [0x82,0x02,0x9a,0xc1,0x00,0x00,0x00,0x00]
2562 s_buffer_atomic_smax_x2 s[10:11], s[4:7], s0 glc
2563 // CHECK: [0x82,0x02,0x99,0xc1,0x00,0x00,0x00,0x00]
2565 s_buffer_atomic_umax_x2 s[10:11], s[4:7], s0
2566 // CHECK: [0x82,0x02,0x9c,0xc1,0x00,0x00,0x00,0x00]
2568 s_buffer_atomic_umax_x2 s[12:13], s[4:7], s0
2569 // CHECK: [0x02,0x03,0x9c,0xc1,0x00,0x00,0x00,0x00]
2571 s_buffer_atomic_umax_x2 s[100:101], s[4:7], s0
2572 // CHECK: [0x02,0x19,0x9c,0xc1,0x00,0x00,0x00,0x00]
2574 s_buffer_atomic_umax_x2 flat_scratch, s[4:7], s0
2575 // CHECK: [0x82,0x19,0x9c,0xc1,0x00,0x00,0x00,0x00]
2577 s_buffer_atomic_umax_x2 vcc, s[4:7], s0
2578 // CHECK: [0x82,0x1a,0x9c,0xc1,0x00,0x00,0x00,0x00]
2580 s_buffer_atomic_umax_x2 ttmp[14:15], s[4:7], s0
2581 // CHECK: [0x82,0x1e,0x9c,0xc1,0x00,0x00,0x00,0x00]
2583 s_buffer_atomic_umax_x2 s[10:11], s[8:11], s0
2584 // CHECK: [0x84,0x02,0x9c,0xc1,0x00,0x00,0x00,0x00]
2586 s_buffer_atomic_umax_x2 s[10:11], s[96:99], s0
2587 // CHECK: [0xb0,0x02,0x9c,0xc1,0x00,0x00,0x00,0x00]
2589 s_buffer_atomic_umax_x2 s[10:11], ttmp[12:15], s0
2590 // CHECK: [0xbc,0x02,0x9c,0xc1,0x00,0x00,0x00,0x00]
2592 s_buffer_atomic_umax_x2 s[10:11], s[4:7], s101
2593 // CHECK: [0x82,0x02,0x9c,0xc1,0x65,0x00,0x00,0x00]
2595 s_buffer_atomic_umax_x2 s[10:11], s[4:7], flat_scratch_lo
2596 // CHECK: [0x82,0x02,0x9c,0xc1,0x66,0x00,0x00,0x00]
2598 s_buffer_atomic_umax_x2 s[10:11], s[4:7], flat_scratch_hi
2599 // CHECK: [0x82,0x02,0x9c,0xc1,0x67,0x00,0x00,0x00]
2601 s_buffer_atomic_umax_x2 s[10:11], s[4:7], vcc_lo
2602 // CHECK: [0x82,0x02,0x9c,0xc1,0x6a,0x00,0x00,0x00]
2604 s_buffer_atomic_umax_x2 s[10:11], s[4:7], vcc_hi
2605 // CHECK: [0x82,0x02,0x9c,0xc1,0x6b,0x00,0x00,0x00]
2607 s_buffer_atomic_umax_x2 s[10:11], s[4:7], ttmp15
2608 // CHECK: [0x82,0x02,0x9c,0xc1,0x7b,0x00,0x00,0x00]
2610 s_buffer_atomic_umax_x2 s[10:11], s[4:7], m0
2611 // CHECK: [0x82,0x02,0x9c,0xc1,0x7c,0x00,0x00,0x00]
2613 s_buffer_atomic_umax_x2 s[10:11], s[4:7], 0x0
2614 // CHECK: [0x82,0x02,0x9e,0xc1,0x00,0x00,0x00,0x00]
2616 s_buffer_atomic_umax_x2 s[10:11], s[4:7], s0 glc
2617 // CHECK: [0x82,0x02,0x9d,0xc1,0x00,0x00,0x00,0x00]
2619 s_buffer_atomic_and_x2 s[10:11], s[4:7], s0
2620 // CHECK: [0x82,0x02,0xa0,0xc1,0x00,0x00,0x00,0x00]
2622 s_buffer_atomic_and_x2 s[12:13], s[4:7], s0
2623 // CHECK: [0x02,0x03,0xa0,0xc1,0x00,0x00,0x00,0x00]
2625 s_buffer_atomic_and_x2 s[100:101], s[4:7], s0
2626 // CHECK: [0x02,0x19,0xa0,0xc1,0x00,0x00,0x00,0x00]
2628 s_buffer_atomic_and_x2 flat_scratch, s[4:7], s0
2629 // CHECK: [0x82,0x19,0xa0,0xc1,0x00,0x00,0x00,0x00]
2631 s_buffer_atomic_and_x2 vcc, s[4:7], s0
2632 // CHECK: [0x82,0x1a,0xa0,0xc1,0x00,0x00,0x00,0x00]
2634 s_buffer_atomic_and_x2 ttmp[14:15], s[4:7], s0
2635 // CHECK: [0x82,0x1e,0xa0,0xc1,0x00,0x00,0x00,0x00]
2637 s_buffer_atomic_and_x2 s[10:11], s[8:11], s0
2638 // CHECK: [0x84,0x02,0xa0,0xc1,0x00,0x00,0x00,0x00]
2640 s_buffer_atomic_and_x2 s[10:11], s[96:99], s0
2641 // CHECK: [0xb0,0x02,0xa0,0xc1,0x00,0x00,0x00,0x00]
2643 s_buffer_atomic_and_x2 s[10:11], ttmp[12:15], s0
2644 // CHECK: [0xbc,0x02,0xa0,0xc1,0x00,0x00,0x00,0x00]
2646 s_buffer_atomic_and_x2 s[10:11], s[4:7], s101
2647 // CHECK: [0x82,0x02,0xa0,0xc1,0x65,0x00,0x00,0x00]
2649 s_buffer_atomic_and_x2 s[10:11], s[4:7], flat_scratch_lo
2650 // CHECK: [0x82,0x02,0xa0,0xc1,0x66,0x00,0x00,0x00]
2652 s_buffer_atomic_and_x2 s[10:11], s[4:7], flat_scratch_hi
2653 // CHECK: [0x82,0x02,0xa0,0xc1,0x67,0x00,0x00,0x00]
2655 s_buffer_atomic_and_x2 s[10:11], s[4:7], vcc_lo
2656 // CHECK: [0x82,0x02,0xa0,0xc1,0x6a,0x00,0x00,0x00]
2658 s_buffer_atomic_and_x2 s[10:11], s[4:7], vcc_hi
2659 // CHECK: [0x82,0x02,0xa0,0xc1,0x6b,0x00,0x00,0x00]
2661 s_buffer_atomic_and_x2 s[10:11], s[4:7], ttmp15
2662 // CHECK: [0x82,0x02,0xa0,0xc1,0x7b,0x00,0x00,0x00]
2664 s_buffer_atomic_and_x2 s[10:11], s[4:7], m0
2665 // CHECK: [0x82,0x02,0xa0,0xc1,0x7c,0x00,0x00,0x00]
2667 s_buffer_atomic_and_x2 s[10:11], s[4:7], 0x0
2668 // CHECK: [0x82,0x02,0xa2,0xc1,0x00,0x00,0x00,0x00]
2670 s_buffer_atomic_and_x2 s[10:11], s[4:7], s0 glc
2671 // CHECK: [0x82,0x02,0xa1,0xc1,0x00,0x00,0x00,0x00]
2673 s_buffer_atomic_or_x2 s[10:11], s[4:7], s0
2674 // CHECK: [0x82,0x02,0xa4,0xc1,0x00,0x00,0x00,0x00]
2676 s_buffer_atomic_or_x2 s[12:13], s[4:7], s0
2677 // CHECK: [0x02,0x03,0xa4,0xc1,0x00,0x00,0x00,0x00]
2679 s_buffer_atomic_or_x2 s[100:101], s[4:7], s0
2680 // CHECK: [0x02,0x19,0xa4,0xc1,0x00,0x00,0x00,0x00]
2682 s_buffer_atomic_or_x2 flat_scratch, s[4:7], s0
2683 // CHECK: [0x82,0x19,0xa4,0xc1,0x00,0x00,0x00,0x00]
2685 s_buffer_atomic_or_x2 vcc, s[4:7], s0
2686 // CHECK: [0x82,0x1a,0xa4,0xc1,0x00,0x00,0x00,0x00]
2688 s_buffer_atomic_or_x2 ttmp[14:15], s[4:7], s0
2689 // CHECK: [0x82,0x1e,0xa4,0xc1,0x00,0x00,0x00,0x00]
2691 s_buffer_atomic_or_x2 s[10:11], s[8:11], s0
2692 // CHECK: [0x84,0x02,0xa4,0xc1,0x00,0x00,0x00,0x00]
2694 s_buffer_atomic_or_x2 s[10:11], s[96:99], s0
2695 // CHECK: [0xb0,0x02,0xa4,0xc1,0x00,0x00,0x00,0x00]
2697 s_buffer_atomic_or_x2 s[10:11], ttmp[12:15], s0
2698 // CHECK: [0xbc,0x02,0xa4,0xc1,0x00,0x00,0x00,0x00]
2700 s_buffer_atomic_or_x2 s[10:11], s[4:7], s101
2701 // CHECK: [0x82,0x02,0xa4,0xc1,0x65,0x00,0x00,0x00]
2703 s_buffer_atomic_or_x2 s[10:11], s[4:7], flat_scratch_lo
2704 // CHECK: [0x82,0x02,0xa4,0xc1,0x66,0x00,0x00,0x00]
2706 s_buffer_atomic_or_x2 s[10:11], s[4:7], flat_scratch_hi
2707 // CHECK: [0x82,0x02,0xa4,0xc1,0x67,0x00,0x00,0x00]
2709 s_buffer_atomic_or_x2 s[10:11], s[4:7], vcc_lo
2710 // CHECK: [0x82,0x02,0xa4,0xc1,0x6a,0x00,0x00,0x00]
2712 s_buffer_atomic_or_x2 s[10:11], s[4:7], vcc_hi
2713 // CHECK: [0x82,0x02,0xa4,0xc1,0x6b,0x00,0x00,0x00]
2715 s_buffer_atomic_or_x2 s[10:11], s[4:7], ttmp15
2716 // CHECK: [0x82,0x02,0xa4,0xc1,0x7b,0x00,0x00,0x00]
2718 s_buffer_atomic_or_x2 s[10:11], s[4:7], m0
2719 // CHECK: [0x82,0x02,0xa4,0xc1,0x7c,0x00,0x00,0x00]
2721 s_buffer_atomic_or_x2 s[10:11], s[4:7], 0x0
2722 // CHECK: [0x82,0x02,0xa6,0xc1,0x00,0x00,0x00,0x00]
2724 s_buffer_atomic_or_x2 s[10:11], s[4:7], s0 glc
2725 // CHECK: [0x82,0x02,0xa5,0xc1,0x00,0x00,0x00,0x00]
2727 s_buffer_atomic_xor_x2 s[10:11], s[4:7], s0
2728 // CHECK: [0x82,0x02,0xa8,0xc1,0x00,0x00,0x00,0x00]
2730 s_buffer_atomic_xor_x2 s[12:13], s[4:7], s0
2731 // CHECK: [0x02,0x03,0xa8,0xc1,0x00,0x00,0x00,0x00]
2733 s_buffer_atomic_xor_x2 s[100:101], s[4:7], s0
2734 // CHECK: [0x02,0x19,0xa8,0xc1,0x00,0x00,0x00,0x00]
2736 s_buffer_atomic_xor_x2 flat_scratch, s[4:7], s0
2737 // CHECK: [0x82,0x19,0xa8,0xc1,0x00,0x00,0x00,0x00]
2739 s_buffer_atomic_xor_x2 vcc, s[4:7], s0
2740 // CHECK: [0x82,0x1a,0xa8,0xc1,0x00,0x00,0x00,0x00]
2742 s_buffer_atomic_xor_x2 ttmp[14:15], s[4:7], s0
2743 // CHECK: [0x82,0x1e,0xa8,0xc1,0x00,0x00,0x00,0x00]
2745 s_buffer_atomic_xor_x2 s[10:11], s[8:11], s0
2746 // CHECK: [0x84,0x02,0xa8,0xc1,0x00,0x00,0x00,0x00]
2748 s_buffer_atomic_xor_x2 s[10:11], s[96:99], s0
2749 // CHECK: [0xb0,0x02,0xa8,0xc1,0x00,0x00,0x00,0x00]
2751 s_buffer_atomic_xor_x2 s[10:11], ttmp[12:15], s0
2752 // CHECK: [0xbc,0x02,0xa8,0xc1,0x00,0x00,0x00,0x00]
2754 s_buffer_atomic_xor_x2 s[10:11], s[4:7], s101
2755 // CHECK: [0x82,0x02,0xa8,0xc1,0x65,0x00,0x00,0x00]
2757 s_buffer_atomic_xor_x2 s[10:11], s[4:7], flat_scratch_lo
2758 // CHECK: [0x82,0x02,0xa8,0xc1,0x66,0x00,0x00,0x00]
2760 s_buffer_atomic_xor_x2 s[10:11], s[4:7], flat_scratch_hi
2761 // CHECK: [0x82,0x02,0xa8,0xc1,0x67,0x00,0x00,0x00]
2763 s_buffer_atomic_xor_x2 s[10:11], s[4:7], vcc_lo
2764 // CHECK: [0x82,0x02,0xa8,0xc1,0x6a,0x00,0x00,0x00]
2766 s_buffer_atomic_xor_x2 s[10:11], s[4:7], vcc_hi
2767 // CHECK: [0x82,0x02,0xa8,0xc1,0x6b,0x00,0x00,0x00]
2769 s_buffer_atomic_xor_x2 s[10:11], s[4:7], ttmp15
2770 // CHECK: [0x82,0x02,0xa8,0xc1,0x7b,0x00,0x00,0x00]
2772 s_buffer_atomic_xor_x2 s[10:11], s[4:7], m0
2773 // CHECK: [0x82,0x02,0xa8,0xc1,0x7c,0x00,0x00,0x00]
2775 s_buffer_atomic_xor_x2 s[10:11], s[4:7], 0x0
2776 // CHECK: [0x82,0x02,0xaa,0xc1,0x00,0x00,0x00,0x00]
2778 s_buffer_atomic_xor_x2 s[10:11], s[4:7], s0 glc
2779 // CHECK: [0x82,0x02,0xa9,0xc1,0x00,0x00,0x00,0x00]
2781 s_buffer_atomic_inc_x2 s[10:11], s[4:7], s0
2782 // CHECK: [0x82,0x02,0xac,0xc1,0x00,0x00,0x00,0x00]
2784 s_buffer_atomic_inc_x2 s[12:13], s[4:7], s0
2785 // CHECK: [0x02,0x03,0xac,0xc1,0x00,0x00,0x00,0x00]
2787 s_buffer_atomic_inc_x2 s[100:101], s[4:7], s0
2788 // CHECK: [0x02,0x19,0xac,0xc1,0x00,0x00,0x00,0x00]
2790 s_buffer_atomic_inc_x2 flat_scratch, s[4:7], s0
2791 // CHECK: [0x82,0x19,0xac,0xc1,0x00,0x00,0x00,0x00]
2793 s_buffer_atomic_inc_x2 vcc, s[4:7], s0
2794 // CHECK: [0x82,0x1a,0xac,0xc1,0x00,0x00,0x00,0x00]
2796 s_buffer_atomic_inc_x2 ttmp[14:15], s[4:7], s0
2797 // CHECK: [0x82,0x1e,0xac,0xc1,0x00,0x00,0x00,0x00]
2799 s_buffer_atomic_inc_x2 s[10:11], s[8:11], s0
2800 // CHECK: [0x84,0x02,0xac,0xc1,0x00,0x00,0x00,0x00]
2802 s_buffer_atomic_inc_x2 s[10:11], s[96:99], s0
2803 // CHECK: [0xb0,0x02,0xac,0xc1,0x00,0x00,0x00,0x00]
2805 s_buffer_atomic_inc_x2 s[10:11], ttmp[12:15], s0
2806 // CHECK: [0xbc,0x02,0xac,0xc1,0x00,0x00,0x00,0x00]
2808 s_buffer_atomic_inc_x2 s[10:11], s[4:7], s101
2809 // CHECK: [0x82,0x02,0xac,0xc1,0x65,0x00,0x00,0x00]
2811 s_buffer_atomic_inc_x2 s[10:11], s[4:7], flat_scratch_lo
2812 // CHECK: [0x82,0x02,0xac,0xc1,0x66,0x00,0x00,0x00]
2814 s_buffer_atomic_inc_x2 s[10:11], s[4:7], flat_scratch_hi
2815 // CHECK: [0x82,0x02,0xac,0xc1,0x67,0x00,0x00,0x00]
2817 s_buffer_atomic_inc_x2 s[10:11], s[4:7], vcc_lo
2818 // CHECK: [0x82,0x02,0xac,0xc1,0x6a,0x00,0x00,0x00]
2820 s_buffer_atomic_inc_x2 s[10:11], s[4:7], vcc_hi
2821 // CHECK: [0x82,0x02,0xac,0xc1,0x6b,0x00,0x00,0x00]
2823 s_buffer_atomic_inc_x2 s[10:11], s[4:7], ttmp15
2824 // CHECK: [0x82,0x02,0xac,0xc1,0x7b,0x00,0x00,0x00]
2826 s_buffer_atomic_inc_x2 s[10:11], s[4:7], m0
2827 // CHECK: [0x82,0x02,0xac,0xc1,0x7c,0x00,0x00,0x00]
2829 s_buffer_atomic_inc_x2 s[10:11], s[4:7], 0x0
2830 // CHECK: [0x82,0x02,0xae,0xc1,0x00,0x00,0x00,0x00]
2832 s_buffer_atomic_inc_x2 s[10:11], s[4:7], s0 glc
2833 // CHECK: [0x82,0x02,0xad,0xc1,0x00,0x00,0x00,0x00]
2835 s_buffer_atomic_dec_x2 s[10:11], s[4:7], s0
2836 // CHECK: [0x82,0x02,0xb0,0xc1,0x00,0x00,0x00,0x00]
2838 s_buffer_atomic_dec_x2 s[12:13], s[4:7], s0
2839 // CHECK: [0x02,0x03,0xb0,0xc1,0x00,0x00,0x00,0x00]
2841 s_buffer_atomic_dec_x2 s[100:101], s[4:7], s0
2842 // CHECK: [0x02,0x19,0xb0,0xc1,0x00,0x00,0x00,0x00]
2844 s_buffer_atomic_dec_x2 flat_scratch, s[4:7], s0
2845 // CHECK: [0x82,0x19,0xb0,0xc1,0x00,0x00,0x00,0x00]
2847 s_buffer_atomic_dec_x2 vcc, s[4:7], s0
2848 // CHECK: [0x82,0x1a,0xb0,0xc1,0x00,0x00,0x00,0x00]
2850 s_buffer_atomic_dec_x2 ttmp[14:15], s[4:7], s0
2851 // CHECK: [0x82,0x1e,0xb0,0xc1,0x00,0x00,0x00,0x00]
2853 s_buffer_atomic_dec_x2 s[10:11], s[8:11], s0
2854 // CHECK: [0x84,0x02,0xb0,0xc1,0x00,0x00,0x00,0x00]
2856 s_buffer_atomic_dec_x2 s[10:11], s[96:99], s0
2857 // CHECK: [0xb0,0x02,0xb0,0xc1,0x00,0x00,0x00,0x00]
2859 s_buffer_atomic_dec_x2 s[10:11], ttmp[12:15], s0
2860 // CHECK: [0xbc,0x02,0xb0,0xc1,0x00,0x00,0x00,0x00]
2862 s_buffer_atomic_dec_x2 s[10:11], s[4:7], s101
2863 // CHECK: [0x82,0x02,0xb0,0xc1,0x65,0x00,0x00,0x00]
2865 s_buffer_atomic_dec_x2 s[10:11], s[4:7], flat_scratch_lo
2866 // CHECK: [0x82,0x02,0xb0,0xc1,0x66,0x00,0x00,0x00]
2868 s_buffer_atomic_dec_x2 s[10:11], s[4:7], flat_scratch_hi
2869 // CHECK: [0x82,0x02,0xb0,0xc1,0x67,0x00,0x00,0x00]
2871 s_buffer_atomic_dec_x2 s[10:11], s[4:7], vcc_lo
2872 // CHECK: [0x82,0x02,0xb0,0xc1,0x6a,0x00,0x00,0x00]
2874 s_buffer_atomic_dec_x2 s[10:11], s[4:7], vcc_hi
2875 // CHECK: [0x82,0x02,0xb0,0xc1,0x6b,0x00,0x00,0x00]
2877 s_buffer_atomic_dec_x2 s[10:11], s[4:7], ttmp15
2878 // CHECK: [0x82,0x02,0xb0,0xc1,0x7b,0x00,0x00,0x00]
2880 s_buffer_atomic_dec_x2 s[10:11], s[4:7], m0
2881 // CHECK: [0x82,0x02,0xb0,0xc1,0x7c,0x00,0x00,0x00]
2883 s_buffer_atomic_dec_x2 s[10:11], s[4:7], 0x0
2884 // CHECK: [0x82,0x02,0xb2,0xc1,0x00,0x00,0x00,0x00]
2886 s_buffer_atomic_dec_x2 s[10:11], s[4:7], s0 glc
2887 // CHECK: [0x82,0x02,0xb1,0xc1,0x00,0x00,0x00,0x00]
2889 s_atomic_swap s5, s[2:3], s0
2890 // CHECK: [0x41,0x01,0x00,0xc2,0x00,0x00,0x00,0x00]
2892 s_atomic_swap s101, s[2:3], s0
2893 // CHECK: [0x41,0x19,0x00,0xc2,0x00,0x00,0x00,0x00]
2895 s_atomic_swap flat_scratch_lo, s[2:3], s0
2896 // CHECK: [0x81,0x19,0x00,0xc2,0x00,0x00,0x00,0x00]
2898 s_atomic_swap flat_scratch_hi, s[2:3], s0
2899 // CHECK: [0xc1,0x19,0x00,0xc2,0x00,0x00,0x00,0x00]
2901 s_atomic_swap vcc_lo, s[2:3], s0
2902 // CHECK: [0x81,0x1a,0x00,0xc2,0x00,0x00,0x00,0x00]
2904 s_atomic_swap vcc_hi, s[2:3], s0
2905 // CHECK: [0xc1,0x1a,0x00,0xc2,0x00,0x00,0x00,0x00]
2907 s_atomic_swap ttmp15, s[2:3], s0
2908 // CHECK: [0xc1,0x1e,0x00,0xc2,0x00,0x00,0x00,0x00]
2910 s_atomic_swap s5, s[4:5], s0
2911 // CHECK: [0x42,0x01,0x00,0xc2,0x00,0x00,0x00,0x00]
2913 s_atomic_swap s5, s[100:101], s0
2914 // CHECK: [0x72,0x01,0x00,0xc2,0x00,0x00,0x00,0x00]
2916 s_atomic_swap s5, flat_scratch, s0
2917 // CHECK: [0x73,0x01,0x00,0xc2,0x00,0x00,0x00,0x00]
2919 s_atomic_swap s5, vcc, s0
2920 // CHECK: [0x75,0x01,0x00,0xc2,0x00,0x00,0x00,0x00]
2922 s_atomic_swap s5, ttmp[14:15], s0
2923 // CHECK: [0x7d,0x01,0x00,0xc2,0x00,0x00,0x00,0x00]
2925 s_atomic_swap s5, s[2:3], s101
2926 // CHECK: [0x41,0x01,0x00,0xc2,0x65,0x00,0x00,0x00]
2928 s_atomic_swap s5, s[2:3], flat_scratch_lo
2929 // CHECK: [0x41,0x01,0x00,0xc2,0x66,0x00,0x00,0x00]
2931 s_atomic_swap s5, s[2:3], flat_scratch_hi
2932 // CHECK: [0x41,0x01,0x00,0xc2,0x67,0x00,0x00,0x00]
2934 s_atomic_swap s5, s[2:3], vcc_lo
2935 // CHECK: [0x41,0x01,0x00,0xc2,0x6a,0x00,0x00,0x00]
2937 s_atomic_swap s5, s[2:3], vcc_hi
2938 // CHECK: [0x41,0x01,0x00,0xc2,0x6b,0x00,0x00,0x00]
2940 s_atomic_swap s5, s[2:3], ttmp15
2941 // CHECK: [0x41,0x01,0x00,0xc2,0x7b,0x00,0x00,0x00]
2943 s_atomic_swap s5, s[2:3], m0
2944 // CHECK: [0x41,0x01,0x00,0xc2,0x7c,0x00,0x00,0x00]
2946 s_atomic_swap s5, s[2:3], 0x0
2947 // CHECK: [0x41,0x01,0x02,0xc2,0x00,0x00,0x00,0x00]
2949 s_atomic_swap s5, s[2:3], s0 glc
2950 // CHECK: [0x41,0x01,0x01,0xc2,0x00,0x00,0x00,0x00]
2952 s_atomic_cmpswap s[10:11], s[2:3], s0
2953 // CHECK: [0x81,0x02,0x04,0xc2,0x00,0x00,0x00,0x00]
2955 s_atomic_cmpswap s[12:13], s[2:3], s0
2956 // CHECK: [0x01,0x03,0x04,0xc2,0x00,0x00,0x00,0x00]
2958 s_atomic_cmpswap s[100:101], s[2:3], s0
2959 // CHECK: [0x01,0x19,0x04,0xc2,0x00,0x00,0x00,0x00]
2961 s_atomic_cmpswap flat_scratch, s[2:3], s0
2962 // CHECK: [0x81,0x19,0x04,0xc2,0x00,0x00,0x00,0x00]
2964 s_atomic_cmpswap vcc, s[2:3], s0
2965 // CHECK: [0x81,0x1a,0x04,0xc2,0x00,0x00,0x00,0x00]
2967 s_atomic_cmpswap ttmp[14:15], s[2:3], s0
2968 // CHECK: [0x81,0x1e,0x04,0xc2,0x00,0x00,0x00,0x00]
2970 s_atomic_cmpswap s[10:11], s[4:5], s0
2971 // CHECK: [0x82,0x02,0x04,0xc2,0x00,0x00,0x00,0x00]
2973 s_atomic_cmpswap s[10:11], s[100:101], s0
2974 // CHECK: [0xb2,0x02,0x04,0xc2,0x00,0x00,0x00,0x00]
2976 s_atomic_cmpswap s[10:11], flat_scratch, s0
2977 // CHECK: [0xb3,0x02,0x04,0xc2,0x00,0x00,0x00,0x00]
2979 s_atomic_cmpswap s[10:11], vcc, s0
2980 // CHECK: [0xb5,0x02,0x04,0xc2,0x00,0x00,0x00,0x00]
2982 s_atomic_cmpswap s[10:11], ttmp[14:15], s0
2983 // CHECK: [0xbd,0x02,0x04,0xc2,0x00,0x00,0x00,0x00]
2985 s_atomic_cmpswap s[10:11], s[2:3], s101
2986 // CHECK: [0x81,0x02,0x04,0xc2,0x65,0x00,0x00,0x00]
2988 s_atomic_cmpswap s[10:11], s[2:3], flat_scratch_lo
2989 // CHECK: [0x81,0x02,0x04,0xc2,0x66,0x00,0x00,0x00]
2991 s_atomic_cmpswap s[10:11], s[2:3], flat_scratch_hi
2992 // CHECK: [0x81,0x02,0x04,0xc2,0x67,0x00,0x00,0x00]
2994 s_atomic_cmpswap s[10:11], s[2:3], vcc_lo
2995 // CHECK: [0x81,0x02,0x04,0xc2,0x6a,0x00,0x00,0x00]
2997 s_atomic_cmpswap s[10:11], s[2:3], vcc_hi
2998 // CHECK: [0x81,0x02,0x04,0xc2,0x6b,0x00,0x00,0x00]
3000 s_atomic_cmpswap s[10:11], s[2:3], ttmp15
3001 // CHECK: [0x81,0x02,0x04,0xc2,0x7b,0x00,0x00,0x00]
3003 s_atomic_cmpswap s[10:11], s[2:3], m0
3004 // CHECK: [0x81,0x02,0x04,0xc2,0x7c,0x00,0x00,0x00]
3006 s_atomic_cmpswap s[10:11], s[2:3], 0x0
3007 // CHECK: [0x81,0x02,0x06,0xc2,0x00,0x00,0x00,0x00]
3009 s_atomic_cmpswap s[10:11], s[2:3], s0 glc
3010 // CHECK: [0x81,0x02,0x05,0xc2,0x00,0x00,0x00,0x00]
3012 s_atomic_add s5, s[2:3], s0
3013 // CHECK: [0x41,0x01,0x08,0xc2,0x00,0x00,0x00,0x00]
3015 s_atomic_add s101, s[2:3], s0
3016 // CHECK: [0x41,0x19,0x08,0xc2,0x00,0x00,0x00,0x00]
3018 s_atomic_add flat_scratch_lo, s[2:3], s0
3019 // CHECK: [0x81,0x19,0x08,0xc2,0x00,0x00,0x00,0x00]
3021 s_atomic_add flat_scratch_hi, s[2:3], s0
3022 // CHECK: [0xc1,0x19,0x08,0xc2,0x00,0x00,0x00,0x00]
3024 s_atomic_add vcc_lo, s[2:3], s0
3025 // CHECK: [0x81,0x1a,0x08,0xc2,0x00,0x00,0x00,0x00]
3027 s_atomic_add vcc_hi, s[2:3], s0
3028 // CHECK: [0xc1,0x1a,0x08,0xc2,0x00,0x00,0x00,0x00]
3030 s_atomic_add ttmp15, s[2:3], s0
3031 // CHECK: [0xc1,0x1e,0x08,0xc2,0x00,0x00,0x00,0x00]
3033 s_atomic_add s5, s[4:5], s0
3034 // CHECK: [0x42,0x01,0x08,0xc2,0x00,0x00,0x00,0x00]
3036 s_atomic_add s5, s[100:101], s0
3037 // CHECK: [0x72,0x01,0x08,0xc2,0x00,0x00,0x00,0x00]
3039 s_atomic_add s5, flat_scratch, s0
3040 // CHECK: [0x73,0x01,0x08,0xc2,0x00,0x00,0x00,0x00]
3042 s_atomic_add s5, vcc, s0
3043 // CHECK: [0x75,0x01,0x08,0xc2,0x00,0x00,0x00,0x00]
3045 s_atomic_add s5, ttmp[14:15], s0
3046 // CHECK: [0x7d,0x01,0x08,0xc2,0x00,0x00,0x00,0x00]
3048 s_atomic_add s5, s[2:3], s101
3049 // CHECK: [0x41,0x01,0x08,0xc2,0x65,0x00,0x00,0x00]
3051 s_atomic_add s5, s[2:3], flat_scratch_lo
3052 // CHECK: [0x41,0x01,0x08,0xc2,0x66,0x00,0x00,0x00]
3054 s_atomic_add s5, s[2:3], flat_scratch_hi
3055 // CHECK: [0x41,0x01,0x08,0xc2,0x67,0x00,0x00,0x00]
3057 s_atomic_add s5, s[2:3], vcc_lo
3058 // CHECK: [0x41,0x01,0x08,0xc2,0x6a,0x00,0x00,0x00]
3060 s_atomic_add s5, s[2:3], vcc_hi
3061 // CHECK: [0x41,0x01,0x08,0xc2,0x6b,0x00,0x00,0x00]
3063 s_atomic_add s5, s[2:3], ttmp15
3064 // CHECK: [0x41,0x01,0x08,0xc2,0x7b,0x00,0x00,0x00]
3066 s_atomic_add s5, s[2:3], m0
3067 // CHECK: [0x41,0x01,0x08,0xc2,0x7c,0x00,0x00,0x00]
3069 s_atomic_add s5, s[2:3], 0x0
3070 // CHECK: [0x41,0x01,0x0a,0xc2,0x00,0x00,0x00,0x00]
3072 s_atomic_add s5, s[2:3], s0 glc
3073 // CHECK: [0x41,0x01,0x09,0xc2,0x00,0x00,0x00,0x00]
3075 s_atomic_sub s5, s[2:3], s0
3076 // CHECK: [0x41,0x01,0x0c,0xc2,0x00,0x00,0x00,0x00]
3078 s_atomic_sub s101, s[2:3], s0
3079 // CHECK: [0x41,0x19,0x0c,0xc2,0x00,0x00,0x00,0x00]
3081 s_atomic_sub flat_scratch_lo, s[2:3], s0
3082 // CHECK: [0x81,0x19,0x0c,0xc2,0x00,0x00,0x00,0x00]
3084 s_atomic_sub flat_scratch_hi, s[2:3], s0
3085 // CHECK: [0xc1,0x19,0x0c,0xc2,0x00,0x00,0x00,0x00]
3087 s_atomic_sub vcc_lo, s[2:3], s0
3088 // CHECK: [0x81,0x1a,0x0c,0xc2,0x00,0x00,0x00,0x00]
3090 s_atomic_sub vcc_hi, s[2:3], s0
3091 // CHECK: [0xc1,0x1a,0x0c,0xc2,0x00,0x00,0x00,0x00]
3093 s_atomic_sub ttmp15, s[2:3], s0
3094 // CHECK: [0xc1,0x1e,0x0c,0xc2,0x00,0x00,0x00,0x00]
3096 s_atomic_sub s5, s[4:5], s0
3097 // CHECK: [0x42,0x01,0x0c,0xc2,0x00,0x00,0x00,0x00]
3099 s_atomic_sub s5, s[100:101], s0
3100 // CHECK: [0x72,0x01,0x0c,0xc2,0x00,0x00,0x00,0x00]
3102 s_atomic_sub s5, flat_scratch, s0
3103 // CHECK: [0x73,0x01,0x0c,0xc2,0x00,0x00,0x00,0x00]
3105 s_atomic_sub s5, vcc, s0
3106 // CHECK: [0x75,0x01,0x0c,0xc2,0x00,0x00,0x00,0x00]
3108 s_atomic_sub s5, ttmp[14:15], s0
3109 // CHECK: [0x7d,0x01,0x0c,0xc2,0x00,0x00,0x00,0x00]
3111 s_atomic_sub s5, s[2:3], s101
3112 // CHECK: [0x41,0x01,0x0c,0xc2,0x65,0x00,0x00,0x00]
3114 s_atomic_sub s5, s[2:3], flat_scratch_lo
3115 // CHECK: [0x41,0x01,0x0c,0xc2,0x66,0x00,0x00,0x00]
3117 s_atomic_sub s5, s[2:3], flat_scratch_hi
3118 // CHECK: [0x41,0x01,0x0c,0xc2,0x67,0x00,0x00,0x00]
3120 s_atomic_sub s5, s[2:3], vcc_lo
3121 // CHECK: [0x41,0x01,0x0c,0xc2,0x6a,0x00,0x00,0x00]
3123 s_atomic_sub s5, s[2:3], vcc_hi
3124 // CHECK: [0x41,0x01,0x0c,0xc2,0x6b,0x00,0x00,0x00]
3126 s_atomic_sub s5, s[2:3], ttmp15
3127 // CHECK: [0x41,0x01,0x0c,0xc2,0x7b,0x00,0x00,0x00]
3129 s_atomic_sub s5, s[2:3], m0
3130 // CHECK: [0x41,0x01,0x0c,0xc2,0x7c,0x00,0x00,0x00]
3132 s_atomic_sub s5, s[2:3], 0x0
3133 // CHECK: [0x41,0x01,0x0e,0xc2,0x00,0x00,0x00,0x00]
3135 s_atomic_sub s5, s[2:3], s0 glc
3136 // CHECK: [0x41,0x01,0x0d,0xc2,0x00,0x00,0x00,0x00]
3138 s_atomic_smin s5, s[2:3], s0
3139 // CHECK: [0x41,0x01,0x10,0xc2,0x00,0x00,0x00,0x00]
3141 s_atomic_smin s101, s[2:3], s0
3142 // CHECK: [0x41,0x19,0x10,0xc2,0x00,0x00,0x00,0x00]
3144 s_atomic_smin flat_scratch_lo, s[2:3], s0
3145 // CHECK: [0x81,0x19,0x10,0xc2,0x00,0x00,0x00,0x00]
3147 s_atomic_smin flat_scratch_hi, s[2:3], s0
3148 // CHECK: [0xc1,0x19,0x10,0xc2,0x00,0x00,0x00,0x00]
3150 s_atomic_smin vcc_lo, s[2:3], s0
3151 // CHECK: [0x81,0x1a,0x10,0xc2,0x00,0x00,0x00,0x00]
3153 s_atomic_smin vcc_hi, s[2:3], s0
3154 // CHECK: [0xc1,0x1a,0x10,0xc2,0x00,0x00,0x00,0x00]
3156 s_atomic_smin ttmp15, s[2:3], s0
3157 // CHECK: [0xc1,0x1e,0x10,0xc2,0x00,0x00,0x00,0x00]
3159 s_atomic_smin s5, s[4:5], s0
3160 // CHECK: [0x42,0x01,0x10,0xc2,0x00,0x00,0x00,0x00]
3162 s_atomic_smin s5, s[100:101], s0
3163 // CHECK: [0x72,0x01,0x10,0xc2,0x00,0x00,0x00,0x00]
3165 s_atomic_smin s5, flat_scratch, s0
3166 // CHECK: [0x73,0x01,0x10,0xc2,0x00,0x00,0x00,0x00]
3168 s_atomic_smin s5, vcc, s0
3169 // CHECK: [0x75,0x01,0x10,0xc2,0x00,0x00,0x00,0x00]
3171 s_atomic_smin s5, ttmp[14:15], s0
3172 // CHECK: [0x7d,0x01,0x10,0xc2,0x00,0x00,0x00,0x00]
3174 s_atomic_smin s5, s[2:3], s101
3175 // CHECK: [0x41,0x01,0x10,0xc2,0x65,0x00,0x00,0x00]
3177 s_atomic_smin s5, s[2:3], flat_scratch_lo
3178 // CHECK: [0x41,0x01,0x10,0xc2,0x66,0x00,0x00,0x00]
3180 s_atomic_smin s5, s[2:3], flat_scratch_hi
3181 // CHECK: [0x41,0x01,0x10,0xc2,0x67,0x00,0x00,0x00]
3183 s_atomic_smin s5, s[2:3], vcc_lo
3184 // CHECK: [0x41,0x01,0x10,0xc2,0x6a,0x00,0x00,0x00]
3186 s_atomic_smin s5, s[2:3], vcc_hi
3187 // CHECK: [0x41,0x01,0x10,0xc2,0x6b,0x00,0x00,0x00]
3189 s_atomic_smin s5, s[2:3], ttmp15
3190 // CHECK: [0x41,0x01,0x10,0xc2,0x7b,0x00,0x00,0x00]
3192 s_atomic_smin s5, s[2:3], m0
3193 // CHECK: [0x41,0x01,0x10,0xc2,0x7c,0x00,0x00,0x00]
3195 s_atomic_smin s5, s[2:3], 0x0
3196 // CHECK: [0x41,0x01,0x12,0xc2,0x00,0x00,0x00,0x00]
3198 s_atomic_smin s5, s[2:3], s0 glc
3199 // CHECK: [0x41,0x01,0x11,0xc2,0x00,0x00,0x00,0x00]
3201 s_atomic_umin s5, s[2:3], s0
3202 // CHECK: [0x41,0x01,0x14,0xc2,0x00,0x00,0x00,0x00]
3204 s_atomic_umin s101, s[2:3], s0
3205 // CHECK: [0x41,0x19,0x14,0xc2,0x00,0x00,0x00,0x00]
3207 s_atomic_umin flat_scratch_lo, s[2:3], s0
3208 // CHECK: [0x81,0x19,0x14,0xc2,0x00,0x00,0x00,0x00]
3210 s_atomic_umin flat_scratch_hi, s[2:3], s0
3211 // CHECK: [0xc1,0x19,0x14,0xc2,0x00,0x00,0x00,0x00]
3213 s_atomic_umin vcc_lo, s[2:3], s0
3214 // CHECK: [0x81,0x1a,0x14,0xc2,0x00,0x00,0x00,0x00]
3216 s_atomic_umin vcc_hi, s[2:3], s0
3217 // CHECK: [0xc1,0x1a,0x14,0xc2,0x00,0x00,0x00,0x00]
3219 s_atomic_umin ttmp15, s[2:3], s0
3220 // CHECK: [0xc1,0x1e,0x14,0xc2,0x00,0x00,0x00,0x00]
3222 s_atomic_umin s5, s[4:5], s0
3223 // CHECK: [0x42,0x01,0x14,0xc2,0x00,0x00,0x00,0x00]
3225 s_atomic_umin s5, s[100:101], s0
3226 // CHECK: [0x72,0x01,0x14,0xc2,0x00,0x00,0x00,0x00]
3228 s_atomic_umin s5, flat_scratch, s0
3229 // CHECK: [0x73,0x01,0x14,0xc2,0x00,0x00,0x00,0x00]
3231 s_atomic_umin s5, vcc, s0
3232 // CHECK: [0x75,0x01,0x14,0xc2,0x00,0x00,0x00,0x00]
3234 s_atomic_umin s5, ttmp[14:15], s0
3235 // CHECK: [0x7d,0x01,0x14,0xc2,0x00,0x00,0x00,0x00]
3237 s_atomic_umin s5, s[2:3], s101
3238 // CHECK: [0x41,0x01,0x14,0xc2,0x65,0x00,0x00,0x00]
3240 s_atomic_umin s5, s[2:3], flat_scratch_lo
3241 // CHECK: [0x41,0x01,0x14,0xc2,0x66,0x00,0x00,0x00]
3243 s_atomic_umin s5, s[2:3], flat_scratch_hi
3244 // CHECK: [0x41,0x01,0x14,0xc2,0x67,0x00,0x00,0x00]
3246 s_atomic_umin s5, s[2:3], vcc_lo
3247 // CHECK: [0x41,0x01,0x14,0xc2,0x6a,0x00,0x00,0x00]
3249 s_atomic_umin s5, s[2:3], vcc_hi
3250 // CHECK: [0x41,0x01,0x14,0xc2,0x6b,0x00,0x00,0x00]
3252 s_atomic_umin s5, s[2:3], ttmp15
3253 // CHECK: [0x41,0x01,0x14,0xc2,0x7b,0x00,0x00,0x00]
3255 s_atomic_umin s5, s[2:3], m0
3256 // CHECK: [0x41,0x01,0x14,0xc2,0x7c,0x00,0x00,0x00]
3258 s_atomic_umin s5, s[2:3], 0x0
3259 // CHECK: [0x41,0x01,0x16,0xc2,0x00,0x00,0x00,0x00]
3261 s_atomic_umin s5, s[2:3], s0 glc
3262 // CHECK: [0x41,0x01,0x15,0xc2,0x00,0x00,0x00,0x00]
3264 s_atomic_smax s5, s[2:3], s0
3265 // CHECK: [0x41,0x01,0x18,0xc2,0x00,0x00,0x00,0x00]
3267 s_atomic_smax s101, s[2:3], s0
3268 // CHECK: [0x41,0x19,0x18,0xc2,0x00,0x00,0x00,0x00]
3270 s_atomic_smax flat_scratch_lo, s[2:3], s0
3271 // CHECK: [0x81,0x19,0x18,0xc2,0x00,0x00,0x00,0x00]
3273 s_atomic_smax flat_scratch_hi, s[2:3], s0
3274 // CHECK: [0xc1,0x19,0x18,0xc2,0x00,0x00,0x00,0x00]
3276 s_atomic_smax vcc_lo, s[2:3], s0
3277 // CHECK: [0x81,0x1a,0x18,0xc2,0x00,0x00,0x00,0x00]
3279 s_atomic_smax vcc_hi, s[2:3], s0
3280 // CHECK: [0xc1,0x1a,0x18,0xc2,0x00,0x00,0x00,0x00]
3282 s_atomic_smax ttmp15, s[2:3], s0
3283 // CHECK: [0xc1,0x1e,0x18,0xc2,0x00,0x00,0x00,0x00]
3285 s_atomic_smax s5, s[4:5], s0
3286 // CHECK: [0x42,0x01,0x18,0xc2,0x00,0x00,0x00,0x00]
3288 s_atomic_smax s5, s[100:101], s0
3289 // CHECK: [0x72,0x01,0x18,0xc2,0x00,0x00,0x00,0x00]
3291 s_atomic_smax s5, flat_scratch, s0
3292 // CHECK: [0x73,0x01,0x18,0xc2,0x00,0x00,0x00,0x00]
3294 s_atomic_smax s5, vcc, s0
3295 // CHECK: [0x75,0x01,0x18,0xc2,0x00,0x00,0x00,0x00]
3297 s_atomic_smax s5, ttmp[14:15], s0
3298 // CHECK: [0x7d,0x01,0x18,0xc2,0x00,0x00,0x00,0x00]
3300 s_atomic_smax s5, s[2:3], s101
3301 // CHECK: [0x41,0x01,0x18,0xc2,0x65,0x00,0x00,0x00]
3303 s_atomic_smax s5, s[2:3], flat_scratch_lo
3304 // CHECK: [0x41,0x01,0x18,0xc2,0x66,0x00,0x00,0x00]
3306 s_atomic_smax s5, s[2:3], flat_scratch_hi
3307 // CHECK: [0x41,0x01,0x18,0xc2,0x67,0x00,0x00,0x00]
3309 s_atomic_smax s5, s[2:3], vcc_lo
3310 // CHECK: [0x41,0x01,0x18,0xc2,0x6a,0x00,0x00,0x00]
3312 s_atomic_smax s5, s[2:3], vcc_hi
3313 // CHECK: [0x41,0x01,0x18,0xc2,0x6b,0x00,0x00,0x00]
3315 s_atomic_smax s5, s[2:3], ttmp15
3316 // CHECK: [0x41,0x01,0x18,0xc2,0x7b,0x00,0x00,0x00]
3318 s_atomic_smax s5, s[2:3], m0
3319 // CHECK: [0x41,0x01,0x18,0xc2,0x7c,0x00,0x00,0x00]
3321 s_atomic_smax s5, s[2:3], 0x0
3322 // CHECK: [0x41,0x01,0x1a,0xc2,0x00,0x00,0x00,0x00]
3324 s_atomic_smax s5, s[2:3], s0 glc
3325 // CHECK: [0x41,0x01,0x19,0xc2,0x00,0x00,0x00,0x00]
3327 s_atomic_umax s5, s[2:3], s0
3328 // CHECK: [0x41,0x01,0x1c,0xc2,0x00,0x00,0x00,0x00]
3330 s_atomic_umax s101, s[2:3], s0
3331 // CHECK: [0x41,0x19,0x1c,0xc2,0x00,0x00,0x00,0x00]
3333 s_atomic_umax flat_scratch_lo, s[2:3], s0
3334 // CHECK: [0x81,0x19,0x1c,0xc2,0x00,0x00,0x00,0x00]
3336 s_atomic_umax flat_scratch_hi, s[2:3], s0
3337 // CHECK: [0xc1,0x19,0x1c,0xc2,0x00,0x00,0x00,0x00]
3339 s_atomic_umax vcc_lo, s[2:3], s0
3340 // CHECK: [0x81,0x1a,0x1c,0xc2,0x00,0x00,0x00,0x00]
3342 s_atomic_umax vcc_hi, s[2:3], s0
3343 // CHECK: [0xc1,0x1a,0x1c,0xc2,0x00,0x00,0x00,0x00]
3345 s_atomic_umax ttmp15, s[2:3], s0
3346 // CHECK: [0xc1,0x1e,0x1c,0xc2,0x00,0x00,0x00,0x00]
3348 s_atomic_umax s5, s[4:5], s0
3349 // CHECK: [0x42,0x01,0x1c,0xc2,0x00,0x00,0x00,0x00]
3351 s_atomic_umax s5, s[100:101], s0
3352 // CHECK: [0x72,0x01,0x1c,0xc2,0x00,0x00,0x00,0x00]
3354 s_atomic_umax s5, flat_scratch, s0
3355 // CHECK: [0x73,0x01,0x1c,0xc2,0x00,0x00,0x00,0x00]
3357 s_atomic_umax s5, vcc, s0
3358 // CHECK: [0x75,0x01,0x1c,0xc2,0x00,0x00,0x00,0x00]
3360 s_atomic_umax s5, ttmp[14:15], s0
3361 // CHECK: [0x7d,0x01,0x1c,0xc2,0x00,0x00,0x00,0x00]
3363 s_atomic_umax s5, s[2:3], s101
3364 // CHECK: [0x41,0x01,0x1c,0xc2,0x65,0x00,0x00,0x00]
3366 s_atomic_umax s5, s[2:3], flat_scratch_lo
3367 // CHECK: [0x41,0x01,0x1c,0xc2,0x66,0x00,0x00,0x00]
3369 s_atomic_umax s5, s[2:3], flat_scratch_hi
3370 // CHECK: [0x41,0x01,0x1c,0xc2,0x67,0x00,0x00,0x00]
3372 s_atomic_umax s5, s[2:3], vcc_lo
3373 // CHECK: [0x41,0x01,0x1c,0xc2,0x6a,0x00,0x00,0x00]
3375 s_atomic_umax s5, s[2:3], vcc_hi
3376 // CHECK: [0x41,0x01,0x1c,0xc2,0x6b,0x00,0x00,0x00]
3378 s_atomic_umax s5, s[2:3], ttmp15
3379 // CHECK: [0x41,0x01,0x1c,0xc2,0x7b,0x00,0x00,0x00]
3381 s_atomic_umax s5, s[2:3], m0
3382 // CHECK: [0x41,0x01,0x1c,0xc2,0x7c,0x00,0x00,0x00]
3384 s_atomic_umax s5, s[2:3], 0x0
3385 // CHECK: [0x41,0x01,0x1e,0xc2,0x00,0x00,0x00,0x00]
3387 s_atomic_umax s5, s[2:3], s0 glc
3388 // CHECK: [0x41,0x01,0x1d,0xc2,0x00,0x00,0x00,0x00]
3390 s_atomic_and s5, s[2:3], s0
3391 // CHECK: [0x41,0x01,0x20,0xc2,0x00,0x00,0x00,0x00]
3393 s_atomic_and s101, s[2:3], s0
3394 // CHECK: [0x41,0x19,0x20,0xc2,0x00,0x00,0x00,0x00]
3396 s_atomic_and flat_scratch_lo, s[2:3], s0
3397 // CHECK: [0x81,0x19,0x20,0xc2,0x00,0x00,0x00,0x00]
3399 s_atomic_and flat_scratch_hi, s[2:3], s0
3400 // CHECK: [0xc1,0x19,0x20,0xc2,0x00,0x00,0x00,0x00]
3402 s_atomic_and vcc_lo, s[2:3], s0
3403 // CHECK: [0x81,0x1a,0x20,0xc2,0x00,0x00,0x00,0x00]
3405 s_atomic_and vcc_hi, s[2:3], s0
3406 // CHECK: [0xc1,0x1a,0x20,0xc2,0x00,0x00,0x00,0x00]
3408 s_atomic_and ttmp15, s[2:3], s0
3409 // CHECK: [0xc1,0x1e,0x20,0xc2,0x00,0x00,0x00,0x00]
3411 s_atomic_and s5, s[4:5], s0
3412 // CHECK: [0x42,0x01,0x20,0xc2,0x00,0x00,0x00,0x00]
3414 s_atomic_and s5, s[100:101], s0
3415 // CHECK: [0x72,0x01,0x20,0xc2,0x00,0x00,0x00,0x00]
3417 s_atomic_and s5, flat_scratch, s0
3418 // CHECK: [0x73,0x01,0x20,0xc2,0x00,0x00,0x00,0x00]
3420 s_atomic_and s5, vcc, s0
3421 // CHECK: [0x75,0x01,0x20,0xc2,0x00,0x00,0x00,0x00]
3423 s_atomic_and s5, ttmp[14:15], s0
3424 // CHECK: [0x7d,0x01,0x20,0xc2,0x00,0x00,0x00,0x00]
3426 s_atomic_and s5, s[2:3], s101
3427 // CHECK: [0x41,0x01,0x20,0xc2,0x65,0x00,0x00,0x00]
3429 s_atomic_and s5, s[2:3], flat_scratch_lo
3430 // CHECK: [0x41,0x01,0x20,0xc2,0x66,0x00,0x00,0x00]
3432 s_atomic_and s5, s[2:3], flat_scratch_hi
3433 // CHECK: [0x41,0x01,0x20,0xc2,0x67,0x00,0x00,0x00]
3435 s_atomic_and s5, s[2:3], vcc_lo
3436 // CHECK: [0x41,0x01,0x20,0xc2,0x6a,0x00,0x00,0x00]
3438 s_atomic_and s5, s[2:3], vcc_hi
3439 // CHECK: [0x41,0x01,0x20,0xc2,0x6b,0x00,0x00,0x00]
3441 s_atomic_and s5, s[2:3], ttmp15
3442 // CHECK: [0x41,0x01,0x20,0xc2,0x7b,0x00,0x00,0x00]
3444 s_atomic_and s5, s[2:3], m0
3445 // CHECK: [0x41,0x01,0x20,0xc2,0x7c,0x00,0x00,0x00]
3447 s_atomic_and s5, s[2:3], 0x0
3448 // CHECK: [0x41,0x01,0x22,0xc2,0x00,0x00,0x00,0x00]
3450 s_atomic_and s5, s[2:3], s0 glc
3451 // CHECK: [0x41,0x01,0x21,0xc2,0x00,0x00,0x00,0x00]
3453 s_atomic_or s5, s[2:3], s0
3454 // CHECK: [0x41,0x01,0x24,0xc2,0x00,0x00,0x00,0x00]
3456 s_atomic_or s101, s[2:3], s0
3457 // CHECK: [0x41,0x19,0x24,0xc2,0x00,0x00,0x00,0x00]
3459 s_atomic_or flat_scratch_lo, s[2:3], s0
3460 // CHECK: [0x81,0x19,0x24,0xc2,0x00,0x00,0x00,0x00]
3462 s_atomic_or flat_scratch_hi, s[2:3], s0
3463 // CHECK: [0xc1,0x19,0x24,0xc2,0x00,0x00,0x00,0x00]
3465 s_atomic_or vcc_lo, s[2:3], s0
3466 // CHECK: [0x81,0x1a,0x24,0xc2,0x00,0x00,0x00,0x00]
3468 s_atomic_or vcc_hi, s[2:3], s0
3469 // CHECK: [0xc1,0x1a,0x24,0xc2,0x00,0x00,0x00,0x00]
3471 s_atomic_or ttmp15, s[2:3], s0
3472 // CHECK: [0xc1,0x1e,0x24,0xc2,0x00,0x00,0x00,0x00]
3474 s_atomic_or s5, s[4:5], s0
3475 // CHECK: [0x42,0x01,0x24,0xc2,0x00,0x00,0x00,0x00]
3477 s_atomic_or s5, s[100:101], s0
3478 // CHECK: [0x72,0x01,0x24,0xc2,0x00,0x00,0x00,0x00]
3480 s_atomic_or s5, flat_scratch, s0
3481 // CHECK: [0x73,0x01,0x24,0xc2,0x00,0x00,0x00,0x00]
3483 s_atomic_or s5, vcc, s0
3484 // CHECK: [0x75,0x01,0x24,0xc2,0x00,0x00,0x00,0x00]
3486 s_atomic_or s5, ttmp[14:15], s0
3487 // CHECK: [0x7d,0x01,0x24,0xc2,0x00,0x00,0x00,0x00]
3489 s_atomic_or s5, s[2:3], s101
3490 // CHECK: [0x41,0x01,0x24,0xc2,0x65,0x00,0x00,0x00]
3492 s_atomic_or s5, s[2:3], flat_scratch_lo
3493 // CHECK: [0x41,0x01,0x24,0xc2,0x66,0x00,0x00,0x00]
3495 s_atomic_or s5, s[2:3], flat_scratch_hi
3496 // CHECK: [0x41,0x01,0x24,0xc2,0x67,0x00,0x00,0x00]
3498 s_atomic_or s5, s[2:3], vcc_lo
3499 // CHECK: [0x41,0x01,0x24,0xc2,0x6a,0x00,0x00,0x00]
3501 s_atomic_or s5, s[2:3], vcc_hi
3502 // CHECK: [0x41,0x01,0x24,0xc2,0x6b,0x00,0x00,0x00]
3504 s_atomic_or s5, s[2:3], ttmp15
3505 // CHECK: [0x41,0x01,0x24,0xc2,0x7b,0x00,0x00,0x00]
3507 s_atomic_or s5, s[2:3], m0
3508 // CHECK: [0x41,0x01,0x24,0xc2,0x7c,0x00,0x00,0x00]
3510 s_atomic_or s5, s[2:3], 0x0
3511 // CHECK: [0x41,0x01,0x26,0xc2,0x00,0x00,0x00,0x00]
3513 s_atomic_or s5, s[2:3], s0 glc
3514 // CHECK: [0x41,0x01,0x25,0xc2,0x00,0x00,0x00,0x00]
3516 s_atomic_xor s5, s[2:3], s0
3517 // CHECK: [0x41,0x01,0x28,0xc2,0x00,0x00,0x00,0x00]
3519 s_atomic_xor s101, s[2:3], s0
3520 // CHECK: [0x41,0x19,0x28,0xc2,0x00,0x00,0x00,0x00]
3522 s_atomic_xor flat_scratch_lo, s[2:3], s0
3523 // CHECK: [0x81,0x19,0x28,0xc2,0x00,0x00,0x00,0x00]
3525 s_atomic_xor flat_scratch_hi, s[2:3], s0
3526 // CHECK: [0xc1,0x19,0x28,0xc2,0x00,0x00,0x00,0x00]
3528 s_atomic_xor vcc_lo, s[2:3], s0
3529 // CHECK: [0x81,0x1a,0x28,0xc2,0x00,0x00,0x00,0x00]
3531 s_atomic_xor vcc_hi, s[2:3], s0
3532 // CHECK: [0xc1,0x1a,0x28,0xc2,0x00,0x00,0x00,0x00]
3534 s_atomic_xor ttmp15, s[2:3], s0
3535 // CHECK: [0xc1,0x1e,0x28,0xc2,0x00,0x00,0x00,0x00]
3537 s_atomic_xor s5, s[4:5], s0
3538 // CHECK: [0x42,0x01,0x28,0xc2,0x00,0x00,0x00,0x00]
3540 s_atomic_xor s5, s[100:101], s0
3541 // CHECK: [0x72,0x01,0x28,0xc2,0x00,0x00,0x00,0x00]
3543 s_atomic_xor s5, flat_scratch, s0
3544 // CHECK: [0x73,0x01,0x28,0xc2,0x00,0x00,0x00,0x00]
3546 s_atomic_xor s5, vcc, s0
3547 // CHECK: [0x75,0x01,0x28,0xc2,0x00,0x00,0x00,0x00]
3549 s_atomic_xor s5, ttmp[14:15], s0
3550 // CHECK: [0x7d,0x01,0x28,0xc2,0x00,0x00,0x00,0x00]
3552 s_atomic_xor s5, s[2:3], s101
3553 // CHECK: [0x41,0x01,0x28,0xc2,0x65,0x00,0x00,0x00]
3555 s_atomic_xor s5, s[2:3], flat_scratch_lo
3556 // CHECK: [0x41,0x01,0x28,0xc2,0x66,0x00,0x00,0x00]
3558 s_atomic_xor s5, s[2:3], flat_scratch_hi
3559 // CHECK: [0x41,0x01,0x28,0xc2,0x67,0x00,0x00,0x00]
3561 s_atomic_xor s5, s[2:3], vcc_lo
3562 // CHECK: [0x41,0x01,0x28,0xc2,0x6a,0x00,0x00,0x00]
3564 s_atomic_xor s5, s[2:3], vcc_hi
3565 // CHECK: [0x41,0x01,0x28,0xc2,0x6b,0x00,0x00,0x00]
3567 s_atomic_xor s5, s[2:3], ttmp15
3568 // CHECK: [0x41,0x01,0x28,0xc2,0x7b,0x00,0x00,0x00]
3570 s_atomic_xor s5, s[2:3], m0
3571 // CHECK: [0x41,0x01,0x28,0xc2,0x7c,0x00,0x00,0x00]
3573 s_atomic_xor s5, s[2:3], 0x0
3574 // CHECK: [0x41,0x01,0x2a,0xc2,0x00,0x00,0x00,0x00]
3576 s_atomic_xor s5, s[2:3], s0 glc
3577 // CHECK: [0x41,0x01,0x29,0xc2,0x00,0x00,0x00,0x00]
3579 s_atomic_inc s5, s[2:3], s0
3580 // CHECK: [0x41,0x01,0x2c,0xc2,0x00,0x00,0x00,0x00]
3582 s_atomic_inc s101, s[2:3], s0
3583 // CHECK: [0x41,0x19,0x2c,0xc2,0x00,0x00,0x00,0x00]
3585 s_atomic_inc flat_scratch_lo, s[2:3], s0
3586 // CHECK: [0x81,0x19,0x2c,0xc2,0x00,0x00,0x00,0x00]
3588 s_atomic_inc flat_scratch_hi, s[2:3], s0
3589 // CHECK: [0xc1,0x19,0x2c,0xc2,0x00,0x00,0x00,0x00]
3591 s_atomic_inc vcc_lo, s[2:3], s0
3592 // CHECK: [0x81,0x1a,0x2c,0xc2,0x00,0x00,0x00,0x00]
3594 s_atomic_inc vcc_hi, s[2:3], s0
3595 // CHECK: [0xc1,0x1a,0x2c,0xc2,0x00,0x00,0x00,0x00]
3597 s_atomic_inc ttmp15, s[2:3], s0
3598 // CHECK: [0xc1,0x1e,0x2c,0xc2,0x00,0x00,0x00,0x00]
3600 s_atomic_inc s5, s[4:5], s0
3601 // CHECK: [0x42,0x01,0x2c,0xc2,0x00,0x00,0x00,0x00]
3603 s_atomic_inc s5, s[100:101], s0
3604 // CHECK: [0x72,0x01,0x2c,0xc2,0x00,0x00,0x00,0x00]
3606 s_atomic_inc s5, flat_scratch, s0
3607 // CHECK: [0x73,0x01,0x2c,0xc2,0x00,0x00,0x00,0x00]
3609 s_atomic_inc s5, vcc, s0
3610 // CHECK: [0x75,0x01,0x2c,0xc2,0x00,0x00,0x00,0x00]
3612 s_atomic_inc s5, ttmp[14:15], s0
3613 // CHECK: [0x7d,0x01,0x2c,0xc2,0x00,0x00,0x00,0x00]
3615 s_atomic_inc s5, s[2:3], s101
3616 // CHECK: [0x41,0x01,0x2c,0xc2,0x65,0x00,0x00,0x00]
3618 s_atomic_inc s5, s[2:3], flat_scratch_lo
3619 // CHECK: [0x41,0x01,0x2c,0xc2,0x66,0x00,0x00,0x00]
3621 s_atomic_inc s5, s[2:3], flat_scratch_hi
3622 // CHECK: [0x41,0x01,0x2c,0xc2,0x67,0x00,0x00,0x00]
3624 s_atomic_inc s5, s[2:3], vcc_lo
3625 // CHECK: [0x41,0x01,0x2c,0xc2,0x6a,0x00,0x00,0x00]
3627 s_atomic_inc s5, s[2:3], vcc_hi
3628 // CHECK: [0x41,0x01,0x2c,0xc2,0x6b,0x00,0x00,0x00]
3630 s_atomic_inc s5, s[2:3], ttmp15
3631 // CHECK: [0x41,0x01,0x2c,0xc2,0x7b,0x00,0x00,0x00]
3633 s_atomic_inc s5, s[2:3], m0
3634 // CHECK: [0x41,0x01,0x2c,0xc2,0x7c,0x00,0x00,0x00]
3636 s_atomic_inc s5, s[2:3], 0x0
3637 // CHECK: [0x41,0x01,0x2e,0xc2,0x00,0x00,0x00,0x00]
3639 s_atomic_inc s5, s[2:3], s0 glc
3640 // CHECK: [0x41,0x01,0x2d,0xc2,0x00,0x00,0x00,0x00]
3642 s_atomic_dec s5, s[2:3], s0
3643 // CHECK: [0x41,0x01,0x30,0xc2,0x00,0x00,0x00,0x00]
3645 s_atomic_dec s101, s[2:3], s0
3646 // CHECK: [0x41,0x19,0x30,0xc2,0x00,0x00,0x00,0x00]
3648 s_atomic_dec flat_scratch_lo, s[2:3], s0
3649 // CHECK: [0x81,0x19,0x30,0xc2,0x00,0x00,0x00,0x00]
3651 s_atomic_dec flat_scratch_hi, s[2:3], s0
3652 // CHECK: [0xc1,0x19,0x30,0xc2,0x00,0x00,0x00,0x00]
3654 s_atomic_dec vcc_lo, s[2:3], s0
3655 // CHECK: [0x81,0x1a,0x30,0xc2,0x00,0x00,0x00,0x00]
3657 s_atomic_dec vcc_hi, s[2:3], s0
3658 // CHECK: [0xc1,0x1a,0x30,0xc2,0x00,0x00,0x00,0x00]
3660 s_atomic_dec ttmp15, s[2:3], s0
3661 // CHECK: [0xc1,0x1e,0x30,0xc2,0x00,0x00,0x00,0x00]
3663 s_atomic_dec s5, s[4:5], s0
3664 // CHECK: [0x42,0x01,0x30,0xc2,0x00,0x00,0x00,0x00]
3666 s_atomic_dec s5, s[100:101], s0
3667 // CHECK: [0x72,0x01,0x30,0xc2,0x00,0x00,0x00,0x00]
3669 s_atomic_dec s5, flat_scratch, s0
3670 // CHECK: [0x73,0x01,0x30,0xc2,0x00,0x00,0x00,0x00]
3672 s_atomic_dec s5, vcc, s0
3673 // CHECK: [0x75,0x01,0x30,0xc2,0x00,0x00,0x00,0x00]
3675 s_atomic_dec s5, ttmp[14:15], s0
3676 // CHECK: [0x7d,0x01,0x30,0xc2,0x00,0x00,0x00,0x00]
3678 s_atomic_dec s5, s[2:3], s101
3679 // CHECK: [0x41,0x01,0x30,0xc2,0x65,0x00,0x00,0x00]
3681 s_atomic_dec s5, s[2:3], flat_scratch_lo
3682 // CHECK: [0x41,0x01,0x30,0xc2,0x66,0x00,0x00,0x00]
3684 s_atomic_dec s5, s[2:3], flat_scratch_hi
3685 // CHECK: [0x41,0x01,0x30,0xc2,0x67,0x00,0x00,0x00]
3687 s_atomic_dec s5, s[2:3], vcc_lo
3688 // CHECK: [0x41,0x01,0x30,0xc2,0x6a,0x00,0x00,0x00]
3690 s_atomic_dec s5, s[2:3], vcc_hi
3691 // CHECK: [0x41,0x01,0x30,0xc2,0x6b,0x00,0x00,0x00]
3693 s_atomic_dec s5, s[2:3], ttmp15
3694 // CHECK: [0x41,0x01,0x30,0xc2,0x7b,0x00,0x00,0x00]
3696 s_atomic_dec s5, s[2:3], m0
3697 // CHECK: [0x41,0x01,0x30,0xc2,0x7c,0x00,0x00,0x00]
3699 s_atomic_dec s5, s[2:3], 0x0
3700 // CHECK: [0x41,0x01,0x32,0xc2,0x00,0x00,0x00,0x00]
3702 s_atomic_dec s5, s[2:3], s0 glc
3703 // CHECK: [0x41,0x01,0x31,0xc2,0x00,0x00,0x00,0x00]
3705 s_atomic_swap_x2 s[10:11], s[2:3], s0
3706 // CHECK: [0x81,0x02,0x80,0xc2,0x00,0x00,0x00,0x00]
3708 s_atomic_swap_x2 s[12:13], s[2:3], s0
3709 // CHECK: [0x01,0x03,0x80,0xc2,0x00,0x00,0x00,0x00]
3711 s_atomic_swap_x2 s[100:101], s[2:3], s0
3712 // CHECK: [0x01,0x19,0x80,0xc2,0x00,0x00,0x00,0x00]
3714 s_atomic_swap_x2 flat_scratch, s[2:3], s0
3715 // CHECK: [0x81,0x19,0x80,0xc2,0x00,0x00,0x00,0x00]
3717 s_atomic_swap_x2 vcc, s[2:3], s0
3718 // CHECK: [0x81,0x1a,0x80,0xc2,0x00,0x00,0x00,0x00]
3720 s_atomic_swap_x2 ttmp[14:15], s[2:3], s0
3721 // CHECK: [0x81,0x1e,0x80,0xc2,0x00,0x00,0x00,0x00]
3723 s_atomic_swap_x2 s[10:11], s[4:5], s0
3724 // CHECK: [0x82,0x02,0x80,0xc2,0x00,0x00,0x00,0x00]
3726 s_atomic_swap_x2 s[10:11], s[100:101], s0
3727 // CHECK: [0xb2,0x02,0x80,0xc2,0x00,0x00,0x00,0x00]
3729 s_atomic_swap_x2 s[10:11], flat_scratch, s0
3730 // CHECK: [0xb3,0x02,0x80,0xc2,0x00,0x00,0x00,0x00]
3732 s_atomic_swap_x2 s[10:11], vcc, s0
3733 // CHECK: [0xb5,0x02,0x80,0xc2,0x00,0x00,0x00,0x00]
3735 s_atomic_swap_x2 s[10:11], ttmp[14:15], s0
3736 // CHECK: [0xbd,0x02,0x80,0xc2,0x00,0x00,0x00,0x00]
3738 s_atomic_swap_x2 s[10:11], s[2:3], s101
3739 // CHECK: [0x81,0x02,0x80,0xc2,0x65,0x00,0x00,0x00]
3741 s_atomic_swap_x2 s[10:11], s[2:3], flat_scratch_lo
3742 // CHECK: [0x81,0x02,0x80,0xc2,0x66,0x00,0x00,0x00]
3744 s_atomic_swap_x2 s[10:11], s[2:3], flat_scratch_hi
3745 // CHECK: [0x81,0x02,0x80,0xc2,0x67,0x00,0x00,0x00]
3747 s_atomic_swap_x2 s[10:11], s[2:3], vcc_lo
3748 // CHECK: [0x81,0x02,0x80,0xc2,0x6a,0x00,0x00,0x00]
3750 s_atomic_swap_x2 s[10:11], s[2:3], vcc_hi
3751 // CHECK: [0x81,0x02,0x80,0xc2,0x6b,0x00,0x00,0x00]
3753 s_atomic_swap_x2 s[10:11], s[2:3], ttmp15
3754 // CHECK: [0x81,0x02,0x80,0xc2,0x7b,0x00,0x00,0x00]
3756 s_atomic_swap_x2 s[10:11], s[2:3], m0
3757 // CHECK: [0x81,0x02,0x80,0xc2,0x7c,0x00,0x00,0x00]
3759 s_atomic_swap_x2 s[10:11], s[2:3], 0x0
3760 // CHECK: [0x81,0x02,0x82,0xc2,0x00,0x00,0x00,0x00]
3762 s_atomic_swap_x2 s[10:11], s[2:3], s0 glc
3763 // CHECK: [0x81,0x02,0x81,0xc2,0x00,0x00,0x00,0x00]
3765 s_atomic_cmpswap_x2 s[20:23], s[2:3], s0
3766 // CHECK: [0x01,0x05,0x84,0xc2,0x00,0x00,0x00,0x00]
3768 s_atomic_cmpswap_x2 s[24:27], s[2:3], s0
3769 // CHECK: [0x01,0x06,0x84,0xc2,0x00,0x00,0x00,0x00]
3771 s_atomic_cmpswap_x2 s[96:99], s[2:3], s0
3772 // CHECK: [0x01,0x18,0x84,0xc2,0x00,0x00,0x00,0x00]
3774 s_atomic_cmpswap_x2 ttmp[12:15], s[2:3], s0
3775 // CHECK: [0x01,0x1e,0x84,0xc2,0x00,0x00,0x00,0x00]
3777 s_atomic_cmpswap_x2 s[20:23], s[4:5], s0
3778 // CHECK: [0x02,0x05,0x84,0xc2,0x00,0x00,0x00,0x00]
3780 s_atomic_cmpswap_x2 s[20:23], s[100:101], s0
3781 // CHECK: [0x32,0x05,0x84,0xc2,0x00,0x00,0x00,0x00]
3783 s_atomic_cmpswap_x2 s[20:23], flat_scratch, s0
3784 // CHECK: [0x33,0x05,0x84,0xc2,0x00,0x00,0x00,0x00]
3786 s_atomic_cmpswap_x2 s[20:23], vcc, s0
3787 // CHECK: [0x35,0x05,0x84,0xc2,0x00,0x00,0x00,0x00]
3789 s_atomic_cmpswap_x2 s[20:23], ttmp[14:15], s0
3790 // CHECK: [0x3d,0x05,0x84,0xc2,0x00,0x00,0x00,0x00]
3792 s_atomic_cmpswap_x2 s[20:23], s[2:3], s101
3793 // CHECK: [0x01,0x05,0x84,0xc2,0x65,0x00,0x00,0x00]
3795 s_atomic_cmpswap_x2 s[20:23], s[2:3], flat_scratch_lo
3796 // CHECK: [0x01,0x05,0x84,0xc2,0x66,0x00,0x00,0x00]
3798 s_atomic_cmpswap_x2 s[20:23], s[2:3], flat_scratch_hi
3799 // CHECK: [0x01,0x05,0x84,0xc2,0x67,0x00,0x00,0x00]
3801 s_atomic_cmpswap_x2 s[20:23], s[2:3], vcc_lo
3802 // CHECK: [0x01,0x05,0x84,0xc2,0x6a,0x00,0x00,0x00]
3804 s_atomic_cmpswap_x2 s[20:23], s[2:3], vcc_hi
3805 // CHECK: [0x01,0x05,0x84,0xc2,0x6b,0x00,0x00,0x00]
3807 s_atomic_cmpswap_x2 s[20:23], s[2:3], ttmp15
3808 // CHECK: [0x01,0x05,0x84,0xc2,0x7b,0x00,0x00,0x00]
3810 s_atomic_cmpswap_x2 s[20:23], s[2:3], m0
3811 // CHECK: [0x01,0x05,0x84,0xc2,0x7c,0x00,0x00,0x00]
3813 s_atomic_cmpswap_x2 s[20:23], s[2:3], 0x0
3814 // CHECK: [0x01,0x05,0x86,0xc2,0x00,0x00,0x00,0x00]
3816 s_atomic_cmpswap_x2 s[20:23], s[2:3], s0 glc
3817 // CHECK: [0x01,0x05,0x85,0xc2,0x00,0x00,0x00,0x00]
3819 s_atomic_add_x2 s[10:11], s[2:3], s0
3820 // CHECK: [0x81,0x02,0x88,0xc2,0x00,0x00,0x00,0x00]
3822 s_atomic_add_x2 s[12:13], s[2:3], s0
3823 // CHECK: [0x01,0x03,0x88,0xc2,0x00,0x00,0x00,0x00]
3825 s_atomic_add_x2 s[100:101], s[2:3], s0
3826 // CHECK: [0x01,0x19,0x88,0xc2,0x00,0x00,0x00,0x00]
3828 s_atomic_add_x2 flat_scratch, s[2:3], s0
3829 // CHECK: [0x81,0x19,0x88,0xc2,0x00,0x00,0x00,0x00]
3831 s_atomic_add_x2 vcc, s[2:3], s0
3832 // CHECK: [0x81,0x1a,0x88,0xc2,0x00,0x00,0x00,0x00]
3834 s_atomic_add_x2 ttmp[14:15], s[2:3], s0
3835 // CHECK: [0x81,0x1e,0x88,0xc2,0x00,0x00,0x00,0x00]
3837 s_atomic_add_x2 s[10:11], s[4:5], s0
3838 // CHECK: [0x82,0x02,0x88,0xc2,0x00,0x00,0x00,0x00]
3840 s_atomic_add_x2 s[10:11], s[100:101], s0
3841 // CHECK: [0xb2,0x02,0x88,0xc2,0x00,0x00,0x00,0x00]
3843 s_atomic_add_x2 s[10:11], flat_scratch, s0
3844 // CHECK: [0xb3,0x02,0x88,0xc2,0x00,0x00,0x00,0x00]
3846 s_atomic_add_x2 s[10:11], vcc, s0
3847 // CHECK: [0xb5,0x02,0x88,0xc2,0x00,0x00,0x00,0x00]
3849 s_atomic_add_x2 s[10:11], ttmp[14:15], s0
3850 // CHECK: [0xbd,0x02,0x88,0xc2,0x00,0x00,0x00,0x00]
3852 s_atomic_add_x2 s[10:11], s[2:3], s101
3853 // CHECK: [0x81,0x02,0x88,0xc2,0x65,0x00,0x00,0x00]
3855 s_atomic_add_x2 s[10:11], s[2:3], flat_scratch_lo
3856 // CHECK: [0x81,0x02,0x88,0xc2,0x66,0x00,0x00,0x00]
3858 s_atomic_add_x2 s[10:11], s[2:3], flat_scratch_hi
3859 // CHECK: [0x81,0x02,0x88,0xc2,0x67,0x00,0x00,0x00]
3861 s_atomic_add_x2 s[10:11], s[2:3], vcc_lo
3862 // CHECK: [0x81,0x02,0x88,0xc2,0x6a,0x00,0x00,0x00]
3864 s_atomic_add_x2 s[10:11], s[2:3], vcc_hi
3865 // CHECK: [0x81,0x02,0x88,0xc2,0x6b,0x00,0x00,0x00]
3867 s_atomic_add_x2 s[10:11], s[2:3], ttmp15
3868 // CHECK: [0x81,0x02,0x88,0xc2,0x7b,0x00,0x00,0x00]
3870 s_atomic_add_x2 s[10:11], s[2:3], m0
3871 // CHECK: [0x81,0x02,0x88,0xc2,0x7c,0x00,0x00,0x00]
3873 s_atomic_add_x2 s[10:11], s[2:3], 0x0
3874 // CHECK: [0x81,0x02,0x8a,0xc2,0x00,0x00,0x00,0x00]
3876 s_atomic_add_x2 s[10:11], s[2:3], s0 glc
3877 // CHECK: [0x81,0x02,0x89,0xc2,0x00,0x00,0x00,0x00]
3879 s_atomic_sub_x2 s[10:11], s[2:3], s0
3880 // CHECK: [0x81,0x02,0x8c,0xc2,0x00,0x00,0x00,0x00]
3882 s_atomic_sub_x2 s[12:13], s[2:3], s0
3883 // CHECK: [0x01,0x03,0x8c,0xc2,0x00,0x00,0x00,0x00]
3885 s_atomic_sub_x2 s[100:101], s[2:3], s0
3886 // CHECK: [0x01,0x19,0x8c,0xc2,0x00,0x00,0x00,0x00]
3888 s_atomic_sub_x2 flat_scratch, s[2:3], s0
3889 // CHECK: [0x81,0x19,0x8c,0xc2,0x00,0x00,0x00,0x00]
3891 s_atomic_sub_x2 vcc, s[2:3], s0
3892 // CHECK: [0x81,0x1a,0x8c,0xc2,0x00,0x00,0x00,0x00]
3894 s_atomic_sub_x2 ttmp[14:15], s[2:3], s0
3895 // CHECK: [0x81,0x1e,0x8c,0xc2,0x00,0x00,0x00,0x00]
3897 s_atomic_sub_x2 s[10:11], s[4:5], s0
3898 // CHECK: [0x82,0x02,0x8c,0xc2,0x00,0x00,0x00,0x00]
3900 s_atomic_sub_x2 s[10:11], s[100:101], s0
3901 // CHECK: [0xb2,0x02,0x8c,0xc2,0x00,0x00,0x00,0x00]
3903 s_atomic_sub_x2 s[10:11], flat_scratch, s0
3904 // CHECK: [0xb3,0x02,0x8c,0xc2,0x00,0x00,0x00,0x00]
3906 s_atomic_sub_x2 s[10:11], vcc, s0
3907 // CHECK: [0xb5,0x02,0x8c,0xc2,0x00,0x00,0x00,0x00]
3909 s_atomic_sub_x2 s[10:11], ttmp[14:15], s0
3910 // CHECK: [0xbd,0x02,0x8c,0xc2,0x00,0x00,0x00,0x00]
3912 s_atomic_sub_x2 s[10:11], s[2:3], s101
3913 // CHECK: [0x81,0x02,0x8c,0xc2,0x65,0x00,0x00,0x00]
3915 s_atomic_sub_x2 s[10:11], s[2:3], flat_scratch_lo
3916 // CHECK: [0x81,0x02,0x8c,0xc2,0x66,0x00,0x00,0x00]
3918 s_atomic_sub_x2 s[10:11], s[2:3], flat_scratch_hi
3919 // CHECK: [0x81,0x02,0x8c,0xc2,0x67,0x00,0x00,0x00]
3921 s_atomic_sub_x2 s[10:11], s[2:3], vcc_lo
3922 // CHECK: [0x81,0x02,0x8c,0xc2,0x6a,0x00,0x00,0x00]
3924 s_atomic_sub_x2 s[10:11], s[2:3], vcc_hi
3925 // CHECK: [0x81,0x02,0x8c,0xc2,0x6b,0x00,0x00,0x00]
3927 s_atomic_sub_x2 s[10:11], s[2:3], ttmp15
3928 // CHECK: [0x81,0x02,0x8c,0xc2,0x7b,0x00,0x00,0x00]
3930 s_atomic_sub_x2 s[10:11], s[2:3], m0
3931 // CHECK: [0x81,0x02,0x8c,0xc2,0x7c,0x00,0x00,0x00]
3933 s_atomic_sub_x2 s[10:11], s[2:3], 0x0
3934 // CHECK: [0x81,0x02,0x8e,0xc2,0x00,0x00,0x00,0x00]
3936 s_atomic_sub_x2 s[10:11], s[2:3], s0 glc
3937 // CHECK: [0x81,0x02,0x8d,0xc2,0x00,0x00,0x00,0x00]
3939 s_atomic_smin_x2 s[10:11], s[2:3], s0
3940 // CHECK: [0x81,0x02,0x90,0xc2,0x00,0x00,0x00,0x00]
3942 s_atomic_smin_x2 s[12:13], s[2:3], s0
3943 // CHECK: [0x01,0x03,0x90,0xc2,0x00,0x00,0x00,0x00]
3945 s_atomic_smin_x2 s[100:101], s[2:3], s0
3946 // CHECK: [0x01,0x19,0x90,0xc2,0x00,0x00,0x00,0x00]
3948 s_atomic_smin_x2 flat_scratch, s[2:3], s0
3949 // CHECK: [0x81,0x19,0x90,0xc2,0x00,0x00,0x00,0x00]
3951 s_atomic_smin_x2 vcc, s[2:3], s0
3952 // CHECK: [0x81,0x1a,0x90,0xc2,0x00,0x00,0x00,0x00]
3954 s_atomic_smin_x2 ttmp[14:15], s[2:3], s0
3955 // CHECK: [0x81,0x1e,0x90,0xc2,0x00,0x00,0x00,0x00]
3957 s_atomic_smin_x2 s[10:11], s[4:5], s0
3958 // CHECK: [0x82,0x02,0x90,0xc2,0x00,0x00,0x00,0x00]
3960 s_atomic_smin_x2 s[10:11], s[100:101], s0
3961 // CHECK: [0xb2,0x02,0x90,0xc2,0x00,0x00,0x00,0x00]
3963 s_atomic_smin_x2 s[10:11], flat_scratch, s0
3964 // CHECK: [0xb3,0x02,0x90,0xc2,0x00,0x00,0x00,0x00]
3966 s_atomic_smin_x2 s[10:11], vcc, s0
3967 // CHECK: [0xb5,0x02,0x90,0xc2,0x00,0x00,0x00,0x00]
3969 s_atomic_smin_x2 s[10:11], ttmp[14:15], s0
3970 // CHECK: [0xbd,0x02,0x90,0xc2,0x00,0x00,0x00,0x00]
3972 s_atomic_smin_x2 s[10:11], s[2:3], s101
3973 // CHECK: [0x81,0x02,0x90,0xc2,0x65,0x00,0x00,0x00]
3975 s_atomic_smin_x2 s[10:11], s[2:3], flat_scratch_lo
3976 // CHECK: [0x81,0x02,0x90,0xc2,0x66,0x00,0x00,0x00]
3978 s_atomic_smin_x2 s[10:11], s[2:3], flat_scratch_hi
3979 // CHECK: [0x81,0x02,0x90,0xc2,0x67,0x00,0x00,0x00]
3981 s_atomic_smin_x2 s[10:11], s[2:3], vcc_lo
3982 // CHECK: [0x81,0x02,0x90,0xc2,0x6a,0x00,0x00,0x00]
3984 s_atomic_smin_x2 s[10:11], s[2:3], vcc_hi
3985 // CHECK: [0x81,0x02,0x90,0xc2,0x6b,0x00,0x00,0x00]
3987 s_atomic_smin_x2 s[10:11], s[2:3], ttmp15
3988 // CHECK: [0x81,0x02,0x90,0xc2,0x7b,0x00,0x00,0x00]
3990 s_atomic_smin_x2 s[10:11], s[2:3], m0
3991 // CHECK: [0x81,0x02,0x90,0xc2,0x7c,0x00,0x00,0x00]
3993 s_atomic_smin_x2 s[10:11], s[2:3], 0x0
3994 // CHECK: [0x81,0x02,0x92,0xc2,0x00,0x00,0x00,0x00]
3996 s_atomic_smin_x2 s[10:11], s[2:3], s0 glc
3997 // CHECK: [0x81,0x02,0x91,0xc2,0x00,0x00,0x00,0x00]
3999 s_atomic_umin_x2 s[10:11], s[2:3], s0
4000 // CHECK: [0x81,0x02,0x94,0xc2,0x00,0x00,0x00,0x00]
4002 s_atomic_umin_x2 s[12:13], s[2:3], s0
4003 // CHECK: [0x01,0x03,0x94,0xc2,0x00,0x00,0x00,0x00]
4005 s_atomic_umin_x2 s[100:101], s[2:3], s0
4006 // CHECK: [0x01,0x19,0x94,0xc2,0x00,0x00,0x00,0x00]
4008 s_atomic_umin_x2 flat_scratch, s[2:3], s0
4009 // CHECK: [0x81,0x19,0x94,0xc2,0x00,0x00,0x00,0x00]
4011 s_atomic_umin_x2 vcc, s[2:3], s0
4012 // CHECK: [0x81,0x1a,0x94,0xc2,0x00,0x00,0x00,0x00]
4014 s_atomic_umin_x2 ttmp[14:15], s[2:3], s0
4015 // CHECK: [0x81,0x1e,0x94,0xc2,0x00,0x00,0x00,0x00]
4017 s_atomic_umin_x2 s[10:11], s[4:5], s0
4018 // CHECK: [0x82,0x02,0x94,0xc2,0x00,0x00,0x00,0x00]
4020 s_atomic_umin_x2 s[10:11], s[100:101], s0
4021 // CHECK: [0xb2,0x02,0x94,0xc2,0x00,0x00,0x00,0x00]
4023 s_atomic_umin_x2 s[10:11], flat_scratch, s0
4024 // CHECK: [0xb3,0x02,0x94,0xc2,0x00,0x00,0x00,0x00]
4026 s_atomic_umin_x2 s[10:11], vcc, s0
4027 // CHECK: [0xb5,0x02,0x94,0xc2,0x00,0x00,0x00,0x00]
4029 s_atomic_umin_x2 s[10:11], ttmp[14:15], s0
4030 // CHECK: [0xbd,0x02,0x94,0xc2,0x00,0x00,0x00,0x00]
4032 s_atomic_umin_x2 s[10:11], s[2:3], s101
4033 // CHECK: [0x81,0x02,0x94,0xc2,0x65,0x00,0x00,0x00]
4035 s_atomic_umin_x2 s[10:11], s[2:3], flat_scratch_lo
4036 // CHECK: [0x81,0x02,0x94,0xc2,0x66,0x00,0x00,0x00]
4038 s_atomic_umin_x2 s[10:11], s[2:3], flat_scratch_hi
4039 // CHECK: [0x81,0x02,0x94,0xc2,0x67,0x00,0x00,0x00]
4041 s_atomic_umin_x2 s[10:11], s[2:3], vcc_lo
4042 // CHECK: [0x81,0x02,0x94,0xc2,0x6a,0x00,0x00,0x00]
4044 s_atomic_umin_x2 s[10:11], s[2:3], vcc_hi
4045 // CHECK: [0x81,0x02,0x94,0xc2,0x6b,0x00,0x00,0x00]
4047 s_atomic_umin_x2 s[10:11], s[2:3], ttmp15
4048 // CHECK: [0x81,0x02,0x94,0xc2,0x7b,0x00,0x00,0x00]
4050 s_atomic_umin_x2 s[10:11], s[2:3], m0
4051 // CHECK: [0x81,0x02,0x94,0xc2,0x7c,0x00,0x00,0x00]
4053 s_atomic_umin_x2 s[10:11], s[2:3], 0x0
4054 // CHECK: [0x81,0x02,0x96,0xc2,0x00,0x00,0x00,0x00]
4056 s_atomic_umin_x2 s[10:11], s[2:3], s0 glc
4057 // CHECK: [0x81,0x02,0x95,0xc2,0x00,0x00,0x00,0x00]
4059 s_atomic_smax_x2 s[10:11], s[2:3], s0
4060 // CHECK: [0x81,0x02,0x98,0xc2,0x00,0x00,0x00,0x00]
4062 s_atomic_smax_x2 s[12:13], s[2:3], s0
4063 // CHECK: [0x01,0x03,0x98,0xc2,0x00,0x00,0x00,0x00]
4065 s_atomic_smax_x2 s[100:101], s[2:3], s0
4066 // CHECK: [0x01,0x19,0x98,0xc2,0x00,0x00,0x00,0x00]
4068 s_atomic_smax_x2 flat_scratch, s[2:3], s0
4069 // CHECK: [0x81,0x19,0x98,0xc2,0x00,0x00,0x00,0x00]
4071 s_atomic_smax_x2 vcc, s[2:3], s0
4072 // CHECK: [0x81,0x1a,0x98,0xc2,0x00,0x00,0x00,0x00]
4074 s_atomic_smax_x2 ttmp[14:15], s[2:3], s0
4075 // CHECK: [0x81,0x1e,0x98,0xc2,0x00,0x00,0x00,0x00]
4077 s_atomic_smax_x2 s[10:11], s[4:5], s0
4078 // CHECK: [0x82,0x02,0x98,0xc2,0x00,0x00,0x00,0x00]
4080 s_atomic_smax_x2 s[10:11], s[100:101], s0
4081 // CHECK: [0xb2,0x02,0x98,0xc2,0x00,0x00,0x00,0x00]
4083 s_atomic_smax_x2 s[10:11], flat_scratch, s0
4084 // CHECK: [0xb3,0x02,0x98,0xc2,0x00,0x00,0x00,0x00]
4086 s_atomic_smax_x2 s[10:11], vcc, s0
4087 // CHECK: [0xb5,0x02,0x98,0xc2,0x00,0x00,0x00,0x00]
4089 s_atomic_smax_x2 s[10:11], ttmp[14:15], s0
4090 // CHECK: [0xbd,0x02,0x98,0xc2,0x00,0x00,0x00,0x00]
4092 s_atomic_smax_x2 s[10:11], s[2:3], s101
4093 // CHECK: [0x81,0x02,0x98,0xc2,0x65,0x00,0x00,0x00]
4095 s_atomic_smax_x2 s[10:11], s[2:3], flat_scratch_lo
4096 // CHECK: [0x81,0x02,0x98,0xc2,0x66,0x00,0x00,0x00]
4098 s_atomic_smax_x2 s[10:11], s[2:3], flat_scratch_hi
4099 // CHECK: [0x81,0x02,0x98,0xc2,0x67,0x00,0x00,0x00]
4101 s_atomic_smax_x2 s[10:11], s[2:3], vcc_lo
4102 // CHECK: [0x81,0x02,0x98,0xc2,0x6a,0x00,0x00,0x00]
4104 s_atomic_smax_x2 s[10:11], s[2:3], vcc_hi
4105 // CHECK: [0x81,0x02,0x98,0xc2,0x6b,0x00,0x00,0x00]
4107 s_atomic_smax_x2 s[10:11], s[2:3], ttmp15
4108 // CHECK: [0x81,0x02,0x98,0xc2,0x7b,0x00,0x00,0x00]
4110 s_atomic_smax_x2 s[10:11], s[2:3], m0
4111 // CHECK: [0x81,0x02,0x98,0xc2,0x7c,0x00,0x00,0x00]
4113 s_atomic_smax_x2 s[10:11], s[2:3], 0x0
4114 // CHECK: [0x81,0x02,0x9a,0xc2,0x00,0x00,0x00,0x00]
4116 s_atomic_smax_x2 s[10:11], s[2:3], s0 glc
4117 // CHECK: [0x81,0x02,0x99,0xc2,0x00,0x00,0x00,0x00]
4119 s_atomic_umax_x2 s[10:11], s[2:3], s0
4120 // CHECK: [0x81,0x02,0x9c,0xc2,0x00,0x00,0x00,0x00]
4122 s_atomic_umax_x2 s[12:13], s[2:3], s0
4123 // CHECK: [0x01,0x03,0x9c,0xc2,0x00,0x00,0x00,0x00]
4125 s_atomic_umax_x2 s[100:101], s[2:3], s0
4126 // CHECK: [0x01,0x19,0x9c,0xc2,0x00,0x00,0x00,0x00]
4128 s_atomic_umax_x2 flat_scratch, s[2:3], s0
4129 // CHECK: [0x81,0x19,0x9c,0xc2,0x00,0x00,0x00,0x00]
4131 s_atomic_umax_x2 vcc, s[2:3], s0
4132 // CHECK: [0x81,0x1a,0x9c,0xc2,0x00,0x00,0x00,0x00]
4134 s_atomic_umax_x2 ttmp[14:15], s[2:3], s0
4135 // CHECK: [0x81,0x1e,0x9c,0xc2,0x00,0x00,0x00,0x00]
4137 s_atomic_umax_x2 s[10:11], s[4:5], s0
4138 // CHECK: [0x82,0x02,0x9c,0xc2,0x00,0x00,0x00,0x00]
4140 s_atomic_umax_x2 s[10:11], s[100:101], s0
4141 // CHECK: [0xb2,0x02,0x9c,0xc2,0x00,0x00,0x00,0x00]
4143 s_atomic_umax_x2 s[10:11], flat_scratch, s0
4144 // CHECK: [0xb3,0x02,0x9c,0xc2,0x00,0x00,0x00,0x00]
4146 s_atomic_umax_x2 s[10:11], vcc, s0
4147 // CHECK: [0xb5,0x02,0x9c,0xc2,0x00,0x00,0x00,0x00]
4149 s_atomic_umax_x2 s[10:11], ttmp[14:15], s0
4150 // CHECK: [0xbd,0x02,0x9c,0xc2,0x00,0x00,0x00,0x00]
4152 s_atomic_umax_x2 s[10:11], s[2:3], s101
4153 // CHECK: [0x81,0x02,0x9c,0xc2,0x65,0x00,0x00,0x00]
4155 s_atomic_umax_x2 s[10:11], s[2:3], flat_scratch_lo
4156 // CHECK: [0x81,0x02,0x9c,0xc2,0x66,0x00,0x00,0x00]
4158 s_atomic_umax_x2 s[10:11], s[2:3], flat_scratch_hi
4159 // CHECK: [0x81,0x02,0x9c,0xc2,0x67,0x00,0x00,0x00]
4161 s_atomic_umax_x2 s[10:11], s[2:3], vcc_lo
4162 // CHECK: [0x81,0x02,0x9c,0xc2,0x6a,0x00,0x00,0x00]
4164 s_atomic_umax_x2 s[10:11], s[2:3], vcc_hi
4165 // CHECK: [0x81,0x02,0x9c,0xc2,0x6b,0x00,0x00,0x00]
4167 s_atomic_umax_x2 s[10:11], s[2:3], ttmp15
4168 // CHECK: [0x81,0x02,0x9c,0xc2,0x7b,0x00,0x00,0x00]
4170 s_atomic_umax_x2 s[10:11], s[2:3], m0
4171 // CHECK: [0x81,0x02,0x9c,0xc2,0x7c,0x00,0x00,0x00]
4173 s_atomic_umax_x2 s[10:11], s[2:3], 0x0
4174 // CHECK: [0x81,0x02,0x9e,0xc2,0x00,0x00,0x00,0x00]
4176 s_atomic_umax_x2 s[10:11], s[2:3], s0 glc
4177 // CHECK: [0x81,0x02,0x9d,0xc2,0x00,0x00,0x00,0x00]
4179 s_atomic_and_x2 s[10:11], s[2:3], s0
4180 // CHECK: [0x81,0x02,0xa0,0xc2,0x00,0x00,0x00,0x00]
4182 s_atomic_and_x2 s[12:13], s[2:3], s0
4183 // CHECK: [0x01,0x03,0xa0,0xc2,0x00,0x00,0x00,0x00]
4185 s_atomic_and_x2 s[100:101], s[2:3], s0
4186 // CHECK: [0x01,0x19,0xa0,0xc2,0x00,0x00,0x00,0x00]
4188 s_atomic_and_x2 flat_scratch, s[2:3], s0
4189 // CHECK: [0x81,0x19,0xa0,0xc2,0x00,0x00,0x00,0x00]
4191 s_atomic_and_x2 vcc, s[2:3], s0
4192 // CHECK: [0x81,0x1a,0xa0,0xc2,0x00,0x00,0x00,0x00]
4194 s_atomic_and_x2 ttmp[14:15], s[2:3], s0
4195 // CHECK: [0x81,0x1e,0xa0,0xc2,0x00,0x00,0x00,0x00]
4197 s_atomic_and_x2 s[10:11], s[4:5], s0
4198 // CHECK: [0x82,0x02,0xa0,0xc2,0x00,0x00,0x00,0x00]
4200 s_atomic_and_x2 s[10:11], s[100:101], s0
4201 // CHECK: [0xb2,0x02,0xa0,0xc2,0x00,0x00,0x00,0x00]
4203 s_atomic_and_x2 s[10:11], flat_scratch, s0
4204 // CHECK: [0xb3,0x02,0xa0,0xc2,0x00,0x00,0x00,0x00]
4206 s_atomic_and_x2 s[10:11], vcc, s0
4207 // CHECK: [0xb5,0x02,0xa0,0xc2,0x00,0x00,0x00,0x00]
4209 s_atomic_and_x2 s[10:11], ttmp[14:15], s0
4210 // CHECK: [0xbd,0x02,0xa0,0xc2,0x00,0x00,0x00,0x00]
4212 s_atomic_and_x2 s[10:11], s[2:3], s101
4213 // CHECK: [0x81,0x02,0xa0,0xc2,0x65,0x00,0x00,0x00]
4215 s_atomic_and_x2 s[10:11], s[2:3], flat_scratch_lo
4216 // CHECK: [0x81,0x02,0xa0,0xc2,0x66,0x00,0x00,0x00]
4218 s_atomic_and_x2 s[10:11], s[2:3], flat_scratch_hi
4219 // CHECK: [0x81,0x02,0xa0,0xc2,0x67,0x00,0x00,0x00]
4221 s_atomic_and_x2 s[10:11], s[2:3], vcc_lo
4222 // CHECK: [0x81,0x02,0xa0,0xc2,0x6a,0x00,0x00,0x00]
4224 s_atomic_and_x2 s[10:11], s[2:3], vcc_hi
4225 // CHECK: [0x81,0x02,0xa0,0xc2,0x6b,0x00,0x00,0x00]
4227 s_atomic_and_x2 s[10:11], s[2:3], ttmp15
4228 // CHECK: [0x81,0x02,0xa0,0xc2,0x7b,0x00,0x00,0x00]
4230 s_atomic_and_x2 s[10:11], s[2:3], m0
4231 // CHECK: [0x81,0x02,0xa0,0xc2,0x7c,0x00,0x00,0x00]
4233 s_atomic_and_x2 s[10:11], s[2:3], 0x0
4234 // CHECK: [0x81,0x02,0xa2,0xc2,0x00,0x00,0x00,0x00]
4236 s_atomic_and_x2 s[10:11], s[2:3], s0 glc
4237 // CHECK: [0x81,0x02,0xa1,0xc2,0x00,0x00,0x00,0x00]
4239 s_atomic_or_x2 s[10:11], s[2:3], s0
4240 // CHECK: [0x81,0x02,0xa4,0xc2,0x00,0x00,0x00,0x00]
4242 s_atomic_or_x2 s[12:13], s[2:3], s0
4243 // CHECK: [0x01,0x03,0xa4,0xc2,0x00,0x00,0x00,0x00]
4245 s_atomic_or_x2 s[100:101], s[2:3], s0
4246 // CHECK: [0x01,0x19,0xa4,0xc2,0x00,0x00,0x00,0x00]
4248 s_atomic_or_x2 flat_scratch, s[2:3], s0
4249 // CHECK: [0x81,0x19,0xa4,0xc2,0x00,0x00,0x00,0x00]
4251 s_atomic_or_x2 vcc, s[2:3], s0
4252 // CHECK: [0x81,0x1a,0xa4,0xc2,0x00,0x00,0x00,0x00]
4254 s_atomic_or_x2 ttmp[14:15], s[2:3], s0
4255 // CHECK: [0x81,0x1e,0xa4,0xc2,0x00,0x00,0x00,0x00]
4257 s_atomic_or_x2 s[10:11], s[4:5], s0
4258 // CHECK: [0x82,0x02,0xa4,0xc2,0x00,0x00,0x00,0x00]
4260 s_atomic_or_x2 s[10:11], s[100:101], s0
4261 // CHECK: [0xb2,0x02,0xa4,0xc2,0x00,0x00,0x00,0x00]
4263 s_atomic_or_x2 s[10:11], flat_scratch, s0
4264 // CHECK: [0xb3,0x02,0xa4,0xc2,0x00,0x00,0x00,0x00]
4266 s_atomic_or_x2 s[10:11], vcc, s0
4267 // CHECK: [0xb5,0x02,0xa4,0xc2,0x00,0x00,0x00,0x00]
4269 s_atomic_or_x2 s[10:11], ttmp[14:15], s0
4270 // CHECK: [0xbd,0x02,0xa4,0xc2,0x00,0x00,0x00,0x00]
4272 s_atomic_or_x2 s[10:11], s[2:3], s101
4273 // CHECK: [0x81,0x02,0xa4,0xc2,0x65,0x00,0x00,0x00]
4275 s_atomic_or_x2 s[10:11], s[2:3], flat_scratch_lo
4276 // CHECK: [0x81,0x02,0xa4,0xc2,0x66,0x00,0x00,0x00]
4278 s_atomic_or_x2 s[10:11], s[2:3], flat_scratch_hi
4279 // CHECK: [0x81,0x02,0xa4,0xc2,0x67,0x00,0x00,0x00]
4281 s_atomic_or_x2 s[10:11], s[2:3], vcc_lo
4282 // CHECK: [0x81,0x02,0xa4,0xc2,0x6a,0x00,0x00,0x00]
4284 s_atomic_or_x2 s[10:11], s[2:3], vcc_hi
4285 // CHECK: [0x81,0x02,0xa4,0xc2,0x6b,0x00,0x00,0x00]
4287 s_atomic_or_x2 s[10:11], s[2:3], ttmp15
4288 // CHECK: [0x81,0x02,0xa4,0xc2,0x7b,0x00,0x00,0x00]
4290 s_atomic_or_x2 s[10:11], s[2:3], m0
4291 // CHECK: [0x81,0x02,0xa4,0xc2,0x7c,0x00,0x00,0x00]
4293 s_atomic_or_x2 s[10:11], s[2:3], 0x0
4294 // CHECK: [0x81,0x02,0xa6,0xc2,0x00,0x00,0x00,0x00]
4296 s_atomic_or_x2 s[10:11], s[2:3], s0 glc
4297 // CHECK: [0x81,0x02,0xa5,0xc2,0x00,0x00,0x00,0x00]
4299 s_atomic_xor_x2 s[10:11], s[2:3], s0
4300 // CHECK: [0x81,0x02,0xa8,0xc2,0x00,0x00,0x00,0x00]
4302 s_atomic_xor_x2 s[12:13], s[2:3], s0
4303 // CHECK: [0x01,0x03,0xa8,0xc2,0x00,0x00,0x00,0x00]
4305 s_atomic_xor_x2 s[100:101], s[2:3], s0
4306 // CHECK: [0x01,0x19,0xa8,0xc2,0x00,0x00,0x00,0x00]
4308 s_atomic_xor_x2 flat_scratch, s[2:3], s0
4309 // CHECK: [0x81,0x19,0xa8,0xc2,0x00,0x00,0x00,0x00]
4311 s_atomic_xor_x2 vcc, s[2:3], s0
4312 // CHECK: [0x81,0x1a,0xa8,0xc2,0x00,0x00,0x00,0x00]
4314 s_atomic_xor_x2 ttmp[14:15], s[2:3], s0
4315 // CHECK: [0x81,0x1e,0xa8,0xc2,0x00,0x00,0x00,0x00]
4317 s_atomic_xor_x2 s[10:11], s[4:5], s0
4318 // CHECK: [0x82,0x02,0xa8,0xc2,0x00,0x00,0x00,0x00]
4320 s_atomic_xor_x2 s[10:11], s[100:101], s0
4321 // CHECK: [0xb2,0x02,0xa8,0xc2,0x00,0x00,0x00,0x00]
4323 s_atomic_xor_x2 s[10:11], flat_scratch, s0
4324 // CHECK: [0xb3,0x02,0xa8,0xc2,0x00,0x00,0x00,0x00]
4326 s_atomic_xor_x2 s[10:11], vcc, s0
4327 // CHECK: [0xb5,0x02,0xa8,0xc2,0x00,0x00,0x00,0x00]
4329 s_atomic_xor_x2 s[10:11], ttmp[14:15], s0
4330 // CHECK: [0xbd,0x02,0xa8,0xc2,0x00,0x00,0x00,0x00]
4332 s_atomic_xor_x2 s[10:11], s[2:3], s101
4333 // CHECK: [0x81,0x02,0xa8,0xc2,0x65,0x00,0x00,0x00]
4335 s_atomic_xor_x2 s[10:11], s[2:3], flat_scratch_lo
4336 // CHECK: [0x81,0x02,0xa8,0xc2,0x66,0x00,0x00,0x00]
4338 s_atomic_xor_x2 s[10:11], s[2:3], flat_scratch_hi
4339 // CHECK: [0x81,0x02,0xa8,0xc2,0x67,0x00,0x00,0x00]
4341 s_atomic_xor_x2 s[10:11], s[2:3], vcc_lo
4342 // CHECK: [0x81,0x02,0xa8,0xc2,0x6a,0x00,0x00,0x00]
4344 s_atomic_xor_x2 s[10:11], s[2:3], vcc_hi
4345 // CHECK: [0x81,0x02,0xa8,0xc2,0x6b,0x00,0x00,0x00]
4347 s_atomic_xor_x2 s[10:11], s[2:3], ttmp15
4348 // CHECK: [0x81,0x02,0xa8,0xc2,0x7b,0x00,0x00,0x00]
4350 s_atomic_xor_x2 s[10:11], s[2:3], m0
4351 // CHECK: [0x81,0x02,0xa8,0xc2,0x7c,0x00,0x00,0x00]
4353 s_atomic_xor_x2 s[10:11], s[2:3], 0x0
4354 // CHECK: [0x81,0x02,0xaa,0xc2,0x00,0x00,0x00,0x00]
4356 s_atomic_xor_x2 s[10:11], s[2:3], s0 glc
4357 // CHECK: [0x81,0x02,0xa9,0xc2,0x00,0x00,0x00,0x00]
4359 s_atomic_inc_x2 s[10:11], s[2:3], s0
4360 // CHECK: [0x81,0x02,0xac,0xc2,0x00,0x00,0x00,0x00]
4362 s_atomic_inc_x2 s[12:13], s[2:3], s0
4363 // CHECK: [0x01,0x03,0xac,0xc2,0x00,0x00,0x00,0x00]
4365 s_atomic_inc_x2 s[100:101], s[2:3], s0
4366 // CHECK: [0x01,0x19,0xac,0xc2,0x00,0x00,0x00,0x00]
4368 s_atomic_inc_x2 flat_scratch, s[2:3], s0
4369 // CHECK: [0x81,0x19,0xac,0xc2,0x00,0x00,0x00,0x00]
4371 s_atomic_inc_x2 vcc, s[2:3], s0
4372 // CHECK: [0x81,0x1a,0xac,0xc2,0x00,0x00,0x00,0x00]
4374 s_atomic_inc_x2 ttmp[14:15], s[2:3], s0
4375 // CHECK: [0x81,0x1e,0xac,0xc2,0x00,0x00,0x00,0x00]
4377 s_atomic_inc_x2 s[10:11], s[4:5], s0
4378 // CHECK: [0x82,0x02,0xac,0xc2,0x00,0x00,0x00,0x00]
4380 s_atomic_inc_x2 s[10:11], s[100:101], s0
4381 // CHECK: [0xb2,0x02,0xac,0xc2,0x00,0x00,0x00,0x00]
4383 s_atomic_inc_x2 s[10:11], flat_scratch, s0
4384 // CHECK: [0xb3,0x02,0xac,0xc2,0x00,0x00,0x00,0x00]
4386 s_atomic_inc_x2 s[10:11], vcc, s0
4387 // CHECK: [0xb5,0x02,0xac,0xc2,0x00,0x00,0x00,0x00]
4389 s_atomic_inc_x2 s[10:11], ttmp[14:15], s0
4390 // CHECK: [0xbd,0x02,0xac,0xc2,0x00,0x00,0x00,0x00]
4392 s_atomic_inc_x2 s[10:11], s[2:3], s101
4393 // CHECK: [0x81,0x02,0xac,0xc2,0x65,0x00,0x00,0x00]
4395 s_atomic_inc_x2 s[10:11], s[2:3], flat_scratch_lo
4396 // CHECK: [0x81,0x02,0xac,0xc2,0x66,0x00,0x00,0x00]
4398 s_atomic_inc_x2 s[10:11], s[2:3], flat_scratch_hi
4399 // CHECK: [0x81,0x02,0xac,0xc2,0x67,0x00,0x00,0x00]
4401 s_atomic_inc_x2 s[10:11], s[2:3], vcc_lo
4402 // CHECK: [0x81,0x02,0xac,0xc2,0x6a,0x00,0x00,0x00]
4404 s_atomic_inc_x2 s[10:11], s[2:3], vcc_hi
4405 // CHECK: [0x81,0x02,0xac,0xc2,0x6b,0x00,0x00,0x00]
4407 s_atomic_inc_x2 s[10:11], s[2:3], ttmp15
4408 // CHECK: [0x81,0x02,0xac,0xc2,0x7b,0x00,0x00,0x00]
4410 s_atomic_inc_x2 s[10:11], s[2:3], m0
4411 // CHECK: [0x81,0x02,0xac,0xc2,0x7c,0x00,0x00,0x00]
4413 s_atomic_inc_x2 s[10:11], s[2:3], 0x0
4414 // CHECK: [0x81,0x02,0xae,0xc2,0x00,0x00,0x00,0x00]
4416 s_atomic_inc_x2 s[10:11], s[2:3], s0 glc
4417 // CHECK: [0x81,0x02,0xad,0xc2,0x00,0x00,0x00,0x00]
4419 s_atomic_dec_x2 s[10:11], s[2:3], s0
4420 // CHECK: [0x81,0x02,0xb0,0xc2,0x00,0x00,0x00,0x00]
4422 s_atomic_dec_x2 s[12:13], s[2:3], s0
4423 // CHECK: [0x01,0x03,0xb0,0xc2,0x00,0x00,0x00,0x00]
4425 s_atomic_dec_x2 s[100:101], s[2:3], s0
4426 // CHECK: [0x01,0x19,0xb0,0xc2,0x00,0x00,0x00,0x00]
4428 s_atomic_dec_x2 flat_scratch, s[2:3], s0
4429 // CHECK: [0x81,0x19,0xb0,0xc2,0x00,0x00,0x00,0x00]
4431 s_atomic_dec_x2 vcc, s[2:3], s0
4432 // CHECK: [0x81,0x1a,0xb0,0xc2,0x00,0x00,0x00,0x00]
4434 s_atomic_dec_x2 ttmp[14:15], s[2:3], s0
4435 // CHECK: [0x81,0x1e,0xb0,0xc2,0x00,0x00,0x00,0x00]
4437 s_atomic_dec_x2 s[10:11], s[4:5], s0
4438 // CHECK: [0x82,0x02,0xb0,0xc2,0x00,0x00,0x00,0x00]
4440 s_atomic_dec_x2 s[10:11], s[100:101], s0
4441 // CHECK: [0xb2,0x02,0xb0,0xc2,0x00,0x00,0x00,0x00]
4443 s_atomic_dec_x2 s[10:11], flat_scratch, s0
4444 // CHECK: [0xb3,0x02,0xb0,0xc2,0x00,0x00,0x00,0x00]
4446 s_atomic_dec_x2 s[10:11], vcc, s0
4447 // CHECK: [0xb5,0x02,0xb0,0xc2,0x00,0x00,0x00,0x00]
4449 s_atomic_dec_x2 s[10:11], ttmp[14:15], s0
4450 // CHECK: [0xbd,0x02,0xb0,0xc2,0x00,0x00,0x00,0x00]
4452 s_atomic_dec_x2 s[10:11], s[2:3], s101
4453 // CHECK: [0x81,0x02,0xb0,0xc2,0x65,0x00,0x00,0x00]
4455 s_atomic_dec_x2 s[10:11], s[2:3], flat_scratch_lo
4456 // CHECK: [0x81,0x02,0xb0,0xc2,0x66,0x00,0x00,0x00]
4458 s_atomic_dec_x2 s[10:11], s[2:3], flat_scratch_hi
4459 // CHECK: [0x81,0x02,0xb0,0xc2,0x67,0x00,0x00,0x00]
4461 s_atomic_dec_x2 s[10:11], s[2:3], vcc_lo
4462 // CHECK: [0x81,0x02,0xb0,0xc2,0x6a,0x00,0x00,0x00]
4464 s_atomic_dec_x2 s[10:11], s[2:3], vcc_hi
4465 // CHECK: [0x81,0x02,0xb0,0xc2,0x6b,0x00,0x00,0x00]
4467 s_atomic_dec_x2 s[10:11], s[2:3], ttmp15
4468 // CHECK: [0x81,0x02,0xb0,0xc2,0x7b,0x00,0x00,0x00]
4470 s_atomic_dec_x2 s[10:11], s[2:3], m0
4471 // CHECK: [0x81,0x02,0xb0,0xc2,0x7c,0x00,0x00,0x00]
4473 s_atomic_dec_x2 s[10:11], s[2:3], 0x0
4474 // CHECK: [0x81,0x02,0xb2,0xc2,0x00,0x00,0x00,0x00]
4476 s_atomic_dec_x2 s[10:11], s[2:3], s0 glc
4477 // CHECK: [0x81,0x02,0xb1,0xc2,0x00,0x00,0x00,0x00]