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