Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / llvm / test / MC / AMDGPU / gfx7_asm_ds.s
blobeaa1b0510040ecf7b8bae617b919c8e35732d156
1 // RUN: llvm-mc -triple=amdgcn -mcpu=bonaire -show-encoding %s | FileCheck %s
3 ds_add_u32 v1, v2 offset:65535
4 // CHECK: [0xff,0xff,0x00,0xd8,0x01,0x02,0x00,0x00]
6 ds_add_u32 v255, v2 offset:65535
7 // CHECK: [0xff,0xff,0x00,0xd8,0xff,0x02,0x00,0x00]
9 ds_add_u32 v1, v255 offset:65535
10 // CHECK: [0xff,0xff,0x00,0xd8,0x01,0xff,0x00,0x00]
12 ds_add_u32 v1, v2
13 // CHECK: [0x00,0x00,0x00,0xd8,0x01,0x02,0x00,0x00]
15 ds_add_u32 v1, v2 offset:0
16 // CHECK: [0x00,0x00,0x00,0xd8,0x01,0x02,0x00,0x00]
18 ds_add_u32 v1, v2 offset:4
19 // CHECK: [0x04,0x00,0x00,0xd8,0x01,0x02,0x00,0x00]
21 ds_add_u32 v1, v2 offset:65535 gds
22 // CHECK: [0xff,0xff,0x02,0xd8,0x01,0x02,0x00,0x00]
24 ds_sub_u32 v1, v2 offset:65535
25 // CHECK: [0xff,0xff,0x04,0xd8,0x01,0x02,0x00,0x00]
27 ds_sub_u32 v255, v2 offset:65535
28 // CHECK: [0xff,0xff,0x04,0xd8,0xff,0x02,0x00,0x00]
30 ds_sub_u32 v1, v255 offset:65535
31 // CHECK: [0xff,0xff,0x04,0xd8,0x01,0xff,0x00,0x00]
33 ds_sub_u32 v1, v2
34 // CHECK: [0x00,0x00,0x04,0xd8,0x01,0x02,0x00,0x00]
36 ds_sub_u32 v1, v2 offset:0
37 // CHECK: [0x00,0x00,0x04,0xd8,0x01,0x02,0x00,0x00]
39 ds_sub_u32 v1, v2 offset:4
40 // CHECK: [0x04,0x00,0x04,0xd8,0x01,0x02,0x00,0x00]
42 ds_sub_u32 v1, v2 offset:65535 gds
43 // CHECK: [0xff,0xff,0x06,0xd8,0x01,0x02,0x00,0x00]
45 ds_rsub_u32 v1, v2 offset:65535
46 // CHECK: [0xff,0xff,0x08,0xd8,0x01,0x02,0x00,0x00]
48 ds_rsub_u32 v255, v2 offset:65535
49 // CHECK: [0xff,0xff,0x08,0xd8,0xff,0x02,0x00,0x00]
51 ds_rsub_u32 v1, v255 offset:65535
52 // CHECK: [0xff,0xff,0x08,0xd8,0x01,0xff,0x00,0x00]
54 ds_rsub_u32 v1, v2
55 // CHECK: [0x00,0x00,0x08,0xd8,0x01,0x02,0x00,0x00]
57 ds_rsub_u32 v1, v2 offset:0
58 // CHECK: [0x00,0x00,0x08,0xd8,0x01,0x02,0x00,0x00]
60 ds_rsub_u32 v1, v2 offset:4
61 // CHECK: [0x04,0x00,0x08,0xd8,0x01,0x02,0x00,0x00]
63 ds_rsub_u32 v1, v2 offset:65535 gds
64 // CHECK: [0xff,0xff,0x0a,0xd8,0x01,0x02,0x00,0x00]
66 ds_inc_u32 v1, v2 offset:65535
67 // CHECK: [0xff,0xff,0x0c,0xd8,0x01,0x02,0x00,0x00]
69 ds_inc_u32 v255, v2 offset:65535
70 // CHECK: [0xff,0xff,0x0c,0xd8,0xff,0x02,0x00,0x00]
72 ds_inc_u32 v1, v255 offset:65535
73 // CHECK: [0xff,0xff,0x0c,0xd8,0x01,0xff,0x00,0x00]
75 ds_inc_u32 v1, v2
76 // CHECK: [0x00,0x00,0x0c,0xd8,0x01,0x02,0x00,0x00]
78 ds_inc_u32 v1, v2 offset:0
79 // CHECK: [0x00,0x00,0x0c,0xd8,0x01,0x02,0x00,0x00]
81 ds_inc_u32 v1, v2 offset:4
82 // CHECK: [0x04,0x00,0x0c,0xd8,0x01,0x02,0x00,0x00]
84 ds_inc_u32 v1, v2 offset:65535 gds
85 // CHECK: [0xff,0xff,0x0e,0xd8,0x01,0x02,0x00,0x00]
87 ds_dec_u32 v1, v2 offset:65535
88 // CHECK: [0xff,0xff,0x10,0xd8,0x01,0x02,0x00,0x00]
90 ds_dec_u32 v255, v2 offset:65535
91 // CHECK: [0xff,0xff,0x10,0xd8,0xff,0x02,0x00,0x00]
93 ds_dec_u32 v1, v255 offset:65535
94 // CHECK: [0xff,0xff,0x10,0xd8,0x01,0xff,0x00,0x00]
96 ds_dec_u32 v1, v2
97 // CHECK: [0x00,0x00,0x10,0xd8,0x01,0x02,0x00,0x00]
99 ds_dec_u32 v1, v2 offset:0
100 // CHECK: [0x00,0x00,0x10,0xd8,0x01,0x02,0x00,0x00]
102 ds_dec_u32 v1, v2 offset:4
103 // CHECK: [0x04,0x00,0x10,0xd8,0x01,0x02,0x00,0x00]
105 ds_dec_u32 v1, v2 offset:65535 gds
106 // CHECK: [0xff,0xff,0x12,0xd8,0x01,0x02,0x00,0x00]
108 ds_min_i32 v1, v2 offset:65535
109 // CHECK: [0xff,0xff,0x14,0xd8,0x01,0x02,0x00,0x00]
111 ds_min_i32 v255, v2 offset:65535
112 // CHECK: [0xff,0xff,0x14,0xd8,0xff,0x02,0x00,0x00]
114 ds_min_i32 v1, v255 offset:65535
115 // CHECK: [0xff,0xff,0x14,0xd8,0x01,0xff,0x00,0x00]
117 ds_min_i32 v1, v2
118 // CHECK: [0x00,0x00,0x14,0xd8,0x01,0x02,0x00,0x00]
120 ds_min_i32 v1, v2 offset:0
121 // CHECK: [0x00,0x00,0x14,0xd8,0x01,0x02,0x00,0x00]
123 ds_min_i32 v1, v2 offset:4
124 // CHECK: [0x04,0x00,0x14,0xd8,0x01,0x02,0x00,0x00]
126 ds_min_i32 v1, v2 offset:65535 gds
127 // CHECK: [0xff,0xff,0x16,0xd8,0x01,0x02,0x00,0x00]
129 ds_max_i32 v1, v2 offset:65535
130 // CHECK: [0xff,0xff,0x18,0xd8,0x01,0x02,0x00,0x00]
132 ds_max_i32 v255, v2 offset:65535
133 // CHECK: [0xff,0xff,0x18,0xd8,0xff,0x02,0x00,0x00]
135 ds_max_i32 v1, v255 offset:65535
136 // CHECK: [0xff,0xff,0x18,0xd8,0x01,0xff,0x00,0x00]
138 ds_max_i32 v1, v2
139 // CHECK: [0x00,0x00,0x18,0xd8,0x01,0x02,0x00,0x00]
141 ds_max_i32 v1, v2 offset:0
142 // CHECK: [0x00,0x00,0x18,0xd8,0x01,0x02,0x00,0x00]
144 ds_max_i32 v1, v2 offset:4
145 // CHECK: [0x04,0x00,0x18,0xd8,0x01,0x02,0x00,0x00]
147 ds_max_i32 v1, v2 offset:65535 gds
148 // CHECK: [0xff,0xff,0x1a,0xd8,0x01,0x02,0x00,0x00]
150 ds_min_u32 v1, v2 offset:65535
151 // CHECK: [0xff,0xff,0x1c,0xd8,0x01,0x02,0x00,0x00]
153 ds_min_u32 v255, v2 offset:65535
154 // CHECK: [0xff,0xff,0x1c,0xd8,0xff,0x02,0x00,0x00]
156 ds_min_u32 v1, v255 offset:65535
157 // CHECK: [0xff,0xff,0x1c,0xd8,0x01,0xff,0x00,0x00]
159 ds_min_u32 v1, v2
160 // CHECK: [0x00,0x00,0x1c,0xd8,0x01,0x02,0x00,0x00]
162 ds_min_u32 v1, v2 offset:0
163 // CHECK: [0x00,0x00,0x1c,0xd8,0x01,0x02,0x00,0x00]
165 ds_min_u32 v1, v2 offset:4
166 // CHECK: [0x04,0x00,0x1c,0xd8,0x01,0x02,0x00,0x00]
168 ds_min_u32 v1, v2 offset:65535 gds
169 // CHECK: [0xff,0xff,0x1e,0xd8,0x01,0x02,0x00,0x00]
171 ds_max_u32 v1, v2 offset:65535
172 // CHECK: [0xff,0xff,0x20,0xd8,0x01,0x02,0x00,0x00]
174 ds_max_u32 v255, v2 offset:65535
175 // CHECK: [0xff,0xff,0x20,0xd8,0xff,0x02,0x00,0x00]
177 ds_max_u32 v1, v255 offset:65535
178 // CHECK: [0xff,0xff,0x20,0xd8,0x01,0xff,0x00,0x00]
180 ds_max_u32 v1, v2
181 // CHECK: [0x00,0x00,0x20,0xd8,0x01,0x02,0x00,0x00]
183 ds_max_u32 v1, v2 offset:0
184 // CHECK: [0x00,0x00,0x20,0xd8,0x01,0x02,0x00,0x00]
186 ds_max_u32 v1, v2 offset:4
187 // CHECK: [0x04,0x00,0x20,0xd8,0x01,0x02,0x00,0x00]
189 ds_max_u32 v1, v2 offset:65535 gds
190 // CHECK: [0xff,0xff,0x22,0xd8,0x01,0x02,0x00,0x00]
192 ds_and_b32 v1, v2 offset:65535
193 // CHECK: [0xff,0xff,0x24,0xd8,0x01,0x02,0x00,0x00]
195 ds_and_b32 v255, v2 offset:65535
196 // CHECK: [0xff,0xff,0x24,0xd8,0xff,0x02,0x00,0x00]
198 ds_and_b32 v1, v255 offset:65535
199 // CHECK: [0xff,0xff,0x24,0xd8,0x01,0xff,0x00,0x00]
201 ds_and_b32 v1, v2
202 // CHECK: [0x00,0x00,0x24,0xd8,0x01,0x02,0x00,0x00]
204 ds_and_b32 v1, v2 offset:0
205 // CHECK: [0x00,0x00,0x24,0xd8,0x01,0x02,0x00,0x00]
207 ds_and_b32 v1, v2 offset:4
208 // CHECK: [0x04,0x00,0x24,0xd8,0x01,0x02,0x00,0x00]
210 ds_and_b32 v1, v2 offset:65535 gds
211 // CHECK: [0xff,0xff,0x26,0xd8,0x01,0x02,0x00,0x00]
213 ds_or_b32 v1, v2 offset:65535
214 // CHECK: [0xff,0xff,0x28,0xd8,0x01,0x02,0x00,0x00]
216 ds_or_b32 v255, v2 offset:65535
217 // CHECK: [0xff,0xff,0x28,0xd8,0xff,0x02,0x00,0x00]
219 ds_or_b32 v1, v255 offset:65535
220 // CHECK: [0xff,0xff,0x28,0xd8,0x01,0xff,0x00,0x00]
222 ds_or_b32 v1, v2
223 // CHECK: [0x00,0x00,0x28,0xd8,0x01,0x02,0x00,0x00]
225 ds_or_b32 v1, v2 offset:0
226 // CHECK: [0x00,0x00,0x28,0xd8,0x01,0x02,0x00,0x00]
228 ds_or_b32 v1, v2 offset:4
229 // CHECK: [0x04,0x00,0x28,0xd8,0x01,0x02,0x00,0x00]
231 ds_or_b32 v1, v2 offset:65535 gds
232 // CHECK: [0xff,0xff,0x2a,0xd8,0x01,0x02,0x00,0x00]
234 ds_xor_b32 v1, v2 offset:65535
235 // CHECK: [0xff,0xff,0x2c,0xd8,0x01,0x02,0x00,0x00]
237 ds_xor_b32 v255, v2 offset:65535
238 // CHECK: [0xff,0xff,0x2c,0xd8,0xff,0x02,0x00,0x00]
240 ds_xor_b32 v1, v255 offset:65535
241 // CHECK: [0xff,0xff,0x2c,0xd8,0x01,0xff,0x00,0x00]
243 ds_xor_b32 v1, v2
244 // CHECK: [0x00,0x00,0x2c,0xd8,0x01,0x02,0x00,0x00]
246 ds_xor_b32 v1, v2 offset:0
247 // CHECK: [0x00,0x00,0x2c,0xd8,0x01,0x02,0x00,0x00]
249 ds_xor_b32 v1, v2 offset:4
250 // CHECK: [0x04,0x00,0x2c,0xd8,0x01,0x02,0x00,0x00]
252 ds_xor_b32 v1, v2 offset:65535 gds
253 // CHECK: [0xff,0xff,0x2e,0xd8,0x01,0x02,0x00,0x00]
255 ds_mskor_b32 v1, v2, v3 offset:65535
256 // CHECK: [0xff,0xff,0x30,0xd8,0x01,0x02,0x03,0x00]
258 ds_mskor_b32 v255, v2, v3 offset:65535
259 // CHECK: [0xff,0xff,0x30,0xd8,0xff,0x02,0x03,0x00]
261 ds_mskor_b32 v1, v255, v3 offset:65535
262 // CHECK: [0xff,0xff,0x30,0xd8,0x01,0xff,0x03,0x00]
264 ds_mskor_b32 v1, v2, v255 offset:65535
265 // CHECK: [0xff,0xff,0x30,0xd8,0x01,0x02,0xff,0x00]
267 ds_mskor_b32 v1, v2, v3
268 // CHECK: [0x00,0x00,0x30,0xd8,0x01,0x02,0x03,0x00]
270 ds_mskor_b32 v1, v2, v3 offset:0
271 // CHECK: [0x00,0x00,0x30,0xd8,0x01,0x02,0x03,0x00]
273 ds_mskor_b32 v1, v2, v3 offset:4
274 // CHECK: [0x04,0x00,0x30,0xd8,0x01,0x02,0x03,0x00]
276 ds_mskor_b32 v1, v2, v3 offset:65535 gds
277 // CHECK: [0xff,0xff,0x32,0xd8,0x01,0x02,0x03,0x00]
279 ds_write_b32 v1, v2 offset:65535
280 // CHECK: [0xff,0xff,0x34,0xd8,0x01,0x02,0x00,0x00]
282 ds_write_b32 v255, v2 offset:65535
283 // CHECK: [0xff,0xff,0x34,0xd8,0xff,0x02,0x00,0x00]
285 ds_write_b32 v1, v255 offset:65535
286 // CHECK: [0xff,0xff,0x34,0xd8,0x01,0xff,0x00,0x00]
288 ds_write_b32 v1, v2
289 // CHECK: [0x00,0x00,0x34,0xd8,0x01,0x02,0x00,0x00]
291 ds_write_b32 v1, v2 offset:0
292 // CHECK: [0x00,0x00,0x34,0xd8,0x01,0x02,0x00,0x00]
294 ds_write_b32 v1, v2 offset:4
295 // CHECK: [0x04,0x00,0x34,0xd8,0x01,0x02,0x00,0x00]
297 ds_write_b32 v1, v2 offset:65535 gds
298 // CHECK: [0xff,0xff,0x36,0xd8,0x01,0x02,0x00,0x00]
300 ds_write2_b32 v1, v2, v3 offset0:127 offset1:255
301 // CHECK: [0x7f,0xff,0x38,0xd8,0x01,0x02,0x03,0x00]
303 ds_write2_b32 v255, v2, v3 offset0:127 offset1:255
304 // CHECK: [0x7f,0xff,0x38,0xd8,0xff,0x02,0x03,0x00]
306 ds_write2_b32 v1, v255, v3 offset0:127 offset1:255
307 // CHECK: [0x7f,0xff,0x38,0xd8,0x01,0xff,0x03,0x00]
309 ds_write2_b32 v1, v2, v255 offset0:127 offset1:255
310 // CHECK: [0x7f,0xff,0x38,0xd8,0x01,0x02,0xff,0x00]
312 ds_write2_b32 v1, v2, v3 offset1:255
313 // CHECK: [0x00,0xff,0x38,0xd8,0x01,0x02,0x03,0x00]
315 ds_write2_b32 v1, v2, v3 offset0:0 offset1:255
316 // CHECK: [0x00,0xff,0x38,0xd8,0x01,0x02,0x03,0x00]
318 ds_write2_b32 v1, v2, v3 offset0:16 offset1:255
319 // CHECK: [0x10,0xff,0x38,0xd8,0x01,0x02,0x03,0x00]
321 ds_write2_b32 v1, v2, v3 offset0:127
322 // CHECK: [0x7f,0x00,0x38,0xd8,0x01,0x02,0x03,0x00]
324 ds_write2_b32 v1, v2, v3 offset0:127 offset1:0
325 // CHECK: [0x7f,0x00,0x38,0xd8,0x01,0x02,0x03,0x00]
327 ds_write2_b32 v1, v2, v3 offset0:127 offset1:1
328 // CHECK: [0x7f,0x01,0x38,0xd8,0x01,0x02,0x03,0x00]
330 ds_write2_b32 v1, v2, v3 offset0:127 offset1:255 gds
331 // CHECK: [0x7f,0xff,0x3a,0xd8,0x01,0x02,0x03,0x00]
333 ds_write2st64_b32 v1, v2, v3 offset0:127 offset1:255
334 // CHECK: [0x7f,0xff,0x3c,0xd8,0x01,0x02,0x03,0x00]
336 ds_write2st64_b32 v255, v2, v3 offset0:127 offset1:255
337 // CHECK: [0x7f,0xff,0x3c,0xd8,0xff,0x02,0x03,0x00]
339 ds_write2st64_b32 v1, v255, v3 offset0:127 offset1:255
340 // CHECK: [0x7f,0xff,0x3c,0xd8,0x01,0xff,0x03,0x00]
342 ds_write2st64_b32 v1, v2, v255 offset0:127 offset1:255
343 // CHECK: [0x7f,0xff,0x3c,0xd8,0x01,0x02,0xff,0x00]
345 ds_write2st64_b32 v1, v2, v3 offset1:255
346 // CHECK: [0x00,0xff,0x3c,0xd8,0x01,0x02,0x03,0x00]
348 ds_write2st64_b32 v1, v2, v3 offset0:0 offset1:255
349 // CHECK: [0x00,0xff,0x3c,0xd8,0x01,0x02,0x03,0x00]
351 ds_write2st64_b32 v1, v2, v3 offset0:16 offset1:255
352 // CHECK: [0x10,0xff,0x3c,0xd8,0x01,0x02,0x03,0x00]
354 ds_write2st64_b32 v1, v2, v3 offset0:127
355 // CHECK: [0x7f,0x00,0x3c,0xd8,0x01,0x02,0x03,0x00]
357 ds_write2st64_b32 v1, v2, v3 offset0:127 offset1:0
358 // CHECK: [0x7f,0x00,0x3c,0xd8,0x01,0x02,0x03,0x00]
360 ds_write2st64_b32 v1, v2, v3 offset0:127 offset1:1
361 // CHECK: [0x7f,0x01,0x3c,0xd8,0x01,0x02,0x03,0x00]
363 ds_write2st64_b32 v1, v2, v3 offset0:127 offset1:255 gds
364 // CHECK: [0x7f,0xff,0x3e,0xd8,0x01,0x02,0x03,0x00]
366 ds_cmpst_b32 v1, v2, v3 offset:65535
367 // CHECK: [0xff,0xff,0x40,0xd8,0x01,0x02,0x03,0x00]
369 ds_cmpst_b32 v255, v2, v3 offset:65535
370 // CHECK: [0xff,0xff,0x40,0xd8,0xff,0x02,0x03,0x00]
372 ds_cmpst_b32 v1, v255, v3 offset:65535
373 // CHECK: [0xff,0xff,0x40,0xd8,0x01,0xff,0x03,0x00]
375 ds_cmpst_b32 v1, v2, v255 offset:65535
376 // CHECK: [0xff,0xff,0x40,0xd8,0x01,0x02,0xff,0x00]
378 ds_cmpst_b32 v1, v2, v3
379 // CHECK: [0x00,0x00,0x40,0xd8,0x01,0x02,0x03,0x00]
381 ds_cmpst_b32 v1, v2, v3 offset:0
382 // CHECK: [0x00,0x00,0x40,0xd8,0x01,0x02,0x03,0x00]
384 ds_cmpst_b32 v1, v2, v3 offset:4
385 // CHECK: [0x04,0x00,0x40,0xd8,0x01,0x02,0x03,0x00]
387 ds_cmpst_b32 v1, v2, v3 offset:65535 gds
388 // CHECK: [0xff,0xff,0x42,0xd8,0x01,0x02,0x03,0x00]
390 ds_cmpst_f32 v1, v2, v3 offset:65535
391 // CHECK: [0xff,0xff,0x44,0xd8,0x01,0x02,0x03,0x00]
393 ds_cmpst_f32 v255, v2, v3 offset:65535
394 // CHECK: [0xff,0xff,0x44,0xd8,0xff,0x02,0x03,0x00]
396 ds_cmpst_f32 v1, v255, v3 offset:65535
397 // CHECK: [0xff,0xff,0x44,0xd8,0x01,0xff,0x03,0x00]
399 ds_cmpst_f32 v1, v2, v255 offset:65535
400 // CHECK: [0xff,0xff,0x44,0xd8,0x01,0x02,0xff,0x00]
402 ds_cmpst_f32 v1, v2, v3
403 // CHECK: [0x00,0x00,0x44,0xd8,0x01,0x02,0x03,0x00]
405 ds_cmpst_f32 v1, v2, v3 offset:0
406 // CHECK: [0x00,0x00,0x44,0xd8,0x01,0x02,0x03,0x00]
408 ds_cmpst_f32 v1, v2, v3 offset:4
409 // CHECK: [0x04,0x00,0x44,0xd8,0x01,0x02,0x03,0x00]
411 ds_cmpst_f32 v1, v2, v3 offset:65535 gds
412 // CHECK: [0xff,0xff,0x46,0xd8,0x01,0x02,0x03,0x00]
414 ds_min_f32 v1, v2 offset:65535
415 // CHECK: [0xff,0xff,0x48,0xd8,0x01,0x02,0x00,0x00]
417 ds_min_f32 v255, v2 offset:65535
418 // CHECK: [0xff,0xff,0x48,0xd8,0xff,0x02,0x00,0x00]
420 ds_min_f32 v1, v255 offset:65535
421 // CHECK: [0xff,0xff,0x48,0xd8,0x01,0xff,0x00,0x00]
423 ds_min_f32 v1, v2
424 // CHECK: [0x00,0x00,0x48,0xd8,0x01,0x02,0x00,0x00]
426 ds_min_f32 v1, v2 offset:0
427 // CHECK: [0x00,0x00,0x48,0xd8,0x01,0x02,0x00,0x00]
429 ds_min_f32 v1, v2 offset:4
430 // CHECK: [0x04,0x00,0x48,0xd8,0x01,0x02,0x00,0x00]
432 ds_min_f32 v1, v2 offset:65535 gds
433 // CHECK: [0xff,0xff,0x4a,0xd8,0x01,0x02,0x00,0x00]
435 ds_max_f32 v1, v2 offset:65535
436 // CHECK: [0xff,0xff,0x4c,0xd8,0x01,0x02,0x00,0x00]
438 ds_max_f32 v255, v2 offset:65535
439 // CHECK: [0xff,0xff,0x4c,0xd8,0xff,0x02,0x00,0x00]
441 ds_max_f32 v1, v255 offset:65535
442 // CHECK: [0xff,0xff,0x4c,0xd8,0x01,0xff,0x00,0x00]
444 ds_max_f32 v1, v2
445 // CHECK: [0x00,0x00,0x4c,0xd8,0x01,0x02,0x00,0x00]
447 ds_max_f32 v1, v2 offset:0
448 // CHECK: [0x00,0x00,0x4c,0xd8,0x01,0x02,0x00,0x00]
450 ds_max_f32 v1, v2 offset:4
451 // CHECK: [0x04,0x00,0x4c,0xd8,0x01,0x02,0x00,0x00]
453 ds_max_f32 v1, v2 offset:65535 gds
454 // CHECK: [0xff,0xff,0x4e,0xd8,0x01,0x02,0x00,0x00]
456 ds_nop
457 // CHECK: [0x00,0x00,0x50,0xd8,0x00,0x00,0x00,0x00]
459 ds_gws_sema_release_all offset:65535 gds
460 // CHECK: [0xff,0xff,0x62,0xd8,0x00,0x00,0x00,0x00]
462 ds_gws_sema_release_all gds
463 // CHECK: [0x00,0x00,0x62,0xd8,0x00,0x00,0x00,0x00]
465 ds_gws_sema_release_all offset:0 gds
466 // CHECK: [0x00,0x00,0x62,0xd8,0x00,0x00,0x00,0x00]
468 ds_gws_sema_release_all offset:4 gds
469 // CHECK: [0x04,0x00,0x62,0xd8,0x00,0x00,0x00,0x00]
471 ds_gws_init v1 offset:65535 gds
472 // CHECK: [0xff,0xff,0x66,0xd8,0x01,0x00,0x00,0x00]
474 ds_gws_init v255 offset:65535 gds
475 // CHECK: [0xff,0xff,0x66,0xd8,0xff,0x00,0x00,0x00]
477 ds_gws_init v1 gds
478 // CHECK: [0x00,0x00,0x66,0xd8,0x01,0x00,0x00,0x00]
480 ds_gws_init v1 offset:0 gds
481 // CHECK: [0x00,0x00,0x66,0xd8,0x01,0x00,0x00,0x00]
483 ds_gws_init v1 offset:4 gds
484 // CHECK: [0x04,0x00,0x66,0xd8,0x01,0x00,0x00,0x00]
486 ds_gws_sema_v offset:65535 gds
487 // CHECK: [0xff,0xff,0x6a,0xd8,0x00,0x00,0x00,0x00]
489 ds_gws_sema_v gds
490 // CHECK: [0x00,0x00,0x6a,0xd8,0x00,0x00,0x00,0x00]
492 ds_gws_sema_v offset:0 gds
493 // CHECK: [0x00,0x00,0x6a,0xd8,0x00,0x00,0x00,0x00]
495 ds_gws_sema_v offset:4 gds
496 // CHECK: [0x04,0x00,0x6a,0xd8,0x00,0x00,0x00,0x00]
498 ds_gws_sema_br v1 offset:65535 gds
499 // CHECK: [0xff,0xff,0x6e,0xd8,0x01,0x00,0x00,0x00]
501 ds_gws_sema_br v255 offset:65535 gds
502 // CHECK: [0xff,0xff,0x6e,0xd8,0xff,0x00,0x00,0x00]
504 ds_gws_sema_br v1 gds
505 // CHECK: [0x00,0x00,0x6e,0xd8,0x01,0x00,0x00,0x00]
507 ds_gws_sema_br v1 offset:0 gds
508 // CHECK: [0x00,0x00,0x6e,0xd8,0x01,0x00,0x00,0x00]
510 ds_gws_sema_br v1 offset:4 gds
511 // CHECK: [0x04,0x00,0x6e,0xd8,0x01,0x00,0x00,0x00]
513 ds_gws_sema_p offset:65535 gds
514 // CHECK: [0xff,0xff,0x72,0xd8,0x00,0x00,0x00,0x00]
516 ds_gws_sema_p gds
517 // CHECK: [0x00,0x00,0x72,0xd8,0x00,0x00,0x00,0x00]
519 ds_gws_sema_p offset:0 gds
520 // CHECK: [0x00,0x00,0x72,0xd8,0x00,0x00,0x00,0x00]
522 ds_gws_sema_p offset:4 gds
523 // CHECK: [0x04,0x00,0x72,0xd8,0x00,0x00,0x00,0x00]
525 ds_gws_barrier v1 offset:65535 gds
526 // CHECK: [0xff,0xff,0x76,0xd8,0x01,0x00,0x00,0x00]
528 ds_gws_barrier v255 offset:65535 gds
529 // CHECK: [0xff,0xff,0x76,0xd8,0xff,0x00,0x00,0x00]
531 ds_gws_barrier v1 gds
532 // CHECK: [0x00,0x00,0x76,0xd8,0x01,0x00,0x00,0x00]
534 ds_gws_barrier v1 offset:0 gds
535 // CHECK: [0x00,0x00,0x76,0xd8,0x01,0x00,0x00,0x00]
537 ds_gws_barrier v1 offset:4 gds
538 // CHECK: [0x04,0x00,0x76,0xd8,0x01,0x00,0x00,0x00]
540 ds_write_b8 v1, v2 offset:65535
541 // CHECK: [0xff,0xff,0x78,0xd8,0x01,0x02,0x00,0x00]
543 ds_write_b8 v255, v2 offset:65535
544 // CHECK: [0xff,0xff,0x78,0xd8,0xff,0x02,0x00,0x00]
546 ds_write_b8 v1, v255 offset:65535
547 // CHECK: [0xff,0xff,0x78,0xd8,0x01,0xff,0x00,0x00]
549 ds_write_b8 v1, v2
550 // CHECK: [0x00,0x00,0x78,0xd8,0x01,0x02,0x00,0x00]
552 ds_write_b8 v1, v2 offset:0
553 // CHECK: [0x00,0x00,0x78,0xd8,0x01,0x02,0x00,0x00]
555 ds_write_b8 v1, v2 offset:4
556 // CHECK: [0x04,0x00,0x78,0xd8,0x01,0x02,0x00,0x00]
558 ds_write_b8 v1, v2 offset:65535 gds
559 // CHECK: [0xff,0xff,0x7a,0xd8,0x01,0x02,0x00,0x00]
561 ds_write_b16 v1, v2 offset:65535
562 // CHECK: [0xff,0xff,0x7c,0xd8,0x01,0x02,0x00,0x00]
564 ds_write_b16 v255, v2 offset:65535
565 // CHECK: [0xff,0xff,0x7c,0xd8,0xff,0x02,0x00,0x00]
567 ds_write_b16 v1, v255 offset:65535
568 // CHECK: [0xff,0xff,0x7c,0xd8,0x01,0xff,0x00,0x00]
570 ds_write_b16 v1, v2
571 // CHECK: [0x00,0x00,0x7c,0xd8,0x01,0x02,0x00,0x00]
573 ds_write_b16 v1, v2 offset:0
574 // CHECK: [0x00,0x00,0x7c,0xd8,0x01,0x02,0x00,0x00]
576 ds_write_b16 v1, v2 offset:4
577 // CHECK: [0x04,0x00,0x7c,0xd8,0x01,0x02,0x00,0x00]
579 ds_write_b16 v1, v2 offset:65535 gds
580 // CHECK: [0xff,0xff,0x7e,0xd8,0x01,0x02,0x00,0x00]
582 ds_add_rtn_u32 v5, v1, v2 offset:65535
583 // CHECK: [0xff,0xff,0x80,0xd8,0x01,0x02,0x00,0x05]
585 ds_add_rtn_u32 v255, v1, v2 offset:65535
586 // CHECK: [0xff,0xff,0x80,0xd8,0x01,0x02,0x00,0xff]
588 ds_add_rtn_u32 v5, v255, v2 offset:65535
589 // CHECK: [0xff,0xff,0x80,0xd8,0xff,0x02,0x00,0x05]
591 ds_add_rtn_u32 v5, v1, v255 offset:65535
592 // CHECK: [0xff,0xff,0x80,0xd8,0x01,0xff,0x00,0x05]
594 ds_add_rtn_u32 v5, v1, v2
595 // CHECK: [0x00,0x00,0x80,0xd8,0x01,0x02,0x00,0x05]
597 ds_add_rtn_u32 v5, v1, v2 offset:0
598 // CHECK: [0x00,0x00,0x80,0xd8,0x01,0x02,0x00,0x05]
600 ds_add_rtn_u32 v5, v1, v2 offset:4
601 // CHECK: [0x04,0x00,0x80,0xd8,0x01,0x02,0x00,0x05]
603 ds_add_rtn_u32 v5, v1, v2 offset:65535 gds
604 // CHECK: [0xff,0xff,0x82,0xd8,0x01,0x02,0x00,0x05]
606 ds_sub_rtn_u32 v5, v1, v2 offset:65535
607 // CHECK: [0xff,0xff,0x84,0xd8,0x01,0x02,0x00,0x05]
609 ds_sub_rtn_u32 v255, v1, v2 offset:65535
610 // CHECK: [0xff,0xff,0x84,0xd8,0x01,0x02,0x00,0xff]
612 ds_sub_rtn_u32 v5, v255, v2 offset:65535
613 // CHECK: [0xff,0xff,0x84,0xd8,0xff,0x02,0x00,0x05]
615 ds_sub_rtn_u32 v5, v1, v255 offset:65535
616 // CHECK: [0xff,0xff,0x84,0xd8,0x01,0xff,0x00,0x05]
618 ds_sub_rtn_u32 v5, v1, v2
619 // CHECK: [0x00,0x00,0x84,0xd8,0x01,0x02,0x00,0x05]
621 ds_sub_rtn_u32 v5, v1, v2 offset:0
622 // CHECK: [0x00,0x00,0x84,0xd8,0x01,0x02,0x00,0x05]
624 ds_sub_rtn_u32 v5, v1, v2 offset:4
625 // CHECK: [0x04,0x00,0x84,0xd8,0x01,0x02,0x00,0x05]
627 ds_sub_rtn_u32 v5, v1, v2 offset:65535 gds
628 // CHECK: [0xff,0xff,0x86,0xd8,0x01,0x02,0x00,0x05]
630 ds_rsub_rtn_u32 v5, v1, v2 offset:65535
631 // CHECK: [0xff,0xff,0x88,0xd8,0x01,0x02,0x00,0x05]
633 ds_rsub_rtn_u32 v255, v1, v2 offset:65535
634 // CHECK: [0xff,0xff,0x88,0xd8,0x01,0x02,0x00,0xff]
636 ds_rsub_rtn_u32 v5, v255, v2 offset:65535
637 // CHECK: [0xff,0xff,0x88,0xd8,0xff,0x02,0x00,0x05]
639 ds_rsub_rtn_u32 v5, v1, v255 offset:65535
640 // CHECK: [0xff,0xff,0x88,0xd8,0x01,0xff,0x00,0x05]
642 ds_rsub_rtn_u32 v5, v1, v2
643 // CHECK: [0x00,0x00,0x88,0xd8,0x01,0x02,0x00,0x05]
645 ds_rsub_rtn_u32 v5, v1, v2 offset:0
646 // CHECK: [0x00,0x00,0x88,0xd8,0x01,0x02,0x00,0x05]
648 ds_rsub_rtn_u32 v5, v1, v2 offset:4
649 // CHECK: [0x04,0x00,0x88,0xd8,0x01,0x02,0x00,0x05]
651 ds_rsub_rtn_u32 v5, v1, v2 offset:65535 gds
652 // CHECK: [0xff,0xff,0x8a,0xd8,0x01,0x02,0x00,0x05]
654 ds_inc_rtn_u32 v5, v1, v2 offset:65535
655 // CHECK: [0xff,0xff,0x8c,0xd8,0x01,0x02,0x00,0x05]
657 ds_inc_rtn_u32 v255, v1, v2 offset:65535
658 // CHECK: [0xff,0xff,0x8c,0xd8,0x01,0x02,0x00,0xff]
660 ds_inc_rtn_u32 v5, v255, v2 offset:65535
661 // CHECK: [0xff,0xff,0x8c,0xd8,0xff,0x02,0x00,0x05]
663 ds_inc_rtn_u32 v5, v1, v255 offset:65535
664 // CHECK: [0xff,0xff,0x8c,0xd8,0x01,0xff,0x00,0x05]
666 ds_inc_rtn_u32 v5, v1, v2
667 // CHECK: [0x00,0x00,0x8c,0xd8,0x01,0x02,0x00,0x05]
669 ds_inc_rtn_u32 v5, v1, v2 offset:0
670 // CHECK: [0x00,0x00,0x8c,0xd8,0x01,0x02,0x00,0x05]
672 ds_inc_rtn_u32 v5, v1, v2 offset:4
673 // CHECK: [0x04,0x00,0x8c,0xd8,0x01,0x02,0x00,0x05]
675 ds_inc_rtn_u32 v5, v1, v2 offset:65535 gds
676 // CHECK: [0xff,0xff,0x8e,0xd8,0x01,0x02,0x00,0x05]
678 ds_dec_rtn_u32 v5, v1, v2 offset:65535
679 // CHECK: [0xff,0xff,0x90,0xd8,0x01,0x02,0x00,0x05]
681 ds_dec_rtn_u32 v255, v1, v2 offset:65535
682 // CHECK: [0xff,0xff,0x90,0xd8,0x01,0x02,0x00,0xff]
684 ds_dec_rtn_u32 v5, v255, v2 offset:65535
685 // CHECK: [0xff,0xff,0x90,0xd8,0xff,0x02,0x00,0x05]
687 ds_dec_rtn_u32 v5, v1, v255 offset:65535
688 // CHECK: [0xff,0xff,0x90,0xd8,0x01,0xff,0x00,0x05]
690 ds_dec_rtn_u32 v5, v1, v2
691 // CHECK: [0x00,0x00,0x90,0xd8,0x01,0x02,0x00,0x05]
693 ds_dec_rtn_u32 v5, v1, v2 offset:0
694 // CHECK: [0x00,0x00,0x90,0xd8,0x01,0x02,0x00,0x05]
696 ds_dec_rtn_u32 v5, v1, v2 offset:4
697 // CHECK: [0x04,0x00,0x90,0xd8,0x01,0x02,0x00,0x05]
699 ds_dec_rtn_u32 v5, v1, v2 offset:65535 gds
700 // CHECK: [0xff,0xff,0x92,0xd8,0x01,0x02,0x00,0x05]
702 ds_min_rtn_i32 v5, v1, v2 offset:65535
703 // CHECK: [0xff,0xff,0x94,0xd8,0x01,0x02,0x00,0x05]
705 ds_min_rtn_i32 v255, v1, v2 offset:65535
706 // CHECK: [0xff,0xff,0x94,0xd8,0x01,0x02,0x00,0xff]
708 ds_min_rtn_i32 v5, v255, v2 offset:65535
709 // CHECK: [0xff,0xff,0x94,0xd8,0xff,0x02,0x00,0x05]
711 ds_min_rtn_i32 v5, v1, v255 offset:65535
712 // CHECK: [0xff,0xff,0x94,0xd8,0x01,0xff,0x00,0x05]
714 ds_min_rtn_i32 v5, v1, v2
715 // CHECK: [0x00,0x00,0x94,0xd8,0x01,0x02,0x00,0x05]
717 ds_min_rtn_i32 v5, v1, v2 offset:0
718 // CHECK: [0x00,0x00,0x94,0xd8,0x01,0x02,0x00,0x05]
720 ds_min_rtn_i32 v5, v1, v2 offset:4
721 // CHECK: [0x04,0x00,0x94,0xd8,0x01,0x02,0x00,0x05]
723 ds_min_rtn_i32 v5, v1, v2 offset:65535 gds
724 // CHECK: [0xff,0xff,0x96,0xd8,0x01,0x02,0x00,0x05]
726 ds_max_rtn_i32 v5, v1, v2 offset:65535
727 // CHECK: [0xff,0xff,0x98,0xd8,0x01,0x02,0x00,0x05]
729 ds_max_rtn_i32 v255, v1, v2 offset:65535
730 // CHECK: [0xff,0xff,0x98,0xd8,0x01,0x02,0x00,0xff]
732 ds_max_rtn_i32 v5, v255, v2 offset:65535
733 // CHECK: [0xff,0xff,0x98,0xd8,0xff,0x02,0x00,0x05]
735 ds_max_rtn_i32 v5, v1, v255 offset:65535
736 // CHECK: [0xff,0xff,0x98,0xd8,0x01,0xff,0x00,0x05]
738 ds_max_rtn_i32 v5, v1, v2
739 // CHECK: [0x00,0x00,0x98,0xd8,0x01,0x02,0x00,0x05]
741 ds_max_rtn_i32 v5, v1, v2 offset:0
742 // CHECK: [0x00,0x00,0x98,0xd8,0x01,0x02,0x00,0x05]
744 ds_max_rtn_i32 v5, v1, v2 offset:4
745 // CHECK: [0x04,0x00,0x98,0xd8,0x01,0x02,0x00,0x05]
747 ds_max_rtn_i32 v5, v1, v2 offset:65535 gds
748 // CHECK: [0xff,0xff,0x9a,0xd8,0x01,0x02,0x00,0x05]
750 ds_min_rtn_u32 v5, v1, v2 offset:65535
751 // CHECK: [0xff,0xff,0x9c,0xd8,0x01,0x02,0x00,0x05]
753 ds_min_rtn_u32 v255, v1, v2 offset:65535
754 // CHECK: [0xff,0xff,0x9c,0xd8,0x01,0x02,0x00,0xff]
756 ds_min_rtn_u32 v5, v255, v2 offset:65535
757 // CHECK: [0xff,0xff,0x9c,0xd8,0xff,0x02,0x00,0x05]
759 ds_min_rtn_u32 v5, v1, v255 offset:65535
760 // CHECK: [0xff,0xff,0x9c,0xd8,0x01,0xff,0x00,0x05]
762 ds_min_rtn_u32 v5, v1, v2
763 // CHECK: [0x00,0x00,0x9c,0xd8,0x01,0x02,0x00,0x05]
765 ds_min_rtn_u32 v5, v1, v2 offset:0
766 // CHECK: [0x00,0x00,0x9c,0xd8,0x01,0x02,0x00,0x05]
768 ds_min_rtn_u32 v5, v1, v2 offset:4
769 // CHECK: [0x04,0x00,0x9c,0xd8,0x01,0x02,0x00,0x05]
771 ds_min_rtn_u32 v5, v1, v2 offset:65535 gds
772 // CHECK: [0xff,0xff,0x9e,0xd8,0x01,0x02,0x00,0x05]
774 ds_max_rtn_u32 v5, v1, v2 offset:65535
775 // CHECK: [0xff,0xff,0xa0,0xd8,0x01,0x02,0x00,0x05]
777 ds_max_rtn_u32 v255, v1, v2 offset:65535
778 // CHECK: [0xff,0xff,0xa0,0xd8,0x01,0x02,0x00,0xff]
780 ds_max_rtn_u32 v5, v255, v2 offset:65535
781 // CHECK: [0xff,0xff,0xa0,0xd8,0xff,0x02,0x00,0x05]
783 ds_max_rtn_u32 v5, v1, v255 offset:65535
784 // CHECK: [0xff,0xff,0xa0,0xd8,0x01,0xff,0x00,0x05]
786 ds_max_rtn_u32 v5, v1, v2
787 // CHECK: [0x00,0x00,0xa0,0xd8,0x01,0x02,0x00,0x05]
789 ds_max_rtn_u32 v5, v1, v2 offset:0
790 // CHECK: [0x00,0x00,0xa0,0xd8,0x01,0x02,0x00,0x05]
792 ds_max_rtn_u32 v5, v1, v2 offset:4
793 // CHECK: [0x04,0x00,0xa0,0xd8,0x01,0x02,0x00,0x05]
795 ds_max_rtn_u32 v5, v1, v2 offset:65535 gds
796 // CHECK: [0xff,0xff,0xa2,0xd8,0x01,0x02,0x00,0x05]
798 ds_and_rtn_b32 v5, v1, v2 offset:65535
799 // CHECK: [0xff,0xff,0xa4,0xd8,0x01,0x02,0x00,0x05]
801 ds_and_rtn_b32 v255, v1, v2 offset:65535
802 // CHECK: [0xff,0xff,0xa4,0xd8,0x01,0x02,0x00,0xff]
804 ds_and_rtn_b32 v5, v255, v2 offset:65535
805 // CHECK: [0xff,0xff,0xa4,0xd8,0xff,0x02,0x00,0x05]
807 ds_and_rtn_b32 v5, v1, v255 offset:65535
808 // CHECK: [0xff,0xff,0xa4,0xd8,0x01,0xff,0x00,0x05]
810 ds_and_rtn_b32 v5, v1, v2
811 // CHECK: [0x00,0x00,0xa4,0xd8,0x01,0x02,0x00,0x05]
813 ds_and_rtn_b32 v5, v1, v2 offset:0
814 // CHECK: [0x00,0x00,0xa4,0xd8,0x01,0x02,0x00,0x05]
816 ds_and_rtn_b32 v5, v1, v2 offset:4
817 // CHECK: [0x04,0x00,0xa4,0xd8,0x01,0x02,0x00,0x05]
819 ds_and_rtn_b32 v5, v1, v2 offset:65535 gds
820 // CHECK: [0xff,0xff,0xa6,0xd8,0x01,0x02,0x00,0x05]
822 ds_or_rtn_b32 v5, v1, v2 offset:65535
823 // CHECK: [0xff,0xff,0xa8,0xd8,0x01,0x02,0x00,0x05]
825 ds_or_rtn_b32 v255, v1, v2 offset:65535
826 // CHECK: [0xff,0xff,0xa8,0xd8,0x01,0x02,0x00,0xff]
828 ds_or_rtn_b32 v5, v255, v2 offset:65535
829 // CHECK: [0xff,0xff,0xa8,0xd8,0xff,0x02,0x00,0x05]
831 ds_or_rtn_b32 v5, v1, v255 offset:65535
832 // CHECK: [0xff,0xff,0xa8,0xd8,0x01,0xff,0x00,0x05]
834 ds_or_rtn_b32 v5, v1, v2
835 // CHECK: [0x00,0x00,0xa8,0xd8,0x01,0x02,0x00,0x05]
837 ds_or_rtn_b32 v5, v1, v2 offset:0
838 // CHECK: [0x00,0x00,0xa8,0xd8,0x01,0x02,0x00,0x05]
840 ds_or_rtn_b32 v5, v1, v2 offset:4
841 // CHECK: [0x04,0x00,0xa8,0xd8,0x01,0x02,0x00,0x05]
843 ds_or_rtn_b32 v5, v1, v2 offset:65535 gds
844 // CHECK: [0xff,0xff,0xaa,0xd8,0x01,0x02,0x00,0x05]
846 ds_xor_rtn_b32 v5, v1, v2 offset:65535
847 // CHECK: [0xff,0xff,0xac,0xd8,0x01,0x02,0x00,0x05]
849 ds_xor_rtn_b32 v255, v1, v2 offset:65535
850 // CHECK: [0xff,0xff,0xac,0xd8,0x01,0x02,0x00,0xff]
852 ds_xor_rtn_b32 v5, v255, v2 offset:65535
853 // CHECK: [0xff,0xff,0xac,0xd8,0xff,0x02,0x00,0x05]
855 ds_xor_rtn_b32 v5, v1, v255 offset:65535
856 // CHECK: [0xff,0xff,0xac,0xd8,0x01,0xff,0x00,0x05]
858 ds_xor_rtn_b32 v5, v1, v2
859 // CHECK: [0x00,0x00,0xac,0xd8,0x01,0x02,0x00,0x05]
861 ds_xor_rtn_b32 v5, v1, v2 offset:0
862 // CHECK: [0x00,0x00,0xac,0xd8,0x01,0x02,0x00,0x05]
864 ds_xor_rtn_b32 v5, v1, v2 offset:4
865 // CHECK: [0x04,0x00,0xac,0xd8,0x01,0x02,0x00,0x05]
867 ds_xor_rtn_b32 v5, v1, v2 offset:65535 gds
868 // CHECK: [0xff,0xff,0xae,0xd8,0x01,0x02,0x00,0x05]
870 ds_mskor_rtn_b32 v5, v1, v2, v3 offset:65535
871 // CHECK: [0xff,0xff,0xb0,0xd8,0x01,0x02,0x03,0x05]
873 ds_mskor_rtn_b32 v255, v1, v2, v3 offset:65535
874 // CHECK: [0xff,0xff,0xb0,0xd8,0x01,0x02,0x03,0xff]
876 ds_mskor_rtn_b32 v5, v255, v2, v3 offset:65535
877 // CHECK: [0xff,0xff,0xb0,0xd8,0xff,0x02,0x03,0x05]
879 ds_mskor_rtn_b32 v5, v1, v255, v3 offset:65535
880 // CHECK: [0xff,0xff,0xb0,0xd8,0x01,0xff,0x03,0x05]
882 ds_mskor_rtn_b32 v5, v1, v2, v255 offset:65535
883 // CHECK: [0xff,0xff,0xb0,0xd8,0x01,0x02,0xff,0x05]
885 ds_mskor_rtn_b32 v5, v1, v2, v3
886 // CHECK: [0x00,0x00,0xb0,0xd8,0x01,0x02,0x03,0x05]
888 ds_mskor_rtn_b32 v5, v1, v2, v3 offset:0
889 // CHECK: [0x00,0x00,0xb0,0xd8,0x01,0x02,0x03,0x05]
891 ds_mskor_rtn_b32 v5, v1, v2, v3 offset:4
892 // CHECK: [0x04,0x00,0xb0,0xd8,0x01,0x02,0x03,0x05]
894 ds_mskor_rtn_b32 v5, v1, v2, v3 offset:65535 gds
895 // CHECK: [0xff,0xff,0xb2,0xd8,0x01,0x02,0x03,0x05]
897 ds_wrxchg_rtn_b32 v5, v1, v2 offset:65535
898 // CHECK: [0xff,0xff,0xb4,0xd8,0x01,0x02,0x00,0x05]
900 ds_wrxchg_rtn_b32 v255, v1, v2 offset:65535
901 // CHECK: [0xff,0xff,0xb4,0xd8,0x01,0x02,0x00,0xff]
903 ds_wrxchg_rtn_b32 v5, v255, v2 offset:65535
904 // CHECK: [0xff,0xff,0xb4,0xd8,0xff,0x02,0x00,0x05]
906 ds_wrxchg_rtn_b32 v5, v1, v255 offset:65535
907 // CHECK: [0xff,0xff,0xb4,0xd8,0x01,0xff,0x00,0x05]
909 ds_wrxchg_rtn_b32 v5, v1, v2
910 // CHECK: [0x00,0x00,0xb4,0xd8,0x01,0x02,0x00,0x05]
912 ds_wrxchg_rtn_b32 v5, v1, v2 offset:0
913 // CHECK: [0x00,0x00,0xb4,0xd8,0x01,0x02,0x00,0x05]
915 ds_wrxchg_rtn_b32 v5, v1, v2 offset:4
916 // CHECK: [0x04,0x00,0xb4,0xd8,0x01,0x02,0x00,0x05]
918 ds_wrxchg_rtn_b32 v5, v1, v2 offset:65535 gds
919 // CHECK: [0xff,0xff,0xb6,0xd8,0x01,0x02,0x00,0x05]
921 ds_wrxchg2_rtn_b32 v[5:6], v1, v2, v3 offset0:127 offset1:255
922 // CHECK: [0x7f,0xff,0xb8,0xd8,0x01,0x02,0x03,0x05]
924 ds_wrxchg2_rtn_b32 v[254:255], v1, v2, v3 offset0:127 offset1:255
925 // CHECK: [0x7f,0xff,0xb8,0xd8,0x01,0x02,0x03,0xfe]
927 ds_wrxchg2_rtn_b32 v[5:6], v255, v2, v3 offset0:127 offset1:255
928 // CHECK: [0x7f,0xff,0xb8,0xd8,0xff,0x02,0x03,0x05]
930 ds_wrxchg2_rtn_b32 v[5:6], v1, v255, v3 offset0:127 offset1:255
931 // CHECK: [0x7f,0xff,0xb8,0xd8,0x01,0xff,0x03,0x05]
933 ds_wrxchg2_rtn_b32 v[5:6], v1, v2, v255 offset0:127 offset1:255
934 // CHECK: [0x7f,0xff,0xb8,0xd8,0x01,0x02,0xff,0x05]
936 ds_wrxchg2_rtn_b32 v[5:6], v1, v2, v3 offset1:255
937 // CHECK: [0x00,0xff,0xb8,0xd8,0x01,0x02,0x03,0x05]
939 ds_wrxchg2_rtn_b32 v[5:6], v1, v2, v3 offset0:0 offset1:255
940 // CHECK: [0x00,0xff,0xb8,0xd8,0x01,0x02,0x03,0x05]
942 ds_wrxchg2_rtn_b32 v[5:6], v1, v2, v3 offset0:16 offset1:255
943 // CHECK: [0x10,0xff,0xb8,0xd8,0x01,0x02,0x03,0x05]
945 ds_wrxchg2_rtn_b32 v[5:6], v1, v2, v3 offset0:127
946 // CHECK: [0x7f,0x00,0xb8,0xd8,0x01,0x02,0x03,0x05]
948 ds_wrxchg2_rtn_b32 v[5:6], v1, v2, v3 offset0:127 offset1:0
949 // CHECK: [0x7f,0x00,0xb8,0xd8,0x01,0x02,0x03,0x05]
951 ds_wrxchg2_rtn_b32 v[5:6], v1, v2, v3 offset0:127 offset1:1
952 // CHECK: [0x7f,0x01,0xb8,0xd8,0x01,0x02,0x03,0x05]
954 ds_wrxchg2_rtn_b32 v[5:6], v1, v2, v3 offset0:127 offset1:255 gds
955 // CHECK: [0x7f,0xff,0xba,0xd8,0x01,0x02,0x03,0x05]
957 ds_wrxchg2st64_rtn_b32 v[5:6], v1, v2, v3 offset0:127 offset1:255
958 // CHECK: [0x7f,0xff,0xbc,0xd8,0x01,0x02,0x03,0x05]
960 ds_wrxchg2st64_rtn_b32 v[254:255], v1, v2, v3 offset0:127 offset1:255
961 // CHECK: [0x7f,0xff,0xbc,0xd8,0x01,0x02,0x03,0xfe]
963 ds_wrxchg2st64_rtn_b32 v[5:6], v255, v2, v3 offset0:127 offset1:255
964 // CHECK: [0x7f,0xff,0xbc,0xd8,0xff,0x02,0x03,0x05]
966 ds_wrxchg2st64_rtn_b32 v[5:6], v1, v255, v3 offset0:127 offset1:255
967 // CHECK: [0x7f,0xff,0xbc,0xd8,0x01,0xff,0x03,0x05]
969 ds_wrxchg2st64_rtn_b32 v[5:6], v1, v2, v255 offset0:127 offset1:255
970 // CHECK: [0x7f,0xff,0xbc,0xd8,0x01,0x02,0xff,0x05]
972 ds_wrxchg2st64_rtn_b32 v[5:6], v1, v2, v3 offset1:255
973 // CHECK: [0x00,0xff,0xbc,0xd8,0x01,0x02,0x03,0x05]
975 ds_wrxchg2st64_rtn_b32 v[5:6], v1, v2, v3 offset0:0 offset1:255
976 // CHECK: [0x00,0xff,0xbc,0xd8,0x01,0x02,0x03,0x05]
978 ds_wrxchg2st64_rtn_b32 v[5:6], v1, v2, v3 offset0:16 offset1:255
979 // CHECK: [0x10,0xff,0xbc,0xd8,0x01,0x02,0x03,0x05]
981 ds_wrxchg2st64_rtn_b32 v[5:6], v1, v2, v3 offset0:127
982 // CHECK: [0x7f,0x00,0xbc,0xd8,0x01,0x02,0x03,0x05]
984 ds_wrxchg2st64_rtn_b32 v[5:6], v1, v2, v3 offset0:127 offset1:0
985 // CHECK: [0x7f,0x00,0xbc,0xd8,0x01,0x02,0x03,0x05]
987 ds_wrxchg2st64_rtn_b32 v[5:6], v1, v2, v3 offset0:127 offset1:1
988 // CHECK: [0x7f,0x01,0xbc,0xd8,0x01,0x02,0x03,0x05]
990 ds_wrxchg2st64_rtn_b32 v[5:6], v1, v2, v3 offset0:127 offset1:255 gds
991 // CHECK: [0x7f,0xff,0xbe,0xd8,0x01,0x02,0x03,0x05]
993 ds_cmpst_rtn_b32 v5, v1, v2, v3 offset:65535
994 // CHECK: [0xff,0xff,0xc0,0xd8,0x01,0x02,0x03,0x05]
996 ds_cmpst_rtn_b32 v255, v1, v2, v3 offset:65535
997 // CHECK: [0xff,0xff,0xc0,0xd8,0x01,0x02,0x03,0xff]
999 ds_cmpst_rtn_b32 v5, v255, v2, v3 offset:65535
1000 // CHECK: [0xff,0xff,0xc0,0xd8,0xff,0x02,0x03,0x05]
1002 ds_cmpst_rtn_b32 v5, v1, v255, v3 offset:65535
1003 // CHECK: [0xff,0xff,0xc0,0xd8,0x01,0xff,0x03,0x05]
1005 ds_cmpst_rtn_b32 v5, v1, v2, v255 offset:65535
1006 // CHECK: [0xff,0xff,0xc0,0xd8,0x01,0x02,0xff,0x05]
1008 ds_cmpst_rtn_b32 v5, v1, v2, v3
1009 // CHECK: [0x00,0x00,0xc0,0xd8,0x01,0x02,0x03,0x05]
1011 ds_cmpst_rtn_b32 v5, v1, v2, v3 offset:0
1012 // CHECK: [0x00,0x00,0xc0,0xd8,0x01,0x02,0x03,0x05]
1014 ds_cmpst_rtn_b32 v5, v1, v2, v3 offset:4
1015 // CHECK: [0x04,0x00,0xc0,0xd8,0x01,0x02,0x03,0x05]
1017 ds_cmpst_rtn_b32 v5, v1, v2, v3 offset:65535 gds
1018 // CHECK: [0xff,0xff,0xc2,0xd8,0x01,0x02,0x03,0x05]
1020 ds_cmpst_rtn_f32 v5, v1, v2, v3 offset:65535
1021 // CHECK: [0xff,0xff,0xc4,0xd8,0x01,0x02,0x03,0x05]
1023 ds_cmpst_rtn_f32 v255, v1, v2, v3 offset:65535
1024 // CHECK: [0xff,0xff,0xc4,0xd8,0x01,0x02,0x03,0xff]
1026 ds_cmpst_rtn_f32 v5, v255, v2, v3 offset:65535
1027 // CHECK: [0xff,0xff,0xc4,0xd8,0xff,0x02,0x03,0x05]
1029 ds_cmpst_rtn_f32 v5, v1, v255, v3 offset:65535
1030 // CHECK: [0xff,0xff,0xc4,0xd8,0x01,0xff,0x03,0x05]
1032 ds_cmpst_rtn_f32 v5, v1, v2, v255 offset:65535
1033 // CHECK: [0xff,0xff,0xc4,0xd8,0x01,0x02,0xff,0x05]
1035 ds_cmpst_rtn_f32 v5, v1, v2, v3
1036 // CHECK: [0x00,0x00,0xc4,0xd8,0x01,0x02,0x03,0x05]
1038 ds_cmpst_rtn_f32 v5, v1, v2, v3 offset:0
1039 // CHECK: [0x00,0x00,0xc4,0xd8,0x01,0x02,0x03,0x05]
1041 ds_cmpst_rtn_f32 v5, v1, v2, v3 offset:4
1042 // CHECK: [0x04,0x00,0xc4,0xd8,0x01,0x02,0x03,0x05]
1044 ds_cmpst_rtn_f32 v5, v1, v2, v3 offset:65535 gds
1045 // CHECK: [0xff,0xff,0xc6,0xd8,0x01,0x02,0x03,0x05]
1047 ds_min_rtn_f32 v5, v1, v2 offset:65535
1048 // CHECK: [0xff,0xff,0xc8,0xd8,0x01,0x02,0x00,0x05]
1050 ds_min_rtn_f32 v255, v1, v2 offset:65535
1051 // CHECK: [0xff,0xff,0xc8,0xd8,0x01,0x02,0x00,0xff]
1053 ds_min_rtn_f32 v5, v255, v2 offset:65535
1054 // CHECK: [0xff,0xff,0xc8,0xd8,0xff,0x02,0x00,0x05]
1056 ds_min_rtn_f32 v5, v1, v255 offset:65535
1057 // CHECK: [0xff,0xff,0xc8,0xd8,0x01,0xff,0x00,0x05]
1059 ds_min_rtn_f32 v5, v1, v2
1060 // CHECK: [0x00,0x00,0xc8,0xd8,0x01,0x02,0x00,0x05]
1062 ds_min_rtn_f32 v5, v1, v2 offset:0
1063 // CHECK: [0x00,0x00,0xc8,0xd8,0x01,0x02,0x00,0x05]
1065 ds_min_rtn_f32 v5, v1, v2 offset:4
1066 // CHECK: [0x04,0x00,0xc8,0xd8,0x01,0x02,0x00,0x05]
1068 ds_min_rtn_f32 v5, v1, v2 offset:65535 gds
1069 // CHECK: [0xff,0xff,0xca,0xd8,0x01,0x02,0x00,0x05]
1071 ds_max_rtn_f32 v5, v1, v2 offset:65535
1072 // CHECK: [0xff,0xff,0xcc,0xd8,0x01,0x02,0x00,0x05]
1074 ds_max_rtn_f32 v255, v1, v2 offset:65535
1075 // CHECK: [0xff,0xff,0xcc,0xd8,0x01,0x02,0x00,0xff]
1077 ds_max_rtn_f32 v5, v255, v2 offset:65535
1078 // CHECK: [0xff,0xff,0xcc,0xd8,0xff,0x02,0x00,0x05]
1080 ds_max_rtn_f32 v5, v1, v255 offset:65535
1081 // CHECK: [0xff,0xff,0xcc,0xd8,0x01,0xff,0x00,0x05]
1083 ds_max_rtn_f32 v5, v1, v2
1084 // CHECK: [0x00,0x00,0xcc,0xd8,0x01,0x02,0x00,0x05]
1086 ds_max_rtn_f32 v5, v1, v2 offset:0
1087 // CHECK: [0x00,0x00,0xcc,0xd8,0x01,0x02,0x00,0x05]
1089 ds_max_rtn_f32 v5, v1, v2 offset:4
1090 // CHECK: [0x04,0x00,0xcc,0xd8,0x01,0x02,0x00,0x05]
1092 ds_max_rtn_f32 v5, v1, v2 offset:65535 gds
1093 // CHECK: [0xff,0xff,0xce,0xd8,0x01,0x02,0x00,0x05]
1095 ds_wrap_rtn_b32 v5, v1, v2, v3 offset:65535
1096 // CHECK: [0xff,0xff,0xd0,0xd8,0x01,0x02,0x03,0x05]
1098 ds_wrap_rtn_b32 v255, v1, v2, v3 offset:65535
1099 // CHECK: [0xff,0xff,0xd0,0xd8,0x01,0x02,0x03,0xff]
1101 ds_wrap_rtn_b32 v5, v255, v2, v3 offset:65535
1102 // CHECK: [0xff,0xff,0xd0,0xd8,0xff,0x02,0x03,0x05]
1104 ds_wrap_rtn_b32 v5, v1, v255, v3 offset:65535
1105 // CHECK: [0xff,0xff,0xd0,0xd8,0x01,0xff,0x03,0x05]
1107 ds_wrap_rtn_b32 v5, v1, v2, v255 offset:65535
1108 // CHECK: [0xff,0xff,0xd0,0xd8,0x01,0x02,0xff,0x05]
1110 ds_wrap_rtn_b32 v5, v1, v2, v3
1111 // CHECK: [0x00,0x00,0xd0,0xd8,0x01,0x02,0x03,0x05]
1113 ds_wrap_rtn_b32 v5, v1, v2, v3 offset:0
1114 // CHECK: [0x00,0x00,0xd0,0xd8,0x01,0x02,0x03,0x05]
1116 ds_wrap_rtn_b32 v5, v1, v2, v3 offset:4
1117 // CHECK: [0x04,0x00,0xd0,0xd8,0x01,0x02,0x03,0x05]
1119 ds_wrap_rtn_b32 v5, v1, v2, v3 offset:65535 gds
1120 // CHECK: [0xff,0xff,0xd2,0xd8,0x01,0x02,0x03,0x05]
1122 ds_swizzle_b32 v5, v1 offset:65535
1123 // CHECK: [0xff,0xff,0xd4,0xd8,0x01,0x00,0x00,0x05]
1125 ds_swizzle_b32 v255, v1 offset:65535
1126 // CHECK: [0xff,0xff,0xd4,0xd8,0x01,0x00,0x00,0xff]
1128 ds_swizzle_b32 v5, v255 offset:65535
1129 // CHECK: [0xff,0xff,0xd4,0xd8,0xff,0x00,0x00,0x05]
1131 ds_swizzle_b32 v5, v1
1132 // CHECK: [0x00,0x00,0xd4,0xd8,0x01,0x00,0x00,0x05]
1134 ds_swizzle_b32 v5, v1 offset:0
1135 // CHECK: [0x00,0x00,0xd4,0xd8,0x01,0x00,0x00,0x05]
1137 ds_swizzle_b32 v5, v1 offset:4
1138 // CHECK: [0x04,0x00,0xd4,0xd8,0x01,0x00,0x00,0x05]
1140 ds_swizzle_b32 v5, v1 offset:65535 gds
1141 // CHECK: [0xff,0xff,0xd6,0xd8,0x01,0x00,0x00,0x05]
1143 ds_read_b32 v5, v1 offset:65535
1144 // CHECK: [0xff,0xff,0xd8,0xd8,0x01,0x00,0x00,0x05]
1146 ds_read_b32 v255, v1 offset:65535
1147 // CHECK: [0xff,0xff,0xd8,0xd8,0x01,0x00,0x00,0xff]
1149 ds_read_b32 v5, v255 offset:65535
1150 // CHECK: [0xff,0xff,0xd8,0xd8,0xff,0x00,0x00,0x05]
1152 ds_read_b32 v5, v1
1153 // CHECK: [0x00,0x00,0xd8,0xd8,0x01,0x00,0x00,0x05]
1155 ds_read_b32 v5, v1 offset:0
1156 // CHECK: [0x00,0x00,0xd8,0xd8,0x01,0x00,0x00,0x05]
1158 ds_read_b32 v5, v1 offset:4
1159 // CHECK: [0x04,0x00,0xd8,0xd8,0x01,0x00,0x00,0x05]
1161 ds_read_b32 v5, v1 offset:65535 gds
1162 // CHECK: [0xff,0xff,0xda,0xd8,0x01,0x00,0x00,0x05]
1164 ds_read2_b32 v[5:6], v1 offset0:127 offset1:255
1165 // CHECK: [0x7f,0xff,0xdc,0xd8,0x01,0x00,0x00,0x05]
1167 ds_read2_b32 v[254:255], v1 offset0:127 offset1:255
1168 // CHECK: [0x7f,0xff,0xdc,0xd8,0x01,0x00,0x00,0xfe]
1170 ds_read2_b32 v[5:6], v255 offset0:127 offset1:255
1171 // CHECK: [0x7f,0xff,0xdc,0xd8,0xff,0x00,0x00,0x05]
1173 ds_read2_b32 v[5:6], v1 offset1:255
1174 // CHECK: [0x00,0xff,0xdc,0xd8,0x01,0x00,0x00,0x05]
1176 ds_read2_b32 v[5:6], v1 offset0:0 offset1:255
1177 // CHECK: [0x00,0xff,0xdc,0xd8,0x01,0x00,0x00,0x05]
1179 ds_read2_b32 v[5:6], v1 offset0:16 offset1:255
1180 // CHECK: [0x10,0xff,0xdc,0xd8,0x01,0x00,0x00,0x05]
1182 ds_read2_b32 v[5:6], v1 offset0:127
1183 // CHECK: [0x7f,0x00,0xdc,0xd8,0x01,0x00,0x00,0x05]
1185 ds_read2_b32 v[5:6], v1 offset0:127 offset1:0
1186 // CHECK: [0x7f,0x00,0xdc,0xd8,0x01,0x00,0x00,0x05]
1188 ds_read2_b32 v[5:6], v1 offset0:127 offset1:1
1189 // CHECK: [0x7f,0x01,0xdc,0xd8,0x01,0x00,0x00,0x05]
1191 ds_read2_b32 v[5:6], v1 offset0:127 offset1:255 gds
1192 // CHECK: [0x7f,0xff,0xde,0xd8,0x01,0x00,0x00,0x05]
1194 ds_read2st64_b32 v[5:6], v1 offset0:127 offset1:255
1195 // CHECK: [0x7f,0xff,0xe0,0xd8,0x01,0x00,0x00,0x05]
1197 ds_read2st64_b32 v[254:255], v1 offset0:127 offset1:255
1198 // CHECK: [0x7f,0xff,0xe0,0xd8,0x01,0x00,0x00,0xfe]
1200 ds_read2st64_b32 v[5:6], v255 offset0:127 offset1:255
1201 // CHECK: [0x7f,0xff,0xe0,0xd8,0xff,0x00,0x00,0x05]
1203 ds_read2st64_b32 v[5:6], v1 offset1:255
1204 // CHECK: [0x00,0xff,0xe0,0xd8,0x01,0x00,0x00,0x05]
1206 ds_read2st64_b32 v[5:6], v1 offset0:0 offset1:255
1207 // CHECK: [0x00,0xff,0xe0,0xd8,0x01,0x00,0x00,0x05]
1209 ds_read2st64_b32 v[5:6], v1 offset0:16 offset1:255
1210 // CHECK: [0x10,0xff,0xe0,0xd8,0x01,0x00,0x00,0x05]
1212 ds_read2st64_b32 v[5:6], v1 offset0:127
1213 // CHECK: [0x7f,0x00,0xe0,0xd8,0x01,0x00,0x00,0x05]
1215 ds_read2st64_b32 v[5:6], v1 offset0:127 offset1:0
1216 // CHECK: [0x7f,0x00,0xe0,0xd8,0x01,0x00,0x00,0x05]
1218 ds_read2st64_b32 v[5:6], v1 offset0:127 offset1:1
1219 // CHECK: [0x7f,0x01,0xe0,0xd8,0x01,0x00,0x00,0x05]
1221 ds_read2st64_b32 v[5:6], v1 offset0:127 offset1:255 gds
1222 // CHECK: [0x7f,0xff,0xe2,0xd8,0x01,0x00,0x00,0x05]
1224 ds_read_i8 v5, v1 offset:65535
1225 // CHECK: [0xff,0xff,0xe4,0xd8,0x01,0x00,0x00,0x05]
1227 ds_read_i8 v255, v1 offset:65535
1228 // CHECK: [0xff,0xff,0xe4,0xd8,0x01,0x00,0x00,0xff]
1230 ds_read_i8 v5, v255 offset:65535
1231 // CHECK: [0xff,0xff,0xe4,0xd8,0xff,0x00,0x00,0x05]
1233 ds_read_i8 v5, v1
1234 // CHECK: [0x00,0x00,0xe4,0xd8,0x01,0x00,0x00,0x05]
1236 ds_read_i8 v5, v1 offset:0
1237 // CHECK: [0x00,0x00,0xe4,0xd8,0x01,0x00,0x00,0x05]
1239 ds_read_i8 v5, v1 offset:4
1240 // CHECK: [0x04,0x00,0xe4,0xd8,0x01,0x00,0x00,0x05]
1242 ds_read_i8 v5, v1 offset:65535 gds
1243 // CHECK: [0xff,0xff,0xe6,0xd8,0x01,0x00,0x00,0x05]
1245 ds_read_u8 v5, v1 offset:65535
1246 // CHECK: [0xff,0xff,0xe8,0xd8,0x01,0x00,0x00,0x05]
1248 ds_read_u8 v255, v1 offset:65535
1249 // CHECK: [0xff,0xff,0xe8,0xd8,0x01,0x00,0x00,0xff]
1251 ds_read_u8 v5, v255 offset:65535
1252 // CHECK: [0xff,0xff,0xe8,0xd8,0xff,0x00,0x00,0x05]
1254 ds_read_u8 v5, v1
1255 // CHECK: [0x00,0x00,0xe8,0xd8,0x01,0x00,0x00,0x05]
1257 ds_read_u8 v5, v1 offset:0
1258 // CHECK: [0x00,0x00,0xe8,0xd8,0x01,0x00,0x00,0x05]
1260 ds_read_u8 v5, v1 offset:4
1261 // CHECK: [0x04,0x00,0xe8,0xd8,0x01,0x00,0x00,0x05]
1263 ds_read_u8 v5, v1 offset:65535 gds
1264 // CHECK: [0xff,0xff,0xea,0xd8,0x01,0x00,0x00,0x05]
1266 ds_read_i16 v5, v1 offset:65535
1267 // CHECK: [0xff,0xff,0xec,0xd8,0x01,0x00,0x00,0x05]
1269 ds_read_i16 v255, v1 offset:65535
1270 // CHECK: [0xff,0xff,0xec,0xd8,0x01,0x00,0x00,0xff]
1272 ds_read_i16 v5, v255 offset:65535
1273 // CHECK: [0xff,0xff,0xec,0xd8,0xff,0x00,0x00,0x05]
1275 ds_read_i16 v5, v1
1276 // CHECK: [0x00,0x00,0xec,0xd8,0x01,0x00,0x00,0x05]
1278 ds_read_i16 v5, v1 offset:0
1279 // CHECK: [0x00,0x00,0xec,0xd8,0x01,0x00,0x00,0x05]
1281 ds_read_i16 v5, v1 offset:4
1282 // CHECK: [0x04,0x00,0xec,0xd8,0x01,0x00,0x00,0x05]
1284 ds_read_i16 v5, v1 offset:65535 gds
1285 // CHECK: [0xff,0xff,0xee,0xd8,0x01,0x00,0x00,0x05]
1287 ds_read_u16 v5, v1 offset:65535
1288 // CHECK: [0xff,0xff,0xf0,0xd8,0x01,0x00,0x00,0x05]
1290 ds_read_u16 v255, v1 offset:65535
1291 // CHECK: [0xff,0xff,0xf0,0xd8,0x01,0x00,0x00,0xff]
1293 ds_read_u16 v5, v255 offset:65535
1294 // CHECK: [0xff,0xff,0xf0,0xd8,0xff,0x00,0x00,0x05]
1296 ds_read_u16 v5, v1
1297 // CHECK: [0x00,0x00,0xf0,0xd8,0x01,0x00,0x00,0x05]
1299 ds_read_u16 v5, v1 offset:0
1300 // CHECK: [0x00,0x00,0xf0,0xd8,0x01,0x00,0x00,0x05]
1302 ds_read_u16 v5, v1 offset:4
1303 // CHECK: [0x04,0x00,0xf0,0xd8,0x01,0x00,0x00,0x05]
1305 ds_read_u16 v5, v1 offset:65535 gds
1306 // CHECK: [0xff,0xff,0xf2,0xd8,0x01,0x00,0x00,0x05]
1308 ds_consume v5 offset:65535
1309 // CHECK: [0xff,0xff,0xf4,0xd8,0x00,0x00,0x00,0x05]
1311 ds_consume v255 offset:65535
1312 // CHECK: [0xff,0xff,0xf4,0xd8,0x00,0x00,0x00,0xff]
1314 ds_consume v5
1315 // CHECK: [0x00,0x00,0xf4,0xd8,0x00,0x00,0x00,0x05]
1317 ds_consume v5 offset:0
1318 // CHECK: [0x00,0x00,0xf4,0xd8,0x00,0x00,0x00,0x05]
1320 ds_consume v5 offset:4
1321 // CHECK: [0x04,0x00,0xf4,0xd8,0x00,0x00,0x00,0x05]
1323 ds_consume v5 offset:65535 gds
1324 // CHECK: [0xff,0xff,0xf6,0xd8,0x00,0x00,0x00,0x05]
1326 ds_append v5 offset:65535
1327 // CHECK: [0xff,0xff,0xf8,0xd8,0x00,0x00,0x00,0x05]
1329 ds_append v255 offset:65535
1330 // CHECK: [0xff,0xff,0xf8,0xd8,0x00,0x00,0x00,0xff]
1332 ds_append v5
1333 // CHECK: [0x00,0x00,0xf8,0xd8,0x00,0x00,0x00,0x05]
1335 ds_append v5 offset:0
1336 // CHECK: [0x00,0x00,0xf8,0xd8,0x00,0x00,0x00,0x05]
1338 ds_append v5 offset:4
1339 // CHECK: [0x04,0x00,0xf8,0xd8,0x00,0x00,0x00,0x05]
1341 ds_append v5 offset:65535 gds
1342 // CHECK: [0xff,0xff,0xfa,0xd8,0x00,0x00,0x00,0x05]
1344 ds_ordered_count v5, v1 offset:65535 gds
1345 // CHECK: [0xff,0xff,0xfe,0xd8,0x01,0x00,0x00,0x05]
1347 ds_ordered_count v255, v1 offset:65535 gds
1348 // CHECK: [0xff,0xff,0xfe,0xd8,0x01,0x00,0x00,0xff]
1350 ds_ordered_count v5, v255 offset:65535 gds
1351 // CHECK: [0xff,0xff,0xfe,0xd8,0xff,0x00,0x00,0x05]
1353 ds_ordered_count v5, v1 gds
1354 // CHECK: [0x00,0x00,0xfe,0xd8,0x01,0x00,0x00,0x05]
1356 ds_ordered_count v5, v1 offset:0 gds
1357 // CHECK: [0x00,0x00,0xfe,0xd8,0x01,0x00,0x00,0x05]
1359 ds_ordered_count v5, v1 offset:4 gds
1360 // CHECK: [0x04,0x00,0xfe,0xd8,0x01,0x00,0x00,0x05]
1362 ds_add_u64 v1, v[2:3] offset:65535
1363 // CHECK: [0xff,0xff,0x00,0xd9,0x01,0x02,0x00,0x00]
1365 ds_add_u64 v255, v[2:3] offset:65535
1366 // CHECK: [0xff,0xff,0x00,0xd9,0xff,0x02,0x00,0x00]
1368 ds_add_u64 v1, v[254:255] offset:65535
1369 // CHECK: [0xff,0xff,0x00,0xd9,0x01,0xfe,0x00,0x00]
1371 ds_add_u64 v1, v[2:3]
1372 // CHECK: [0x00,0x00,0x00,0xd9,0x01,0x02,0x00,0x00]
1374 ds_add_u64 v1, v[2:3] offset:0
1375 // CHECK: [0x00,0x00,0x00,0xd9,0x01,0x02,0x00,0x00]
1377 ds_add_u64 v1, v[2:3] offset:4
1378 // CHECK: [0x04,0x00,0x00,0xd9,0x01,0x02,0x00,0x00]
1380 ds_add_u64 v1, v[2:3] offset:65535 gds
1381 // CHECK: [0xff,0xff,0x02,0xd9,0x01,0x02,0x00,0x00]
1383 ds_sub_u64 v1, v[2:3] offset:65535
1384 // CHECK: [0xff,0xff,0x04,0xd9,0x01,0x02,0x00,0x00]
1386 ds_sub_u64 v255, v[2:3] offset:65535
1387 // CHECK: [0xff,0xff,0x04,0xd9,0xff,0x02,0x00,0x00]
1389 ds_sub_u64 v1, v[254:255] offset:65535
1390 // CHECK: [0xff,0xff,0x04,0xd9,0x01,0xfe,0x00,0x00]
1392 ds_sub_u64 v1, v[2:3]
1393 // CHECK: [0x00,0x00,0x04,0xd9,0x01,0x02,0x00,0x00]
1395 ds_sub_u64 v1, v[2:3] offset:0
1396 // CHECK: [0x00,0x00,0x04,0xd9,0x01,0x02,0x00,0x00]
1398 ds_sub_u64 v1, v[2:3] offset:4
1399 // CHECK: [0x04,0x00,0x04,0xd9,0x01,0x02,0x00,0x00]
1401 ds_sub_u64 v1, v[2:3] offset:65535 gds
1402 // CHECK: [0xff,0xff,0x06,0xd9,0x01,0x02,0x00,0x00]
1404 ds_rsub_u64 v1, v[2:3] offset:65535
1405 // CHECK: [0xff,0xff,0x08,0xd9,0x01,0x02,0x00,0x00]
1407 ds_rsub_u64 v255, v[2:3] offset:65535
1408 // CHECK: [0xff,0xff,0x08,0xd9,0xff,0x02,0x00,0x00]
1410 ds_rsub_u64 v1, v[254:255] offset:65535
1411 // CHECK: [0xff,0xff,0x08,0xd9,0x01,0xfe,0x00,0x00]
1413 ds_rsub_u64 v1, v[2:3]
1414 // CHECK: [0x00,0x00,0x08,0xd9,0x01,0x02,0x00,0x00]
1416 ds_rsub_u64 v1, v[2:3] offset:0
1417 // CHECK: [0x00,0x00,0x08,0xd9,0x01,0x02,0x00,0x00]
1419 ds_rsub_u64 v1, v[2:3] offset:4
1420 // CHECK: [0x04,0x00,0x08,0xd9,0x01,0x02,0x00,0x00]
1422 ds_rsub_u64 v1, v[2:3] offset:65535 gds
1423 // CHECK: [0xff,0xff,0x0a,0xd9,0x01,0x02,0x00,0x00]
1425 ds_inc_u64 v1, v[2:3] offset:65535
1426 // CHECK: [0xff,0xff,0x0c,0xd9,0x01,0x02,0x00,0x00]
1428 ds_inc_u64 v255, v[2:3] offset:65535
1429 // CHECK: [0xff,0xff,0x0c,0xd9,0xff,0x02,0x00,0x00]
1431 ds_inc_u64 v1, v[254:255] offset:65535
1432 // CHECK: [0xff,0xff,0x0c,0xd9,0x01,0xfe,0x00,0x00]
1434 ds_inc_u64 v1, v[2:3]
1435 // CHECK: [0x00,0x00,0x0c,0xd9,0x01,0x02,0x00,0x00]
1437 ds_inc_u64 v1, v[2:3] offset:0
1438 // CHECK: [0x00,0x00,0x0c,0xd9,0x01,0x02,0x00,0x00]
1440 ds_inc_u64 v1, v[2:3] offset:4
1441 // CHECK: [0x04,0x00,0x0c,0xd9,0x01,0x02,0x00,0x00]
1443 ds_inc_u64 v1, v[2:3] offset:65535 gds
1444 // CHECK: [0xff,0xff,0x0e,0xd9,0x01,0x02,0x00,0x00]
1446 ds_dec_u64 v1, v[2:3] offset:65535
1447 // CHECK: [0xff,0xff,0x10,0xd9,0x01,0x02,0x00,0x00]
1449 ds_dec_u64 v255, v[2:3] offset:65535
1450 // CHECK: [0xff,0xff,0x10,0xd9,0xff,0x02,0x00,0x00]
1452 ds_dec_u64 v1, v[254:255] offset:65535
1453 // CHECK: [0xff,0xff,0x10,0xd9,0x01,0xfe,0x00,0x00]
1455 ds_dec_u64 v1, v[2:3]
1456 // CHECK: [0x00,0x00,0x10,0xd9,0x01,0x02,0x00,0x00]
1458 ds_dec_u64 v1, v[2:3] offset:0
1459 // CHECK: [0x00,0x00,0x10,0xd9,0x01,0x02,0x00,0x00]
1461 ds_dec_u64 v1, v[2:3] offset:4
1462 // CHECK: [0x04,0x00,0x10,0xd9,0x01,0x02,0x00,0x00]
1464 ds_dec_u64 v1, v[2:3] offset:65535 gds
1465 // CHECK: [0xff,0xff,0x12,0xd9,0x01,0x02,0x00,0x00]
1467 ds_min_i64 v1, v[2:3] offset:65535
1468 // CHECK: [0xff,0xff,0x14,0xd9,0x01,0x02,0x00,0x00]
1470 ds_min_i64 v255, v[2:3] offset:65535
1471 // CHECK: [0xff,0xff,0x14,0xd9,0xff,0x02,0x00,0x00]
1473 ds_min_i64 v1, v[254:255] offset:65535
1474 // CHECK: [0xff,0xff,0x14,0xd9,0x01,0xfe,0x00,0x00]
1476 ds_min_i64 v1, v[2:3]
1477 // CHECK: [0x00,0x00,0x14,0xd9,0x01,0x02,0x00,0x00]
1479 ds_min_i64 v1, v[2:3] offset:0
1480 // CHECK: [0x00,0x00,0x14,0xd9,0x01,0x02,0x00,0x00]
1482 ds_min_i64 v1, v[2:3] offset:4
1483 // CHECK: [0x04,0x00,0x14,0xd9,0x01,0x02,0x00,0x00]
1485 ds_min_i64 v1, v[2:3] offset:65535 gds
1486 // CHECK: [0xff,0xff,0x16,0xd9,0x01,0x02,0x00,0x00]
1488 ds_max_i64 v1, v[2:3] offset:65535
1489 // CHECK: [0xff,0xff,0x18,0xd9,0x01,0x02,0x00,0x00]
1491 ds_max_i64 v255, v[2:3] offset:65535
1492 // CHECK: [0xff,0xff,0x18,0xd9,0xff,0x02,0x00,0x00]
1494 ds_max_i64 v1, v[254:255] offset:65535
1495 // CHECK: [0xff,0xff,0x18,0xd9,0x01,0xfe,0x00,0x00]
1497 ds_max_i64 v1, v[2:3]
1498 // CHECK: [0x00,0x00,0x18,0xd9,0x01,0x02,0x00,0x00]
1500 ds_max_i64 v1, v[2:3] offset:0
1501 // CHECK: [0x00,0x00,0x18,0xd9,0x01,0x02,0x00,0x00]
1503 ds_max_i64 v1, v[2:3] offset:4
1504 // CHECK: [0x04,0x00,0x18,0xd9,0x01,0x02,0x00,0x00]
1506 ds_max_i64 v1, v[2:3] offset:65535 gds
1507 // CHECK: [0xff,0xff,0x1a,0xd9,0x01,0x02,0x00,0x00]
1509 ds_min_u64 v1, v[2:3] offset:65535
1510 // CHECK: [0xff,0xff,0x1c,0xd9,0x01,0x02,0x00,0x00]
1512 ds_min_u64 v255, v[2:3] offset:65535
1513 // CHECK: [0xff,0xff,0x1c,0xd9,0xff,0x02,0x00,0x00]
1515 ds_min_u64 v1, v[254:255] offset:65535
1516 // CHECK: [0xff,0xff,0x1c,0xd9,0x01,0xfe,0x00,0x00]
1518 ds_min_u64 v1, v[2:3]
1519 // CHECK: [0x00,0x00,0x1c,0xd9,0x01,0x02,0x00,0x00]
1521 ds_min_u64 v1, v[2:3] offset:0
1522 // CHECK: [0x00,0x00,0x1c,0xd9,0x01,0x02,0x00,0x00]
1524 ds_min_u64 v1, v[2:3] offset:4
1525 // CHECK: [0x04,0x00,0x1c,0xd9,0x01,0x02,0x00,0x00]
1527 ds_min_u64 v1, v[2:3] offset:65535 gds
1528 // CHECK: [0xff,0xff,0x1e,0xd9,0x01,0x02,0x00,0x00]
1530 ds_max_u64 v1, v[2:3] offset:65535
1531 // CHECK: [0xff,0xff,0x20,0xd9,0x01,0x02,0x00,0x00]
1533 ds_max_u64 v255, v[2:3] offset:65535
1534 // CHECK: [0xff,0xff,0x20,0xd9,0xff,0x02,0x00,0x00]
1536 ds_max_u64 v1, v[254:255] offset:65535
1537 // CHECK: [0xff,0xff,0x20,0xd9,0x01,0xfe,0x00,0x00]
1539 ds_max_u64 v1, v[2:3]
1540 // CHECK: [0x00,0x00,0x20,0xd9,0x01,0x02,0x00,0x00]
1542 ds_max_u64 v1, v[2:3] offset:0
1543 // CHECK: [0x00,0x00,0x20,0xd9,0x01,0x02,0x00,0x00]
1545 ds_max_u64 v1, v[2:3] offset:4
1546 // CHECK: [0x04,0x00,0x20,0xd9,0x01,0x02,0x00,0x00]
1548 ds_max_u64 v1, v[2:3] offset:65535 gds
1549 // CHECK: [0xff,0xff,0x22,0xd9,0x01,0x02,0x00,0x00]
1551 ds_and_b64 v1, v[2:3] offset:65535
1552 // CHECK: [0xff,0xff,0x24,0xd9,0x01,0x02,0x00,0x00]
1554 ds_and_b64 v255, v[2:3] offset:65535
1555 // CHECK: [0xff,0xff,0x24,0xd9,0xff,0x02,0x00,0x00]
1557 ds_and_b64 v1, v[254:255] offset:65535
1558 // CHECK: [0xff,0xff,0x24,0xd9,0x01,0xfe,0x00,0x00]
1560 ds_and_b64 v1, v[2:3]
1561 // CHECK: [0x00,0x00,0x24,0xd9,0x01,0x02,0x00,0x00]
1563 ds_and_b64 v1, v[2:3] offset:0
1564 // CHECK: [0x00,0x00,0x24,0xd9,0x01,0x02,0x00,0x00]
1566 ds_and_b64 v1, v[2:3] offset:4
1567 // CHECK: [0x04,0x00,0x24,0xd9,0x01,0x02,0x00,0x00]
1569 ds_and_b64 v1, v[2:3] offset:65535 gds
1570 // CHECK: [0xff,0xff,0x26,0xd9,0x01,0x02,0x00,0x00]
1572 ds_or_b64 v1, v[2:3] offset:65535
1573 // CHECK: [0xff,0xff,0x28,0xd9,0x01,0x02,0x00,0x00]
1575 ds_or_b64 v255, v[2:3] offset:65535
1576 // CHECK: [0xff,0xff,0x28,0xd9,0xff,0x02,0x00,0x00]
1578 ds_or_b64 v1, v[254:255] offset:65535
1579 // CHECK: [0xff,0xff,0x28,0xd9,0x01,0xfe,0x00,0x00]
1581 ds_or_b64 v1, v[2:3]
1582 // CHECK: [0x00,0x00,0x28,0xd9,0x01,0x02,0x00,0x00]
1584 ds_or_b64 v1, v[2:3] offset:0
1585 // CHECK: [0x00,0x00,0x28,0xd9,0x01,0x02,0x00,0x00]
1587 ds_or_b64 v1, v[2:3] offset:4
1588 // CHECK: [0x04,0x00,0x28,0xd9,0x01,0x02,0x00,0x00]
1590 ds_or_b64 v1, v[2:3] offset:65535 gds
1591 // CHECK: [0xff,0xff,0x2a,0xd9,0x01,0x02,0x00,0x00]
1593 ds_xor_b64 v1, v[2:3] offset:65535
1594 // CHECK: [0xff,0xff,0x2c,0xd9,0x01,0x02,0x00,0x00]
1596 ds_xor_b64 v255, v[2:3] offset:65535
1597 // CHECK: [0xff,0xff,0x2c,0xd9,0xff,0x02,0x00,0x00]
1599 ds_xor_b64 v1, v[254:255] offset:65535
1600 // CHECK: [0xff,0xff,0x2c,0xd9,0x01,0xfe,0x00,0x00]
1602 ds_xor_b64 v1, v[2:3]
1603 // CHECK: [0x00,0x00,0x2c,0xd9,0x01,0x02,0x00,0x00]
1605 ds_xor_b64 v1, v[2:3] offset:0
1606 // CHECK: [0x00,0x00,0x2c,0xd9,0x01,0x02,0x00,0x00]
1608 ds_xor_b64 v1, v[2:3] offset:4
1609 // CHECK: [0x04,0x00,0x2c,0xd9,0x01,0x02,0x00,0x00]
1611 ds_xor_b64 v1, v[2:3] offset:65535 gds
1612 // CHECK: [0xff,0xff,0x2e,0xd9,0x01,0x02,0x00,0x00]
1614 ds_mskor_b64 v1, v[2:3], v[3:4] offset:65535
1615 // CHECK: [0xff,0xff,0x30,0xd9,0x01,0x02,0x03,0x00]
1617 ds_mskor_b64 v255, v[2:3], v[3:4] offset:65535
1618 // CHECK: [0xff,0xff,0x30,0xd9,0xff,0x02,0x03,0x00]
1620 ds_mskor_b64 v1, v[254:255], v[3:4] offset:65535
1621 // CHECK: [0xff,0xff,0x30,0xd9,0x01,0xfe,0x03,0x00]
1623 ds_mskor_b64 v1, v[2:3], v[254:255] offset:65535
1624 // CHECK: [0xff,0xff,0x30,0xd9,0x01,0x02,0xfe,0x00]
1626 ds_mskor_b64 v1, v[2:3], v[3:4]
1627 // CHECK: [0x00,0x00,0x30,0xd9,0x01,0x02,0x03,0x00]
1629 ds_mskor_b64 v1, v[2:3], v[3:4] offset:0
1630 // CHECK: [0x00,0x00,0x30,0xd9,0x01,0x02,0x03,0x00]
1632 ds_mskor_b64 v1, v[2:3], v[3:4] offset:4
1633 // CHECK: [0x04,0x00,0x30,0xd9,0x01,0x02,0x03,0x00]
1635 ds_mskor_b64 v1, v[2:3], v[3:4] offset:65535 gds
1636 // CHECK: [0xff,0xff,0x32,0xd9,0x01,0x02,0x03,0x00]
1638 ds_write_b64 v1, v[2:3] offset:65535
1639 // CHECK: [0xff,0xff,0x34,0xd9,0x01,0x02,0x00,0x00]
1641 ds_write_b64 v255, v[2:3] offset:65535
1642 // CHECK: [0xff,0xff,0x34,0xd9,0xff,0x02,0x00,0x00]
1644 ds_write_b64 v1, v[254:255] offset:65535
1645 // CHECK: [0xff,0xff,0x34,0xd9,0x01,0xfe,0x00,0x00]
1647 ds_write_b64 v1, v[2:3]
1648 // CHECK: [0x00,0x00,0x34,0xd9,0x01,0x02,0x00,0x00]
1650 ds_write_b64 v1, v[2:3] offset:0
1651 // CHECK: [0x00,0x00,0x34,0xd9,0x01,0x02,0x00,0x00]
1653 ds_write_b64 v1, v[2:3] offset:4
1654 // CHECK: [0x04,0x00,0x34,0xd9,0x01,0x02,0x00,0x00]
1656 ds_write_b64 v1, v[2:3] offset:65535 gds
1657 // CHECK: [0xff,0xff,0x36,0xd9,0x01,0x02,0x00,0x00]
1659 ds_write2_b64 v1, v[2:3], v[3:4] offset0:127 offset1:255
1660 // CHECK: [0x7f,0xff,0x38,0xd9,0x01,0x02,0x03,0x00]
1662 ds_write2_b64 v255, v[2:3], v[3:4] offset0:127 offset1:255
1663 // CHECK: [0x7f,0xff,0x38,0xd9,0xff,0x02,0x03,0x00]
1665 ds_write2_b64 v1, v[254:255], v[3:4] offset0:127 offset1:255
1666 // CHECK: [0x7f,0xff,0x38,0xd9,0x01,0xfe,0x03,0x00]
1668 ds_write2_b64 v1, v[2:3], v[254:255] offset0:127 offset1:255
1669 // CHECK: [0x7f,0xff,0x38,0xd9,0x01,0x02,0xfe,0x00]
1671 ds_write2_b64 v1, v[2:3], v[3:4] offset1:255
1672 // CHECK: [0x00,0xff,0x38,0xd9,0x01,0x02,0x03,0x00]
1674 ds_write2_b64 v1, v[2:3], v[3:4] offset0:0 offset1:255
1675 // CHECK: [0x00,0xff,0x38,0xd9,0x01,0x02,0x03,0x00]
1677 ds_write2_b64 v1, v[2:3], v[3:4] offset0:16 offset1:255
1678 // CHECK: [0x10,0xff,0x38,0xd9,0x01,0x02,0x03,0x00]
1680 ds_write2_b64 v1, v[2:3], v[3:4] offset0:127
1681 // CHECK: [0x7f,0x00,0x38,0xd9,0x01,0x02,0x03,0x00]
1683 ds_write2_b64 v1, v[2:3], v[3:4] offset0:127 offset1:0
1684 // CHECK: [0x7f,0x00,0x38,0xd9,0x01,0x02,0x03,0x00]
1686 ds_write2_b64 v1, v[2:3], v[3:4] offset0:127 offset1:1
1687 // CHECK: [0x7f,0x01,0x38,0xd9,0x01,0x02,0x03,0x00]
1689 ds_write2_b64 v1, v[2:3], v[3:4] offset0:127 offset1:255 gds
1690 // CHECK: [0x7f,0xff,0x3a,0xd9,0x01,0x02,0x03,0x00]
1692 ds_write2st64_b64 v1, v[2:3], v[3:4] offset0:127 offset1:255
1693 // CHECK: [0x7f,0xff,0x3c,0xd9,0x01,0x02,0x03,0x00]
1695 ds_write2st64_b64 v255, v[2:3], v[3:4] offset0:127 offset1:255
1696 // CHECK: [0x7f,0xff,0x3c,0xd9,0xff,0x02,0x03,0x00]
1698 ds_write2st64_b64 v1, v[254:255], v[3:4] offset0:127 offset1:255
1699 // CHECK: [0x7f,0xff,0x3c,0xd9,0x01,0xfe,0x03,0x00]
1701 ds_write2st64_b64 v1, v[2:3], v[254:255] offset0:127 offset1:255
1702 // CHECK: [0x7f,0xff,0x3c,0xd9,0x01,0x02,0xfe,0x00]
1704 ds_write2st64_b64 v1, v[2:3], v[3:4] offset1:255
1705 // CHECK: [0x00,0xff,0x3c,0xd9,0x01,0x02,0x03,0x00]
1707 ds_write2st64_b64 v1, v[2:3], v[3:4] offset0:0 offset1:255
1708 // CHECK: [0x00,0xff,0x3c,0xd9,0x01,0x02,0x03,0x00]
1710 ds_write2st64_b64 v1, v[2:3], v[3:4] offset0:16 offset1:255
1711 // CHECK: [0x10,0xff,0x3c,0xd9,0x01,0x02,0x03,0x00]
1713 ds_write2st64_b64 v1, v[2:3], v[3:4] offset0:127
1714 // CHECK: [0x7f,0x00,0x3c,0xd9,0x01,0x02,0x03,0x00]
1716 ds_write2st64_b64 v1, v[2:3], v[3:4] offset0:127 offset1:0
1717 // CHECK: [0x7f,0x00,0x3c,0xd9,0x01,0x02,0x03,0x00]
1719 ds_write2st64_b64 v1, v[2:3], v[3:4] offset0:127 offset1:1
1720 // CHECK: [0x7f,0x01,0x3c,0xd9,0x01,0x02,0x03,0x00]
1722 ds_write2st64_b64 v1, v[2:3], v[3:4] offset0:127 offset1:255 gds
1723 // CHECK: [0x7f,0xff,0x3e,0xd9,0x01,0x02,0x03,0x00]
1725 ds_cmpst_b64 v1, v[2:3], v[3:4] offset:65535
1726 // CHECK: [0xff,0xff,0x40,0xd9,0x01,0x02,0x03,0x00]
1728 ds_cmpst_b64 v255, v[2:3], v[3:4] offset:65535
1729 // CHECK: [0xff,0xff,0x40,0xd9,0xff,0x02,0x03,0x00]
1731 ds_cmpst_b64 v1, v[254:255], v[3:4] offset:65535
1732 // CHECK: [0xff,0xff,0x40,0xd9,0x01,0xfe,0x03,0x00]
1734 ds_cmpst_b64 v1, v[2:3], v[254:255] offset:65535
1735 // CHECK: [0xff,0xff,0x40,0xd9,0x01,0x02,0xfe,0x00]
1737 ds_cmpst_b64 v1, v[2:3], v[3:4]
1738 // CHECK: [0x00,0x00,0x40,0xd9,0x01,0x02,0x03,0x00]
1740 ds_cmpst_b64 v1, v[2:3], v[3:4] offset:0
1741 // CHECK: [0x00,0x00,0x40,0xd9,0x01,0x02,0x03,0x00]
1743 ds_cmpst_b64 v1, v[2:3], v[3:4] offset:4
1744 // CHECK: [0x04,0x00,0x40,0xd9,0x01,0x02,0x03,0x00]
1746 ds_cmpst_b64 v1, v[2:3], v[3:4] offset:65535 gds
1747 // CHECK: [0xff,0xff,0x42,0xd9,0x01,0x02,0x03,0x00]
1749 ds_cmpst_f64 v1, v[2:3], v[3:4] offset:65535
1750 // CHECK: [0xff,0xff,0x44,0xd9,0x01,0x02,0x03,0x00]
1752 ds_cmpst_f64 v255, v[2:3], v[3:4] offset:65535
1753 // CHECK: [0xff,0xff,0x44,0xd9,0xff,0x02,0x03,0x00]
1755 ds_cmpst_f64 v1, v[254:255], v[3:4] offset:65535
1756 // CHECK: [0xff,0xff,0x44,0xd9,0x01,0xfe,0x03,0x00]
1758 ds_cmpst_f64 v1, v[2:3], v[254:255] offset:65535
1759 // CHECK: [0xff,0xff,0x44,0xd9,0x01,0x02,0xfe,0x00]
1761 ds_cmpst_f64 v1, v[2:3], v[3:4]
1762 // CHECK: [0x00,0x00,0x44,0xd9,0x01,0x02,0x03,0x00]
1764 ds_cmpst_f64 v1, v[2:3], v[3:4] offset:0
1765 // CHECK: [0x00,0x00,0x44,0xd9,0x01,0x02,0x03,0x00]
1767 ds_cmpst_f64 v1, v[2:3], v[3:4] offset:4
1768 // CHECK: [0x04,0x00,0x44,0xd9,0x01,0x02,0x03,0x00]
1770 ds_cmpst_f64 v1, v[2:3], v[3:4] offset:65535 gds
1771 // CHECK: [0xff,0xff,0x46,0xd9,0x01,0x02,0x03,0x00]
1773 ds_min_f64 v1, v[2:3] offset:65535
1774 // CHECK: [0xff,0xff,0x48,0xd9,0x01,0x02,0x00,0x00]
1776 ds_min_f64 v255, v[2:3] offset:65535
1777 // CHECK: [0xff,0xff,0x48,0xd9,0xff,0x02,0x00,0x00]
1779 ds_min_f64 v1, v[254:255] offset:65535
1780 // CHECK: [0xff,0xff,0x48,0xd9,0x01,0xfe,0x00,0x00]
1782 ds_min_f64 v1, v[2:3]
1783 // CHECK: [0x00,0x00,0x48,0xd9,0x01,0x02,0x00,0x00]
1785 ds_min_f64 v1, v[2:3] offset:0
1786 // CHECK: [0x00,0x00,0x48,0xd9,0x01,0x02,0x00,0x00]
1788 ds_min_f64 v1, v[2:3] offset:4
1789 // CHECK: [0x04,0x00,0x48,0xd9,0x01,0x02,0x00,0x00]
1791 ds_min_f64 v1, v[2:3] offset:65535 gds
1792 // CHECK: [0xff,0xff,0x4a,0xd9,0x01,0x02,0x00,0x00]
1794 ds_max_f64 v1, v[2:3] offset:65535
1795 // CHECK: [0xff,0xff,0x4c,0xd9,0x01,0x02,0x00,0x00]
1797 ds_max_f64 v255, v[2:3] offset:65535
1798 // CHECK: [0xff,0xff,0x4c,0xd9,0xff,0x02,0x00,0x00]
1800 ds_max_f64 v1, v[254:255] offset:65535
1801 // CHECK: [0xff,0xff,0x4c,0xd9,0x01,0xfe,0x00,0x00]
1803 ds_max_f64 v1, v[2:3]
1804 // CHECK: [0x00,0x00,0x4c,0xd9,0x01,0x02,0x00,0x00]
1806 ds_max_f64 v1, v[2:3] offset:0
1807 // CHECK: [0x00,0x00,0x4c,0xd9,0x01,0x02,0x00,0x00]
1809 ds_max_f64 v1, v[2:3] offset:4
1810 // CHECK: [0x04,0x00,0x4c,0xd9,0x01,0x02,0x00,0x00]
1812 ds_max_f64 v1, v[2:3] offset:65535 gds
1813 // CHECK: [0xff,0xff,0x4e,0xd9,0x01,0x02,0x00,0x00]
1815 ds_add_rtn_u64 v[5:6], v1, v[2:3] offset:65535
1816 // CHECK: [0xff,0xff,0x80,0xd9,0x01,0x02,0x00,0x05]
1818 ds_add_rtn_u64 v[254:255], v1, v[2:3] offset:65535
1819 // CHECK: [0xff,0xff,0x80,0xd9,0x01,0x02,0x00,0xfe]
1821 ds_add_rtn_u64 v[5:6], v255, v[2:3] offset:65535
1822 // CHECK: [0xff,0xff,0x80,0xd9,0xff,0x02,0x00,0x05]
1824 ds_add_rtn_u64 v[5:6], v1, v[254:255] offset:65535
1825 // CHECK: [0xff,0xff,0x80,0xd9,0x01,0xfe,0x00,0x05]
1827 ds_add_rtn_u64 v[5:6], v1, v[2:3]
1828 // CHECK: [0x00,0x00,0x80,0xd9,0x01,0x02,0x00,0x05]
1830 ds_add_rtn_u64 v[5:6], v1, v[2:3] offset:0
1831 // CHECK: [0x00,0x00,0x80,0xd9,0x01,0x02,0x00,0x05]
1833 ds_add_rtn_u64 v[5:6], v1, v[2:3] offset:4
1834 // CHECK: [0x04,0x00,0x80,0xd9,0x01,0x02,0x00,0x05]
1836 ds_add_rtn_u64 v[5:6], v1, v[2:3] offset:65535 gds
1837 // CHECK: [0xff,0xff,0x82,0xd9,0x01,0x02,0x00,0x05]
1839 ds_sub_rtn_u64 v[5:6], v1, v[2:3] offset:65535
1840 // CHECK: [0xff,0xff,0x84,0xd9,0x01,0x02,0x00,0x05]
1842 ds_sub_rtn_u64 v[254:255], v1, v[2:3] offset:65535
1843 // CHECK: [0xff,0xff,0x84,0xd9,0x01,0x02,0x00,0xfe]
1845 ds_sub_rtn_u64 v[5:6], v255, v[2:3] offset:65535
1846 // CHECK: [0xff,0xff,0x84,0xd9,0xff,0x02,0x00,0x05]
1848 ds_sub_rtn_u64 v[5:6], v1, v[254:255] offset:65535
1849 // CHECK: [0xff,0xff,0x84,0xd9,0x01,0xfe,0x00,0x05]
1851 ds_sub_rtn_u64 v[5:6], v1, v[2:3]
1852 // CHECK: [0x00,0x00,0x84,0xd9,0x01,0x02,0x00,0x05]
1854 ds_sub_rtn_u64 v[5:6], v1, v[2:3] offset:0
1855 // CHECK: [0x00,0x00,0x84,0xd9,0x01,0x02,0x00,0x05]
1857 ds_sub_rtn_u64 v[5:6], v1, v[2:3] offset:4
1858 // CHECK: [0x04,0x00,0x84,0xd9,0x01,0x02,0x00,0x05]
1860 ds_sub_rtn_u64 v[5:6], v1, v[2:3] offset:65535 gds
1861 // CHECK: [0xff,0xff,0x86,0xd9,0x01,0x02,0x00,0x05]
1863 ds_rsub_rtn_u64 v[5:6], v1, v[2:3] offset:65535
1864 // CHECK: [0xff,0xff,0x88,0xd9,0x01,0x02,0x00,0x05]
1866 ds_rsub_rtn_u64 v[254:255], v1, v[2:3] offset:65535
1867 // CHECK: [0xff,0xff,0x88,0xd9,0x01,0x02,0x00,0xfe]
1869 ds_rsub_rtn_u64 v[5:6], v255, v[2:3] offset:65535
1870 // CHECK: [0xff,0xff,0x88,0xd9,0xff,0x02,0x00,0x05]
1872 ds_rsub_rtn_u64 v[5:6], v1, v[254:255] offset:65535
1873 // CHECK: [0xff,0xff,0x88,0xd9,0x01,0xfe,0x00,0x05]
1875 ds_rsub_rtn_u64 v[5:6], v1, v[2:3]
1876 // CHECK: [0x00,0x00,0x88,0xd9,0x01,0x02,0x00,0x05]
1878 ds_rsub_rtn_u64 v[5:6], v1, v[2:3] offset:0
1879 // CHECK: [0x00,0x00,0x88,0xd9,0x01,0x02,0x00,0x05]
1881 ds_rsub_rtn_u64 v[5:6], v1, v[2:3] offset:4
1882 // CHECK: [0x04,0x00,0x88,0xd9,0x01,0x02,0x00,0x05]
1884 ds_rsub_rtn_u64 v[5:6], v1, v[2:3] offset:65535 gds
1885 // CHECK: [0xff,0xff,0x8a,0xd9,0x01,0x02,0x00,0x05]
1887 ds_inc_rtn_u64 v[5:6], v1, v[2:3] offset:65535
1888 // CHECK: [0xff,0xff,0x8c,0xd9,0x01,0x02,0x00,0x05]
1890 ds_inc_rtn_u64 v[254:255], v1, v[2:3] offset:65535
1891 // CHECK: [0xff,0xff,0x8c,0xd9,0x01,0x02,0x00,0xfe]
1893 ds_inc_rtn_u64 v[5:6], v255, v[2:3] offset:65535
1894 // CHECK: [0xff,0xff,0x8c,0xd9,0xff,0x02,0x00,0x05]
1896 ds_inc_rtn_u64 v[5:6], v1, v[254:255] offset:65535
1897 // CHECK: [0xff,0xff,0x8c,0xd9,0x01,0xfe,0x00,0x05]
1899 ds_inc_rtn_u64 v[5:6], v1, v[2:3]
1900 // CHECK: [0x00,0x00,0x8c,0xd9,0x01,0x02,0x00,0x05]
1902 ds_inc_rtn_u64 v[5:6], v1, v[2:3] offset:0
1903 // CHECK: [0x00,0x00,0x8c,0xd9,0x01,0x02,0x00,0x05]
1905 ds_inc_rtn_u64 v[5:6], v1, v[2:3] offset:4
1906 // CHECK: [0x04,0x00,0x8c,0xd9,0x01,0x02,0x00,0x05]
1908 ds_inc_rtn_u64 v[5:6], v1, v[2:3] offset:65535 gds
1909 // CHECK: [0xff,0xff,0x8e,0xd9,0x01,0x02,0x00,0x05]
1911 ds_dec_rtn_u64 v[5:6], v1, v[2:3] offset:65535
1912 // CHECK: [0xff,0xff,0x90,0xd9,0x01,0x02,0x00,0x05]
1914 ds_dec_rtn_u64 v[254:255], v1, v[2:3] offset:65535
1915 // CHECK: [0xff,0xff,0x90,0xd9,0x01,0x02,0x00,0xfe]
1917 ds_dec_rtn_u64 v[5:6], v255, v[2:3] offset:65535
1918 // CHECK: [0xff,0xff,0x90,0xd9,0xff,0x02,0x00,0x05]
1920 ds_dec_rtn_u64 v[5:6], v1, v[254:255] offset:65535
1921 // CHECK: [0xff,0xff,0x90,0xd9,0x01,0xfe,0x00,0x05]
1923 ds_dec_rtn_u64 v[5:6], v1, v[2:3]
1924 // CHECK: [0x00,0x00,0x90,0xd9,0x01,0x02,0x00,0x05]
1926 ds_dec_rtn_u64 v[5:6], v1, v[2:3] offset:0
1927 // CHECK: [0x00,0x00,0x90,0xd9,0x01,0x02,0x00,0x05]
1929 ds_dec_rtn_u64 v[5:6], v1, v[2:3] offset:4
1930 // CHECK: [0x04,0x00,0x90,0xd9,0x01,0x02,0x00,0x05]
1932 ds_dec_rtn_u64 v[5:6], v1, v[2:3] offset:65535 gds
1933 // CHECK: [0xff,0xff,0x92,0xd9,0x01,0x02,0x00,0x05]
1935 ds_min_rtn_i64 v[5:6], v1, v[2:3] offset:65535
1936 // CHECK: [0xff,0xff,0x94,0xd9,0x01,0x02,0x00,0x05]
1938 ds_min_rtn_i64 v[254:255], v1, v[2:3] offset:65535
1939 // CHECK: [0xff,0xff,0x94,0xd9,0x01,0x02,0x00,0xfe]
1941 ds_min_rtn_i64 v[5:6], v255, v[2:3] offset:65535
1942 // CHECK: [0xff,0xff,0x94,0xd9,0xff,0x02,0x00,0x05]
1944 ds_min_rtn_i64 v[5:6], v1, v[254:255] offset:65535
1945 // CHECK: [0xff,0xff,0x94,0xd9,0x01,0xfe,0x00,0x05]
1947 ds_min_rtn_i64 v[5:6], v1, v[2:3]
1948 // CHECK: [0x00,0x00,0x94,0xd9,0x01,0x02,0x00,0x05]
1950 ds_min_rtn_i64 v[5:6], v1, v[2:3] offset:0
1951 // CHECK: [0x00,0x00,0x94,0xd9,0x01,0x02,0x00,0x05]
1953 ds_min_rtn_i64 v[5:6], v1, v[2:3] offset:4
1954 // CHECK: [0x04,0x00,0x94,0xd9,0x01,0x02,0x00,0x05]
1956 ds_min_rtn_i64 v[5:6], v1, v[2:3] offset:65535 gds
1957 // CHECK: [0xff,0xff,0x96,0xd9,0x01,0x02,0x00,0x05]
1959 ds_max_rtn_i64 v[5:6], v1, v[2:3] offset:65535
1960 // CHECK: [0xff,0xff,0x98,0xd9,0x01,0x02,0x00,0x05]
1962 ds_max_rtn_i64 v[254:255], v1, v[2:3] offset:65535
1963 // CHECK: [0xff,0xff,0x98,0xd9,0x01,0x02,0x00,0xfe]
1965 ds_max_rtn_i64 v[5:6], v255, v[2:3] offset:65535
1966 // CHECK: [0xff,0xff,0x98,0xd9,0xff,0x02,0x00,0x05]
1968 ds_max_rtn_i64 v[5:6], v1, v[254:255] offset:65535
1969 // CHECK: [0xff,0xff,0x98,0xd9,0x01,0xfe,0x00,0x05]
1971 ds_max_rtn_i64 v[5:6], v1, v[2:3]
1972 // CHECK: [0x00,0x00,0x98,0xd9,0x01,0x02,0x00,0x05]
1974 ds_max_rtn_i64 v[5:6], v1, v[2:3] offset:0
1975 // CHECK: [0x00,0x00,0x98,0xd9,0x01,0x02,0x00,0x05]
1977 ds_max_rtn_i64 v[5:6], v1, v[2:3] offset:4
1978 // CHECK: [0x04,0x00,0x98,0xd9,0x01,0x02,0x00,0x05]
1980 ds_max_rtn_i64 v[5:6], v1, v[2:3] offset:65535 gds
1981 // CHECK: [0xff,0xff,0x9a,0xd9,0x01,0x02,0x00,0x05]
1983 ds_min_rtn_u64 v[5:6], v1, v[2:3] offset:65535
1984 // CHECK: [0xff,0xff,0x9c,0xd9,0x01,0x02,0x00,0x05]
1986 ds_min_rtn_u64 v[254:255], v1, v[2:3] offset:65535
1987 // CHECK: [0xff,0xff,0x9c,0xd9,0x01,0x02,0x00,0xfe]
1989 ds_min_rtn_u64 v[5:6], v255, v[2:3] offset:65535
1990 // CHECK: [0xff,0xff,0x9c,0xd9,0xff,0x02,0x00,0x05]
1992 ds_min_rtn_u64 v[5:6], v1, v[254:255] offset:65535
1993 // CHECK: [0xff,0xff,0x9c,0xd9,0x01,0xfe,0x00,0x05]
1995 ds_min_rtn_u64 v[5:6], v1, v[2:3]
1996 // CHECK: [0x00,0x00,0x9c,0xd9,0x01,0x02,0x00,0x05]
1998 ds_min_rtn_u64 v[5:6], v1, v[2:3] offset:0
1999 // CHECK: [0x00,0x00,0x9c,0xd9,0x01,0x02,0x00,0x05]
2001 ds_min_rtn_u64 v[5:6], v1, v[2:3] offset:4
2002 // CHECK: [0x04,0x00,0x9c,0xd9,0x01,0x02,0x00,0x05]
2004 ds_min_rtn_u64 v[5:6], v1, v[2:3] offset:65535 gds
2005 // CHECK: [0xff,0xff,0x9e,0xd9,0x01,0x02,0x00,0x05]
2007 ds_max_rtn_u64 v[5:6], v1, v[2:3] offset:65535
2008 // CHECK: [0xff,0xff,0xa0,0xd9,0x01,0x02,0x00,0x05]
2010 ds_max_rtn_u64 v[254:255], v1, v[2:3] offset:65535
2011 // CHECK: [0xff,0xff,0xa0,0xd9,0x01,0x02,0x00,0xfe]
2013 ds_max_rtn_u64 v[5:6], v255, v[2:3] offset:65535
2014 // CHECK: [0xff,0xff,0xa0,0xd9,0xff,0x02,0x00,0x05]
2016 ds_max_rtn_u64 v[5:6], v1, v[254:255] offset:65535
2017 // CHECK: [0xff,0xff,0xa0,0xd9,0x01,0xfe,0x00,0x05]
2019 ds_max_rtn_u64 v[5:6], v1, v[2:3]
2020 // CHECK: [0x00,0x00,0xa0,0xd9,0x01,0x02,0x00,0x05]
2022 ds_max_rtn_u64 v[5:6], v1, v[2:3] offset:0
2023 // CHECK: [0x00,0x00,0xa0,0xd9,0x01,0x02,0x00,0x05]
2025 ds_max_rtn_u64 v[5:6], v1, v[2:3] offset:4
2026 // CHECK: [0x04,0x00,0xa0,0xd9,0x01,0x02,0x00,0x05]
2028 ds_max_rtn_u64 v[5:6], v1, v[2:3] offset:65535 gds
2029 // CHECK: [0xff,0xff,0xa2,0xd9,0x01,0x02,0x00,0x05]
2031 ds_and_rtn_b64 v[5:6], v1, v[2:3] offset:65535
2032 // CHECK: [0xff,0xff,0xa4,0xd9,0x01,0x02,0x00,0x05]
2034 ds_and_rtn_b64 v[254:255], v1, v[2:3] offset:65535
2035 // CHECK: [0xff,0xff,0xa4,0xd9,0x01,0x02,0x00,0xfe]
2037 ds_and_rtn_b64 v[5:6], v255, v[2:3] offset:65535
2038 // CHECK: [0xff,0xff,0xa4,0xd9,0xff,0x02,0x00,0x05]
2040 ds_and_rtn_b64 v[5:6], v1, v[254:255] offset:65535
2041 // CHECK: [0xff,0xff,0xa4,0xd9,0x01,0xfe,0x00,0x05]
2043 ds_and_rtn_b64 v[5:6], v1, v[2:3]
2044 // CHECK: [0x00,0x00,0xa4,0xd9,0x01,0x02,0x00,0x05]
2046 ds_and_rtn_b64 v[5:6], v1, v[2:3] offset:0
2047 // CHECK: [0x00,0x00,0xa4,0xd9,0x01,0x02,0x00,0x05]
2049 ds_and_rtn_b64 v[5:6], v1, v[2:3] offset:4
2050 // CHECK: [0x04,0x00,0xa4,0xd9,0x01,0x02,0x00,0x05]
2052 ds_and_rtn_b64 v[5:6], v1, v[2:3] offset:65535 gds
2053 // CHECK: [0xff,0xff,0xa6,0xd9,0x01,0x02,0x00,0x05]
2055 ds_or_rtn_b64 v[5:6], v1, v[2:3] offset:65535
2056 // CHECK: [0xff,0xff,0xa8,0xd9,0x01,0x02,0x00,0x05]
2058 ds_or_rtn_b64 v[254:255], v1, v[2:3] offset:65535
2059 // CHECK: [0xff,0xff,0xa8,0xd9,0x01,0x02,0x00,0xfe]
2061 ds_or_rtn_b64 v[5:6], v255, v[2:3] offset:65535
2062 // CHECK: [0xff,0xff,0xa8,0xd9,0xff,0x02,0x00,0x05]
2064 ds_or_rtn_b64 v[5:6], v1, v[254:255] offset:65535
2065 // CHECK: [0xff,0xff,0xa8,0xd9,0x01,0xfe,0x00,0x05]
2067 ds_or_rtn_b64 v[5:6], v1, v[2:3]
2068 // CHECK: [0x00,0x00,0xa8,0xd9,0x01,0x02,0x00,0x05]
2070 ds_or_rtn_b64 v[5:6], v1, v[2:3] offset:0
2071 // CHECK: [0x00,0x00,0xa8,0xd9,0x01,0x02,0x00,0x05]
2073 ds_or_rtn_b64 v[5:6], v1, v[2:3] offset:4
2074 // CHECK: [0x04,0x00,0xa8,0xd9,0x01,0x02,0x00,0x05]
2076 ds_or_rtn_b64 v[5:6], v1, v[2:3] offset:65535 gds
2077 // CHECK: [0xff,0xff,0xaa,0xd9,0x01,0x02,0x00,0x05]
2079 ds_xor_rtn_b64 v[5:6], v1, v[2:3] offset:65535
2080 // CHECK: [0xff,0xff,0xac,0xd9,0x01,0x02,0x00,0x05]
2082 ds_xor_rtn_b64 v[254:255], v1, v[2:3] offset:65535
2083 // CHECK: [0xff,0xff,0xac,0xd9,0x01,0x02,0x00,0xfe]
2085 ds_xor_rtn_b64 v[5:6], v255, v[2:3] offset:65535
2086 // CHECK: [0xff,0xff,0xac,0xd9,0xff,0x02,0x00,0x05]
2088 ds_xor_rtn_b64 v[5:6], v1, v[254:255] offset:65535
2089 // CHECK: [0xff,0xff,0xac,0xd9,0x01,0xfe,0x00,0x05]
2091 ds_xor_rtn_b64 v[5:6], v1, v[2:3]
2092 // CHECK: [0x00,0x00,0xac,0xd9,0x01,0x02,0x00,0x05]
2094 ds_xor_rtn_b64 v[5:6], v1, v[2:3] offset:0
2095 // CHECK: [0x00,0x00,0xac,0xd9,0x01,0x02,0x00,0x05]
2097 ds_xor_rtn_b64 v[5:6], v1, v[2:3] offset:4
2098 // CHECK: [0x04,0x00,0xac,0xd9,0x01,0x02,0x00,0x05]
2100 ds_xor_rtn_b64 v[5:6], v1, v[2:3] offset:65535 gds
2101 // CHECK: [0xff,0xff,0xae,0xd9,0x01,0x02,0x00,0x05]
2103 ds_mskor_rtn_b64 v[5:6], v1, v[2:3], v[3:4] offset:65535
2104 // CHECK: [0xff,0xff,0xb0,0xd9,0x01,0x02,0x03,0x05]
2106 ds_mskor_rtn_b64 v[254:255], v1, v[2:3], v[3:4] offset:65535
2107 // CHECK: [0xff,0xff,0xb0,0xd9,0x01,0x02,0x03,0xfe]
2109 ds_mskor_rtn_b64 v[5:6], v255, v[2:3], v[3:4] offset:65535
2110 // CHECK: [0xff,0xff,0xb0,0xd9,0xff,0x02,0x03,0x05]
2112 ds_mskor_rtn_b64 v[5:6], v1, v[254:255], v[3:4] offset:65535
2113 // CHECK: [0xff,0xff,0xb0,0xd9,0x01,0xfe,0x03,0x05]
2115 ds_mskor_rtn_b64 v[5:6], v1, v[2:3], v[254:255] offset:65535
2116 // CHECK: [0xff,0xff,0xb0,0xd9,0x01,0x02,0xfe,0x05]
2118 ds_mskor_rtn_b64 v[5:6], v1, v[2:3], v[3:4]
2119 // CHECK: [0x00,0x00,0xb0,0xd9,0x01,0x02,0x03,0x05]
2121 ds_mskor_rtn_b64 v[5:6], v1, v[2:3], v[3:4] offset:0
2122 // CHECK: [0x00,0x00,0xb0,0xd9,0x01,0x02,0x03,0x05]
2124 ds_mskor_rtn_b64 v[5:6], v1, v[2:3], v[3:4] offset:4
2125 // CHECK: [0x04,0x00,0xb0,0xd9,0x01,0x02,0x03,0x05]
2127 ds_mskor_rtn_b64 v[5:6], v1, v[2:3], v[3:4] offset:65535 gds
2128 // CHECK: [0xff,0xff,0xb2,0xd9,0x01,0x02,0x03,0x05]
2130 ds_wrxchg_rtn_b64 v[5:6], v1, v[2:3] offset:65535
2131 // CHECK: [0xff,0xff,0xb4,0xd9,0x01,0x02,0x00,0x05]
2133 ds_wrxchg_rtn_b64 v[254:255], v1, v[2:3] offset:65535
2134 // CHECK: [0xff,0xff,0xb4,0xd9,0x01,0x02,0x00,0xfe]
2136 ds_wrxchg_rtn_b64 v[5:6], v255, v[2:3] offset:65535
2137 // CHECK: [0xff,0xff,0xb4,0xd9,0xff,0x02,0x00,0x05]
2139 ds_wrxchg_rtn_b64 v[5:6], v1, v[254:255] offset:65535
2140 // CHECK: [0xff,0xff,0xb4,0xd9,0x01,0xfe,0x00,0x05]
2142 ds_wrxchg_rtn_b64 v[5:6], v1, v[2:3]
2143 // CHECK: [0x00,0x00,0xb4,0xd9,0x01,0x02,0x00,0x05]
2145 ds_wrxchg_rtn_b64 v[5:6], v1, v[2:3] offset:0
2146 // CHECK: [0x00,0x00,0xb4,0xd9,0x01,0x02,0x00,0x05]
2148 ds_wrxchg_rtn_b64 v[5:6], v1, v[2:3] offset:4
2149 // CHECK: [0x04,0x00,0xb4,0xd9,0x01,0x02,0x00,0x05]
2151 ds_wrxchg_rtn_b64 v[5:6], v1, v[2:3] offset:65535 gds
2152 // CHECK: [0xff,0xff,0xb6,0xd9,0x01,0x02,0x00,0x05]
2154 ds_wrxchg2_rtn_b64 v[5:8], v1, v[2:3], v[3:4] offset0:127 offset1:255
2155 // CHECK: [0x7f,0xff,0xb8,0xd9,0x01,0x02,0x03,0x05]
2157 ds_wrxchg2_rtn_b64 v[252:255], v1, v[2:3], v[3:4] offset0:127 offset1:255
2158 // CHECK: [0x7f,0xff,0xb8,0xd9,0x01,0x02,0x03,0xfc]
2160 ds_wrxchg2_rtn_b64 v[5:8], v255, v[2:3], v[3:4] offset0:127 offset1:255
2161 // CHECK: [0x7f,0xff,0xb8,0xd9,0xff,0x02,0x03,0x05]
2163 ds_wrxchg2_rtn_b64 v[5:8], v1, v[254:255], v[3:4] offset0:127 offset1:255
2164 // CHECK: [0x7f,0xff,0xb8,0xd9,0x01,0xfe,0x03,0x05]
2166 ds_wrxchg2_rtn_b64 v[5:8], v1, v[2:3], v[254:255] offset0:127 offset1:255
2167 // CHECK: [0x7f,0xff,0xb8,0xd9,0x01,0x02,0xfe,0x05]
2169 ds_wrxchg2_rtn_b64 v[5:8], v1, v[2:3], v[3:4] offset1:255
2170 // CHECK: [0x00,0xff,0xb8,0xd9,0x01,0x02,0x03,0x05]
2172 ds_wrxchg2_rtn_b64 v[5:8], v1, v[2:3], v[3:4] offset0:0 offset1:255
2173 // CHECK: [0x00,0xff,0xb8,0xd9,0x01,0x02,0x03,0x05]
2175 ds_wrxchg2_rtn_b64 v[5:8], v1, v[2:3], v[3:4] offset0:16 offset1:255
2176 // CHECK: [0x10,0xff,0xb8,0xd9,0x01,0x02,0x03,0x05]
2178 ds_wrxchg2_rtn_b64 v[5:8], v1, v[2:3], v[3:4] offset0:127
2179 // CHECK: [0x7f,0x00,0xb8,0xd9,0x01,0x02,0x03,0x05]
2181 ds_wrxchg2_rtn_b64 v[5:8], v1, v[2:3], v[3:4] offset0:127 offset1:0
2182 // CHECK: [0x7f,0x00,0xb8,0xd9,0x01,0x02,0x03,0x05]
2184 ds_wrxchg2_rtn_b64 v[5:8], v1, v[2:3], v[3:4] offset0:127 offset1:1
2185 // CHECK: [0x7f,0x01,0xb8,0xd9,0x01,0x02,0x03,0x05]
2187 ds_wrxchg2_rtn_b64 v[5:8], v1, v[2:3], v[3:4] offset0:127 offset1:255 gds
2188 // CHECK: [0x7f,0xff,0xba,0xd9,0x01,0x02,0x03,0x05]
2190 ds_wrxchg2st64_rtn_b64 v[5:8], v1, v[2:3], v[3:4] offset0:127 offset1:255
2191 // CHECK: [0x7f,0xff,0xbc,0xd9,0x01,0x02,0x03,0x05]
2193 ds_wrxchg2st64_rtn_b64 v[252:255], v1, v[2:3], v[3:4] offset0:127 offset1:255
2194 // CHECK: [0x7f,0xff,0xbc,0xd9,0x01,0x02,0x03,0xfc]
2196 ds_wrxchg2st64_rtn_b64 v[5:8], v255, v[2:3], v[3:4] offset0:127 offset1:255
2197 // CHECK: [0x7f,0xff,0xbc,0xd9,0xff,0x02,0x03,0x05]
2199 ds_wrxchg2st64_rtn_b64 v[5:8], v1, v[254:255], v[3:4] offset0:127 offset1:255
2200 // CHECK: [0x7f,0xff,0xbc,0xd9,0x01,0xfe,0x03,0x05]
2202 ds_wrxchg2st64_rtn_b64 v[5:8], v1, v[2:3], v[254:255] offset0:127 offset1:255
2203 // CHECK: [0x7f,0xff,0xbc,0xd9,0x01,0x02,0xfe,0x05]
2205 ds_wrxchg2st64_rtn_b64 v[5:8], v1, v[2:3], v[3:4] offset1:255
2206 // CHECK: [0x00,0xff,0xbc,0xd9,0x01,0x02,0x03,0x05]
2208 ds_wrxchg2st64_rtn_b64 v[5:8], v1, v[2:3], v[3:4] offset0:0 offset1:255
2209 // CHECK: [0x00,0xff,0xbc,0xd9,0x01,0x02,0x03,0x05]
2211 ds_wrxchg2st64_rtn_b64 v[5:8], v1, v[2:3], v[3:4] offset0:16 offset1:255
2212 // CHECK: [0x10,0xff,0xbc,0xd9,0x01,0x02,0x03,0x05]
2214 ds_wrxchg2st64_rtn_b64 v[5:8], v1, v[2:3], v[3:4] offset0:127
2215 // CHECK: [0x7f,0x00,0xbc,0xd9,0x01,0x02,0x03,0x05]
2217 ds_wrxchg2st64_rtn_b64 v[5:8], v1, v[2:3], v[3:4] offset0:127 offset1:0
2218 // CHECK: [0x7f,0x00,0xbc,0xd9,0x01,0x02,0x03,0x05]
2220 ds_wrxchg2st64_rtn_b64 v[5:8], v1, v[2:3], v[3:4] offset0:127 offset1:1
2221 // CHECK: [0x7f,0x01,0xbc,0xd9,0x01,0x02,0x03,0x05]
2223 ds_wrxchg2st64_rtn_b64 v[5:8], v1, v[2:3], v[3:4] offset0:127 offset1:255 gds
2224 // CHECK: [0x7f,0xff,0xbe,0xd9,0x01,0x02,0x03,0x05]
2226 ds_cmpst_rtn_b64 v[5:6], v1, v[2:3], v[3:4] offset:65535
2227 // CHECK: [0xff,0xff,0xc0,0xd9,0x01,0x02,0x03,0x05]
2229 ds_cmpst_rtn_b64 v[254:255], v1, v[2:3], v[3:4] offset:65535
2230 // CHECK: [0xff,0xff,0xc0,0xd9,0x01,0x02,0x03,0xfe]
2232 ds_cmpst_rtn_b64 v[5:6], v255, v[2:3], v[3:4] offset:65535
2233 // CHECK: [0xff,0xff,0xc0,0xd9,0xff,0x02,0x03,0x05]
2235 ds_cmpst_rtn_b64 v[5:6], v1, v[254:255], v[3:4] offset:65535
2236 // CHECK: [0xff,0xff,0xc0,0xd9,0x01,0xfe,0x03,0x05]
2238 ds_cmpst_rtn_b64 v[5:6], v1, v[2:3], v[254:255] offset:65535
2239 // CHECK: [0xff,0xff,0xc0,0xd9,0x01,0x02,0xfe,0x05]
2241 ds_cmpst_rtn_b64 v[5:6], v1, v[2:3], v[3:4]
2242 // CHECK: [0x00,0x00,0xc0,0xd9,0x01,0x02,0x03,0x05]
2244 ds_cmpst_rtn_b64 v[5:6], v1, v[2:3], v[3:4] offset:0
2245 // CHECK: [0x00,0x00,0xc0,0xd9,0x01,0x02,0x03,0x05]
2247 ds_cmpst_rtn_b64 v[5:6], v1, v[2:3], v[3:4] offset:4
2248 // CHECK: [0x04,0x00,0xc0,0xd9,0x01,0x02,0x03,0x05]
2250 ds_cmpst_rtn_b64 v[5:6], v1, v[2:3], v[3:4] offset:65535 gds
2251 // CHECK: [0xff,0xff,0xc2,0xd9,0x01,0x02,0x03,0x05]
2253 ds_cmpst_rtn_f64 v[5:6], v1, v[2:3], v[3:4] offset:65535
2254 // CHECK: [0xff,0xff,0xc4,0xd9,0x01,0x02,0x03,0x05]
2256 ds_cmpst_rtn_f64 v[254:255], v1, v[2:3], v[3:4] offset:65535
2257 // CHECK: [0xff,0xff,0xc4,0xd9,0x01,0x02,0x03,0xfe]
2259 ds_cmpst_rtn_f64 v[5:6], v255, v[2:3], v[3:4] offset:65535
2260 // CHECK: [0xff,0xff,0xc4,0xd9,0xff,0x02,0x03,0x05]
2262 ds_cmpst_rtn_f64 v[5:6], v1, v[254:255], v[3:4] offset:65535
2263 // CHECK: [0xff,0xff,0xc4,0xd9,0x01,0xfe,0x03,0x05]
2265 ds_cmpst_rtn_f64 v[5:6], v1, v[2:3], v[254:255] offset:65535
2266 // CHECK: [0xff,0xff,0xc4,0xd9,0x01,0x02,0xfe,0x05]
2268 ds_cmpst_rtn_f64 v[5:6], v1, v[2:3], v[3:4]
2269 // CHECK: [0x00,0x00,0xc4,0xd9,0x01,0x02,0x03,0x05]
2271 ds_cmpst_rtn_f64 v[5:6], v1, v[2:3], v[3:4] offset:0
2272 // CHECK: [0x00,0x00,0xc4,0xd9,0x01,0x02,0x03,0x05]
2274 ds_cmpst_rtn_f64 v[5:6], v1, v[2:3], v[3:4] offset:4
2275 // CHECK: [0x04,0x00,0xc4,0xd9,0x01,0x02,0x03,0x05]
2277 ds_cmpst_rtn_f64 v[5:6], v1, v[2:3], v[3:4] offset:65535 gds
2278 // CHECK: [0xff,0xff,0xc6,0xd9,0x01,0x02,0x03,0x05]
2280 ds_min_rtn_f64 v[5:6], v1, v[2:3] offset:65535
2281 // CHECK: [0xff,0xff,0xc8,0xd9,0x01,0x02,0x00,0x05]
2283 ds_min_rtn_f64 v[254:255], v1, v[2:3] offset:65535
2284 // CHECK: [0xff,0xff,0xc8,0xd9,0x01,0x02,0x00,0xfe]
2286 ds_min_rtn_f64 v[5:6], v255, v[2:3] offset:65535
2287 // CHECK: [0xff,0xff,0xc8,0xd9,0xff,0x02,0x00,0x05]
2289 ds_min_rtn_f64 v[5:6], v1, v[254:255] offset:65535
2290 // CHECK: [0xff,0xff,0xc8,0xd9,0x01,0xfe,0x00,0x05]
2292 ds_min_rtn_f64 v[5:6], v1, v[2:3]
2293 // CHECK: [0x00,0x00,0xc8,0xd9,0x01,0x02,0x00,0x05]
2295 ds_min_rtn_f64 v[5:6], v1, v[2:3] offset:0
2296 // CHECK: [0x00,0x00,0xc8,0xd9,0x01,0x02,0x00,0x05]
2298 ds_min_rtn_f64 v[5:6], v1, v[2:3] offset:4
2299 // CHECK: [0x04,0x00,0xc8,0xd9,0x01,0x02,0x00,0x05]
2301 ds_min_rtn_f64 v[5:6], v1, v[2:3] offset:65535 gds
2302 // CHECK: [0xff,0xff,0xca,0xd9,0x01,0x02,0x00,0x05]
2304 ds_max_rtn_f64 v[5:6], v1, v[2:3] offset:65535
2305 // CHECK: [0xff,0xff,0xcc,0xd9,0x01,0x02,0x00,0x05]
2307 ds_max_rtn_f64 v[254:255], v1, v[2:3] offset:65535
2308 // CHECK: [0xff,0xff,0xcc,0xd9,0x01,0x02,0x00,0xfe]
2310 ds_max_rtn_f64 v[5:6], v255, v[2:3] offset:65535
2311 // CHECK: [0xff,0xff,0xcc,0xd9,0xff,0x02,0x00,0x05]
2313 ds_max_rtn_f64 v[5:6], v1, v[254:255] offset:65535
2314 // CHECK: [0xff,0xff,0xcc,0xd9,0x01,0xfe,0x00,0x05]
2316 ds_max_rtn_f64 v[5:6], v1, v[2:3]
2317 // CHECK: [0x00,0x00,0xcc,0xd9,0x01,0x02,0x00,0x05]
2319 ds_max_rtn_f64 v[5:6], v1, v[2:3] offset:0
2320 // CHECK: [0x00,0x00,0xcc,0xd9,0x01,0x02,0x00,0x05]
2322 ds_max_rtn_f64 v[5:6], v1, v[2:3] offset:4
2323 // CHECK: [0x04,0x00,0xcc,0xd9,0x01,0x02,0x00,0x05]
2325 ds_max_rtn_f64 v[5:6], v1, v[2:3] offset:65535 gds
2326 // CHECK: [0xff,0xff,0xce,0xd9,0x01,0x02,0x00,0x05]
2328 ds_read_b64 v[5:6], v1 offset:65535
2329 // CHECK: [0xff,0xff,0xd8,0xd9,0x01,0x00,0x00,0x05]
2331 ds_read_b64 v[254:255], v1 offset:65535
2332 // CHECK: [0xff,0xff,0xd8,0xd9,0x01,0x00,0x00,0xfe]
2334 ds_read_b64 v[5:6], v255 offset:65535
2335 // CHECK: [0xff,0xff,0xd8,0xd9,0xff,0x00,0x00,0x05]
2337 ds_read_b64 v[5:6], v1
2338 // CHECK: [0x00,0x00,0xd8,0xd9,0x01,0x00,0x00,0x05]
2340 ds_read_b64 v[5:6], v1 offset:0
2341 // CHECK: [0x00,0x00,0xd8,0xd9,0x01,0x00,0x00,0x05]
2343 ds_read_b64 v[5:6], v1 offset:4
2344 // CHECK: [0x04,0x00,0xd8,0xd9,0x01,0x00,0x00,0x05]
2346 ds_read_b64 v[5:6], v1 offset:65535 gds
2347 // CHECK: [0xff,0xff,0xda,0xd9,0x01,0x00,0x00,0x05]
2349 ds_read2_b64 v[5:8], v1 offset0:127 offset1:255
2350 // CHECK: [0x7f,0xff,0xdc,0xd9,0x01,0x00,0x00,0x05]
2352 ds_read2_b64 v[252:255], v1 offset0:127 offset1:255
2353 // CHECK: [0x7f,0xff,0xdc,0xd9,0x01,0x00,0x00,0xfc]
2355 ds_read2_b64 v[5:8], v255 offset0:127 offset1:255
2356 // CHECK: [0x7f,0xff,0xdc,0xd9,0xff,0x00,0x00,0x05]
2358 ds_read2_b64 v[5:8], v1 offset1:255
2359 // CHECK: [0x00,0xff,0xdc,0xd9,0x01,0x00,0x00,0x05]
2361 ds_read2_b64 v[5:8], v1 offset0:0 offset1:255
2362 // CHECK: [0x00,0xff,0xdc,0xd9,0x01,0x00,0x00,0x05]
2364 ds_read2_b64 v[5:8], v1 offset0:16 offset1:255
2365 // CHECK: [0x10,0xff,0xdc,0xd9,0x01,0x00,0x00,0x05]
2367 ds_read2_b64 v[5:8], v1 offset0:127
2368 // CHECK: [0x7f,0x00,0xdc,0xd9,0x01,0x00,0x00,0x05]
2370 ds_read2_b64 v[5:8], v1 offset0:127 offset1:0
2371 // CHECK: [0x7f,0x00,0xdc,0xd9,0x01,0x00,0x00,0x05]
2373 ds_read2_b64 v[5:8], v1 offset0:127 offset1:1
2374 // CHECK: [0x7f,0x01,0xdc,0xd9,0x01,0x00,0x00,0x05]
2376 ds_read2_b64 v[5:8], v1 offset0:127 offset1:255 gds
2377 // CHECK: [0x7f,0xff,0xde,0xd9,0x01,0x00,0x00,0x05]
2379 ds_read2st64_b64 v[5:8], v1 offset0:127 offset1:255
2380 // CHECK: [0x7f,0xff,0xe0,0xd9,0x01,0x00,0x00,0x05]
2382 ds_read2st64_b64 v[252:255], v1 offset0:127 offset1:255
2383 // CHECK: [0x7f,0xff,0xe0,0xd9,0x01,0x00,0x00,0xfc]
2385 ds_read2st64_b64 v[5:8], v255 offset0:127 offset1:255
2386 // CHECK: [0x7f,0xff,0xe0,0xd9,0xff,0x00,0x00,0x05]
2388 ds_read2st64_b64 v[5:8], v1 offset1:255
2389 // CHECK: [0x00,0xff,0xe0,0xd9,0x01,0x00,0x00,0x05]
2391 ds_read2st64_b64 v[5:8], v1 offset0:0 offset1:255
2392 // CHECK: [0x00,0xff,0xe0,0xd9,0x01,0x00,0x00,0x05]
2394 ds_read2st64_b64 v[5:8], v1 offset0:16 offset1:255
2395 // CHECK: [0x10,0xff,0xe0,0xd9,0x01,0x00,0x00,0x05]
2397 ds_read2st64_b64 v[5:8], v1 offset0:127
2398 // CHECK: [0x7f,0x00,0xe0,0xd9,0x01,0x00,0x00,0x05]
2400 ds_read2st64_b64 v[5:8], v1 offset0:127 offset1:0
2401 // CHECK: [0x7f,0x00,0xe0,0xd9,0x01,0x00,0x00,0x05]
2403 ds_read2st64_b64 v[5:8], v1 offset0:127 offset1:1
2404 // CHECK: [0x7f,0x01,0xe0,0xd9,0x01,0x00,0x00,0x05]
2406 ds_read2st64_b64 v[5:8], v1 offset0:127 offset1:255 gds
2407 // CHECK: [0x7f,0xff,0xe2,0xd9,0x01,0x00,0x00,0x05]
2409 ds_condxchg32_rtn_b64 v[5:6], v1, v[2:3] offset:65535
2410 // CHECK: [0xff,0xff,0xf8,0xd9,0x01,0x02,0x00,0x05]
2412 ds_condxchg32_rtn_b64 v[254:255], v1, v[2:3] offset:65535
2413 // CHECK: [0xff,0xff,0xf8,0xd9,0x01,0x02,0x00,0xfe]
2415 ds_condxchg32_rtn_b64 v[5:6], v255, v[2:3] offset:65535
2416 // CHECK: [0xff,0xff,0xf8,0xd9,0xff,0x02,0x00,0x05]
2418 ds_condxchg32_rtn_b64 v[5:6], v1, v[254:255] offset:65535
2419 // CHECK: [0xff,0xff,0xf8,0xd9,0x01,0xfe,0x00,0x05]
2421 ds_condxchg32_rtn_b64 v[5:6], v1, v[2:3]
2422 // CHECK: [0x00,0x00,0xf8,0xd9,0x01,0x02,0x00,0x05]
2424 ds_condxchg32_rtn_b64 v[5:6], v1, v[2:3] offset:0
2425 // CHECK: [0x00,0x00,0xf8,0xd9,0x01,0x02,0x00,0x05]
2427 ds_condxchg32_rtn_b64 v[5:6], v1, v[2:3] offset:4
2428 // CHECK: [0x04,0x00,0xf8,0xd9,0x01,0x02,0x00,0x05]
2430 ds_condxchg32_rtn_b64 v[5:6], v1, v[2:3] offset:65535 gds
2431 // CHECK: [0xff,0xff,0xfa,0xd9,0x01,0x02,0x00,0x05]
2433 ds_add_src2_u32 v1 offset:65535
2434 // CHECK: [0xff,0xff,0x00,0xda,0x01,0x00,0x00,0x00]
2436 ds_add_src2_u32 v255 offset:65535
2437 // CHECK: [0xff,0xff,0x00,0xda,0xff,0x00,0x00,0x00]
2439 ds_add_src2_u32 v1
2440 // CHECK: [0x00,0x00,0x00,0xda,0x01,0x00,0x00,0x00]
2442 ds_add_src2_u32 v1 offset:0
2443 // CHECK: [0x00,0x00,0x00,0xda,0x01,0x00,0x00,0x00]
2445 ds_add_src2_u32 v1 offset:4
2446 // CHECK: [0x04,0x00,0x00,0xda,0x01,0x00,0x00,0x00]
2448 ds_add_src2_u32 v1 offset:65535 gds
2449 // CHECK: [0xff,0xff,0x02,0xda,0x01,0x00,0x00,0x00]
2451 ds_sub_src2_u32 v1 offset:65535
2452 // CHECK: [0xff,0xff,0x04,0xda,0x01,0x00,0x00,0x00]
2454 ds_sub_src2_u32 v255 offset:65535
2455 // CHECK: [0xff,0xff,0x04,0xda,0xff,0x00,0x00,0x00]
2457 ds_sub_src2_u32 v1
2458 // CHECK: [0x00,0x00,0x04,0xda,0x01,0x00,0x00,0x00]
2460 ds_sub_src2_u32 v1 offset:0
2461 // CHECK: [0x00,0x00,0x04,0xda,0x01,0x00,0x00,0x00]
2463 ds_sub_src2_u32 v1 offset:4
2464 // CHECK: [0x04,0x00,0x04,0xda,0x01,0x00,0x00,0x00]
2466 ds_sub_src2_u32 v1 offset:65535 gds
2467 // CHECK: [0xff,0xff,0x06,0xda,0x01,0x00,0x00,0x00]
2469 ds_rsub_src2_u32 v1 offset:65535
2470 // CHECK: [0xff,0xff,0x08,0xda,0x01,0x00,0x00,0x00]
2472 ds_rsub_src2_u32 v255 offset:65535
2473 // CHECK: [0xff,0xff,0x08,0xda,0xff,0x00,0x00,0x00]
2475 ds_rsub_src2_u32 v1
2476 // CHECK: [0x00,0x00,0x08,0xda,0x01,0x00,0x00,0x00]
2478 ds_rsub_src2_u32 v1 offset:0
2479 // CHECK: [0x00,0x00,0x08,0xda,0x01,0x00,0x00,0x00]
2481 ds_rsub_src2_u32 v1 offset:4
2482 // CHECK: [0x04,0x00,0x08,0xda,0x01,0x00,0x00,0x00]
2484 ds_rsub_src2_u32 v1 offset:65535 gds
2485 // CHECK: [0xff,0xff,0x0a,0xda,0x01,0x00,0x00,0x00]
2487 ds_inc_src2_u32 v1 offset:65535
2488 // CHECK: [0xff,0xff,0x0c,0xda,0x01,0x00,0x00,0x00]
2490 ds_inc_src2_u32 v255 offset:65535
2491 // CHECK: [0xff,0xff,0x0c,0xda,0xff,0x00,0x00,0x00]
2493 ds_inc_src2_u32 v1
2494 // CHECK: [0x00,0x00,0x0c,0xda,0x01,0x00,0x00,0x00]
2496 ds_inc_src2_u32 v1 offset:0
2497 // CHECK: [0x00,0x00,0x0c,0xda,0x01,0x00,0x00,0x00]
2499 ds_inc_src2_u32 v1 offset:4
2500 // CHECK: [0x04,0x00,0x0c,0xda,0x01,0x00,0x00,0x00]
2502 ds_inc_src2_u32 v1 offset:65535 gds
2503 // CHECK: [0xff,0xff,0x0e,0xda,0x01,0x00,0x00,0x00]
2505 ds_dec_src2_u32 v1 offset:65535
2506 // CHECK: [0xff,0xff,0x10,0xda,0x01,0x00,0x00,0x00]
2508 ds_dec_src2_u32 v255 offset:65535
2509 // CHECK: [0xff,0xff,0x10,0xda,0xff,0x00,0x00,0x00]
2511 ds_dec_src2_u32 v1
2512 // CHECK: [0x00,0x00,0x10,0xda,0x01,0x00,0x00,0x00]
2514 ds_dec_src2_u32 v1 offset:0
2515 // CHECK: [0x00,0x00,0x10,0xda,0x01,0x00,0x00,0x00]
2517 ds_dec_src2_u32 v1 offset:4
2518 // CHECK: [0x04,0x00,0x10,0xda,0x01,0x00,0x00,0x00]
2520 ds_dec_src2_u32 v1 offset:65535 gds
2521 // CHECK: [0xff,0xff,0x12,0xda,0x01,0x00,0x00,0x00]
2523 ds_min_src2_i32 v1 offset:65535
2524 // CHECK: [0xff,0xff,0x14,0xda,0x01,0x00,0x00,0x00]
2526 ds_min_src2_i32 v255 offset:65535
2527 // CHECK: [0xff,0xff,0x14,0xda,0xff,0x00,0x00,0x00]
2529 ds_min_src2_i32 v1
2530 // CHECK: [0x00,0x00,0x14,0xda,0x01,0x00,0x00,0x00]
2532 ds_min_src2_i32 v1 offset:0
2533 // CHECK: [0x00,0x00,0x14,0xda,0x01,0x00,0x00,0x00]
2535 ds_min_src2_i32 v1 offset:4
2536 // CHECK: [0x04,0x00,0x14,0xda,0x01,0x00,0x00,0x00]
2538 ds_min_src2_i32 v1 offset:65535 gds
2539 // CHECK: [0xff,0xff,0x16,0xda,0x01,0x00,0x00,0x00]
2541 ds_max_src2_i32 v1 offset:65535
2542 // CHECK: [0xff,0xff,0x18,0xda,0x01,0x00,0x00,0x00]
2544 ds_max_src2_i32 v255 offset:65535
2545 // CHECK: [0xff,0xff,0x18,0xda,0xff,0x00,0x00,0x00]
2547 ds_max_src2_i32 v1
2548 // CHECK: [0x00,0x00,0x18,0xda,0x01,0x00,0x00,0x00]
2550 ds_max_src2_i32 v1 offset:0
2551 // CHECK: [0x00,0x00,0x18,0xda,0x01,0x00,0x00,0x00]
2553 ds_max_src2_i32 v1 offset:4
2554 // CHECK: [0x04,0x00,0x18,0xda,0x01,0x00,0x00,0x00]
2556 ds_max_src2_i32 v1 offset:65535 gds
2557 // CHECK: [0xff,0xff,0x1a,0xda,0x01,0x00,0x00,0x00]
2559 ds_min_src2_u32 v1 offset:65535
2560 // CHECK: [0xff,0xff,0x1c,0xda,0x01,0x00,0x00,0x00]
2562 ds_min_src2_u32 v255 offset:65535
2563 // CHECK: [0xff,0xff,0x1c,0xda,0xff,0x00,0x00,0x00]
2565 ds_min_src2_u32 v1
2566 // CHECK: [0x00,0x00,0x1c,0xda,0x01,0x00,0x00,0x00]
2568 ds_min_src2_u32 v1 offset:0
2569 // CHECK: [0x00,0x00,0x1c,0xda,0x01,0x00,0x00,0x00]
2571 ds_min_src2_u32 v1 offset:4
2572 // CHECK: [0x04,0x00,0x1c,0xda,0x01,0x00,0x00,0x00]
2574 ds_min_src2_u32 v1 offset:65535 gds
2575 // CHECK: [0xff,0xff,0x1e,0xda,0x01,0x00,0x00,0x00]
2577 ds_max_src2_u32 v1 offset:65535
2578 // CHECK: [0xff,0xff,0x20,0xda,0x01,0x00,0x00,0x00]
2580 ds_max_src2_u32 v255 offset:65535
2581 // CHECK: [0xff,0xff,0x20,0xda,0xff,0x00,0x00,0x00]
2583 ds_max_src2_u32 v1
2584 // CHECK: [0x00,0x00,0x20,0xda,0x01,0x00,0x00,0x00]
2586 ds_max_src2_u32 v1 offset:0
2587 // CHECK: [0x00,0x00,0x20,0xda,0x01,0x00,0x00,0x00]
2589 ds_max_src2_u32 v1 offset:4
2590 // CHECK: [0x04,0x00,0x20,0xda,0x01,0x00,0x00,0x00]
2592 ds_max_src2_u32 v1 offset:65535 gds
2593 // CHECK: [0xff,0xff,0x22,0xda,0x01,0x00,0x00,0x00]
2595 ds_and_src2_b32 v1 offset:65535
2596 // CHECK: [0xff,0xff,0x24,0xda,0x01,0x00,0x00,0x00]
2598 ds_and_src2_b32 v255 offset:65535
2599 // CHECK: [0xff,0xff,0x24,0xda,0xff,0x00,0x00,0x00]
2601 ds_and_src2_b32 v1
2602 // CHECK: [0x00,0x00,0x24,0xda,0x01,0x00,0x00,0x00]
2604 ds_and_src2_b32 v1 offset:0
2605 // CHECK: [0x00,0x00,0x24,0xda,0x01,0x00,0x00,0x00]
2607 ds_and_src2_b32 v1 offset:4
2608 // CHECK: [0x04,0x00,0x24,0xda,0x01,0x00,0x00,0x00]
2610 ds_and_src2_b32 v1 offset:65535 gds
2611 // CHECK: [0xff,0xff,0x26,0xda,0x01,0x00,0x00,0x00]
2613 ds_or_src2_b32 v1 offset:65535
2614 // CHECK: [0xff,0xff,0x28,0xda,0x01,0x00,0x00,0x00]
2616 ds_or_src2_b32 v255 offset:65535
2617 // CHECK: [0xff,0xff,0x28,0xda,0xff,0x00,0x00,0x00]
2619 ds_or_src2_b32 v1
2620 // CHECK: [0x00,0x00,0x28,0xda,0x01,0x00,0x00,0x00]
2622 ds_or_src2_b32 v1 offset:0
2623 // CHECK: [0x00,0x00,0x28,0xda,0x01,0x00,0x00,0x00]
2625 ds_or_src2_b32 v1 offset:4
2626 // CHECK: [0x04,0x00,0x28,0xda,0x01,0x00,0x00,0x00]
2628 ds_or_src2_b32 v1 offset:65535 gds
2629 // CHECK: [0xff,0xff,0x2a,0xda,0x01,0x00,0x00,0x00]
2631 ds_xor_src2_b32 v1 offset:65535
2632 // CHECK: [0xff,0xff,0x2c,0xda,0x01,0x00,0x00,0x00]
2634 ds_xor_src2_b32 v255 offset:65535
2635 // CHECK: [0xff,0xff,0x2c,0xda,0xff,0x00,0x00,0x00]
2637 ds_xor_src2_b32 v1
2638 // CHECK: [0x00,0x00,0x2c,0xda,0x01,0x00,0x00,0x00]
2640 ds_xor_src2_b32 v1 offset:0
2641 // CHECK: [0x00,0x00,0x2c,0xda,0x01,0x00,0x00,0x00]
2643 ds_xor_src2_b32 v1 offset:4
2644 // CHECK: [0x04,0x00,0x2c,0xda,0x01,0x00,0x00,0x00]
2646 ds_xor_src2_b32 v1 offset:65535 gds
2647 // CHECK: [0xff,0xff,0x2e,0xda,0x01,0x00,0x00,0x00]
2649 ds_write_src2_b32 v1 offset:65535
2650 // CHECK: [0xff,0xff,0x34,0xda,0x01,0x00,0x00,0x00]
2652 ds_write_src2_b32 v255 offset:65535
2653 // CHECK: [0xff,0xff,0x34,0xda,0xff,0x00,0x00,0x00]
2655 ds_write_src2_b32 v1
2656 // CHECK: [0x00,0x00,0x34,0xda,0x01,0x00,0x00,0x00]
2658 ds_write_src2_b32 v1 offset:0
2659 // CHECK: [0x00,0x00,0x34,0xda,0x01,0x00,0x00,0x00]
2661 ds_write_src2_b32 v1 offset:4
2662 // CHECK: [0x04,0x00,0x34,0xda,0x01,0x00,0x00,0x00]
2664 ds_write_src2_b32 v1 offset:65535 gds
2665 // CHECK: [0xff,0xff,0x36,0xda,0x01,0x00,0x00,0x00]
2667 ds_min_src2_f32 v1 offset:65535
2668 // CHECK: [0xff,0xff,0x48,0xda,0x01,0x00,0x00,0x00]
2670 ds_min_src2_f32 v255 offset:65535
2671 // CHECK: [0xff,0xff,0x48,0xda,0xff,0x00,0x00,0x00]
2673 ds_min_src2_f32 v1
2674 // CHECK: [0x00,0x00,0x48,0xda,0x01,0x00,0x00,0x00]
2676 ds_min_src2_f32 v1 offset:0
2677 // CHECK: [0x00,0x00,0x48,0xda,0x01,0x00,0x00,0x00]
2679 ds_min_src2_f32 v1 offset:4
2680 // CHECK: [0x04,0x00,0x48,0xda,0x01,0x00,0x00,0x00]
2682 ds_min_src2_f32 v1 offset:65535 gds
2683 // CHECK: [0xff,0xff,0x4a,0xda,0x01,0x00,0x00,0x00]
2685 ds_max_src2_f32 v1 offset:65535
2686 // CHECK: [0xff,0xff,0x4c,0xda,0x01,0x00,0x00,0x00]
2688 ds_max_src2_f32 v255 offset:65535
2689 // CHECK: [0xff,0xff,0x4c,0xda,0xff,0x00,0x00,0x00]
2691 ds_max_src2_f32 v1
2692 // CHECK: [0x00,0x00,0x4c,0xda,0x01,0x00,0x00,0x00]
2694 ds_max_src2_f32 v1 offset:0
2695 // CHECK: [0x00,0x00,0x4c,0xda,0x01,0x00,0x00,0x00]
2697 ds_max_src2_f32 v1 offset:4
2698 // CHECK: [0x04,0x00,0x4c,0xda,0x01,0x00,0x00,0x00]
2700 ds_max_src2_f32 v1 offset:65535 gds
2701 // CHECK: [0xff,0xff,0x4e,0xda,0x01,0x00,0x00,0x00]
2703 ds_add_src2_u64 v1 offset:65535
2704 // CHECK: [0xff,0xff,0x00,0xdb,0x01,0x00,0x00,0x00]
2706 ds_add_src2_u64 v255 offset:65535
2707 // CHECK: [0xff,0xff,0x00,0xdb,0xff,0x00,0x00,0x00]
2709 ds_add_src2_u64 v1
2710 // CHECK: [0x00,0x00,0x00,0xdb,0x01,0x00,0x00,0x00]
2712 ds_add_src2_u64 v1 offset:0
2713 // CHECK: [0x00,0x00,0x00,0xdb,0x01,0x00,0x00,0x00]
2715 ds_add_src2_u64 v1 offset:4
2716 // CHECK: [0x04,0x00,0x00,0xdb,0x01,0x00,0x00,0x00]
2718 ds_add_src2_u64 v1 offset:65535 gds
2719 // CHECK: [0xff,0xff,0x02,0xdb,0x01,0x00,0x00,0x00]
2721 ds_sub_src2_u64 v1 offset:65535
2722 // CHECK: [0xff,0xff,0x04,0xdb,0x01,0x00,0x00,0x00]
2724 ds_sub_src2_u64 v255 offset:65535
2725 // CHECK: [0xff,0xff,0x04,0xdb,0xff,0x00,0x00,0x00]
2727 ds_sub_src2_u64 v1
2728 // CHECK: [0x00,0x00,0x04,0xdb,0x01,0x00,0x00,0x00]
2730 ds_sub_src2_u64 v1 offset:0
2731 // CHECK: [0x00,0x00,0x04,0xdb,0x01,0x00,0x00,0x00]
2733 ds_sub_src2_u64 v1 offset:4
2734 // CHECK: [0x04,0x00,0x04,0xdb,0x01,0x00,0x00,0x00]
2736 ds_sub_src2_u64 v1 offset:65535 gds
2737 // CHECK: [0xff,0xff,0x06,0xdb,0x01,0x00,0x00,0x00]
2739 ds_rsub_src2_u64 v1 offset:65535
2740 // CHECK: [0xff,0xff,0x08,0xdb,0x01,0x00,0x00,0x00]
2742 ds_rsub_src2_u64 v255 offset:65535
2743 // CHECK: [0xff,0xff,0x08,0xdb,0xff,0x00,0x00,0x00]
2745 ds_rsub_src2_u64 v1
2746 // CHECK: [0x00,0x00,0x08,0xdb,0x01,0x00,0x00,0x00]
2748 ds_rsub_src2_u64 v1 offset:0
2749 // CHECK: [0x00,0x00,0x08,0xdb,0x01,0x00,0x00,0x00]
2751 ds_rsub_src2_u64 v1 offset:4
2752 // CHECK: [0x04,0x00,0x08,0xdb,0x01,0x00,0x00,0x00]
2754 ds_rsub_src2_u64 v1 offset:65535 gds
2755 // CHECK: [0xff,0xff,0x0a,0xdb,0x01,0x00,0x00,0x00]
2757 ds_inc_src2_u64 v1 offset:65535
2758 // CHECK: [0xff,0xff,0x0c,0xdb,0x01,0x00,0x00,0x00]
2760 ds_inc_src2_u64 v255 offset:65535
2761 // CHECK: [0xff,0xff,0x0c,0xdb,0xff,0x00,0x00,0x00]
2763 ds_inc_src2_u64 v1
2764 // CHECK: [0x00,0x00,0x0c,0xdb,0x01,0x00,0x00,0x00]
2766 ds_inc_src2_u64 v1 offset:0
2767 // CHECK: [0x00,0x00,0x0c,0xdb,0x01,0x00,0x00,0x00]
2769 ds_inc_src2_u64 v1 offset:4
2770 // CHECK: [0x04,0x00,0x0c,0xdb,0x01,0x00,0x00,0x00]
2772 ds_inc_src2_u64 v1 offset:65535 gds
2773 // CHECK: [0xff,0xff,0x0e,0xdb,0x01,0x00,0x00,0x00]
2775 ds_dec_src2_u64 v1 offset:65535
2776 // CHECK: [0xff,0xff,0x10,0xdb,0x01,0x00,0x00,0x00]
2778 ds_dec_src2_u64 v255 offset:65535
2779 // CHECK: [0xff,0xff,0x10,0xdb,0xff,0x00,0x00,0x00]
2781 ds_dec_src2_u64 v1
2782 // CHECK: [0x00,0x00,0x10,0xdb,0x01,0x00,0x00,0x00]
2784 ds_dec_src2_u64 v1 offset:0
2785 // CHECK: [0x00,0x00,0x10,0xdb,0x01,0x00,0x00,0x00]
2787 ds_dec_src2_u64 v1 offset:4
2788 // CHECK: [0x04,0x00,0x10,0xdb,0x01,0x00,0x00,0x00]
2790 ds_dec_src2_u64 v1 offset:65535 gds
2791 // CHECK: [0xff,0xff,0x12,0xdb,0x01,0x00,0x00,0x00]
2793 ds_min_src2_i64 v1 offset:65535
2794 // CHECK: [0xff,0xff,0x14,0xdb,0x01,0x00,0x00,0x00]
2796 ds_min_src2_i64 v255 offset:65535
2797 // CHECK: [0xff,0xff,0x14,0xdb,0xff,0x00,0x00,0x00]
2799 ds_min_src2_i64 v1
2800 // CHECK: [0x00,0x00,0x14,0xdb,0x01,0x00,0x00,0x00]
2802 ds_min_src2_i64 v1 offset:0
2803 // CHECK: [0x00,0x00,0x14,0xdb,0x01,0x00,0x00,0x00]
2805 ds_min_src2_i64 v1 offset:4
2806 // CHECK: [0x04,0x00,0x14,0xdb,0x01,0x00,0x00,0x00]
2808 ds_min_src2_i64 v1 offset:65535 gds
2809 // CHECK: [0xff,0xff,0x16,0xdb,0x01,0x00,0x00,0x00]
2811 ds_max_src2_i64 v1 offset:65535
2812 // CHECK: [0xff,0xff,0x18,0xdb,0x01,0x00,0x00,0x00]
2814 ds_max_src2_i64 v255 offset:65535
2815 // CHECK: [0xff,0xff,0x18,0xdb,0xff,0x00,0x00,0x00]
2817 ds_max_src2_i64 v1
2818 // CHECK: [0x00,0x00,0x18,0xdb,0x01,0x00,0x00,0x00]
2820 ds_max_src2_i64 v1 offset:0
2821 // CHECK: [0x00,0x00,0x18,0xdb,0x01,0x00,0x00,0x00]
2823 ds_max_src2_i64 v1 offset:4
2824 // CHECK: [0x04,0x00,0x18,0xdb,0x01,0x00,0x00,0x00]
2826 ds_max_src2_i64 v1 offset:65535 gds
2827 // CHECK: [0xff,0xff,0x1a,0xdb,0x01,0x00,0x00,0x00]
2829 ds_min_src2_u64 v1 offset:65535
2830 // CHECK: [0xff,0xff,0x1c,0xdb,0x01,0x00,0x00,0x00]
2832 ds_min_src2_u64 v255 offset:65535
2833 // CHECK: [0xff,0xff,0x1c,0xdb,0xff,0x00,0x00,0x00]
2835 ds_min_src2_u64 v1
2836 // CHECK: [0x00,0x00,0x1c,0xdb,0x01,0x00,0x00,0x00]
2838 ds_min_src2_u64 v1 offset:0
2839 // CHECK: [0x00,0x00,0x1c,0xdb,0x01,0x00,0x00,0x00]
2841 ds_min_src2_u64 v1 offset:4
2842 // CHECK: [0x04,0x00,0x1c,0xdb,0x01,0x00,0x00,0x00]
2844 ds_min_src2_u64 v1 offset:65535 gds
2845 // CHECK: [0xff,0xff,0x1e,0xdb,0x01,0x00,0x00,0x00]
2847 ds_max_src2_u64 v1 offset:65535
2848 // CHECK: [0xff,0xff,0x20,0xdb,0x01,0x00,0x00,0x00]
2850 ds_max_src2_u64 v255 offset:65535
2851 // CHECK: [0xff,0xff,0x20,0xdb,0xff,0x00,0x00,0x00]
2853 ds_max_src2_u64 v1
2854 // CHECK: [0x00,0x00,0x20,0xdb,0x01,0x00,0x00,0x00]
2856 ds_max_src2_u64 v1 offset:0
2857 // CHECK: [0x00,0x00,0x20,0xdb,0x01,0x00,0x00,0x00]
2859 ds_max_src2_u64 v1 offset:4
2860 // CHECK: [0x04,0x00,0x20,0xdb,0x01,0x00,0x00,0x00]
2862 ds_max_src2_u64 v1 offset:65535 gds
2863 // CHECK: [0xff,0xff,0x22,0xdb,0x01,0x00,0x00,0x00]
2865 ds_and_src2_b64 v1 offset:65535
2866 // CHECK: [0xff,0xff,0x24,0xdb,0x01,0x00,0x00,0x00]
2868 ds_and_src2_b64 v255 offset:65535
2869 // CHECK: [0xff,0xff,0x24,0xdb,0xff,0x00,0x00,0x00]
2871 ds_and_src2_b64 v1
2872 // CHECK: [0x00,0x00,0x24,0xdb,0x01,0x00,0x00,0x00]
2874 ds_and_src2_b64 v1 offset:0
2875 // CHECK: [0x00,0x00,0x24,0xdb,0x01,0x00,0x00,0x00]
2877 ds_and_src2_b64 v1 offset:4
2878 // CHECK: [0x04,0x00,0x24,0xdb,0x01,0x00,0x00,0x00]
2880 ds_and_src2_b64 v1 offset:65535 gds
2881 // CHECK: [0xff,0xff,0x26,0xdb,0x01,0x00,0x00,0x00]
2883 ds_or_src2_b64 v1 offset:65535
2884 // CHECK: [0xff,0xff,0x28,0xdb,0x01,0x00,0x00,0x00]
2886 ds_or_src2_b64 v255 offset:65535
2887 // CHECK: [0xff,0xff,0x28,0xdb,0xff,0x00,0x00,0x00]
2889 ds_or_src2_b64 v1
2890 // CHECK: [0x00,0x00,0x28,0xdb,0x01,0x00,0x00,0x00]
2892 ds_or_src2_b64 v1 offset:0
2893 // CHECK: [0x00,0x00,0x28,0xdb,0x01,0x00,0x00,0x00]
2895 ds_or_src2_b64 v1 offset:4
2896 // CHECK: [0x04,0x00,0x28,0xdb,0x01,0x00,0x00,0x00]
2898 ds_or_src2_b64 v1 offset:65535 gds
2899 // CHECK: [0xff,0xff,0x2a,0xdb,0x01,0x00,0x00,0x00]
2901 ds_xor_src2_b64 v1 offset:65535
2902 // CHECK: [0xff,0xff,0x2c,0xdb,0x01,0x00,0x00,0x00]
2904 ds_xor_src2_b64 v255 offset:65535
2905 // CHECK: [0xff,0xff,0x2c,0xdb,0xff,0x00,0x00,0x00]
2907 ds_xor_src2_b64 v1
2908 // CHECK: [0x00,0x00,0x2c,0xdb,0x01,0x00,0x00,0x00]
2910 ds_xor_src2_b64 v1 offset:0
2911 // CHECK: [0x00,0x00,0x2c,0xdb,0x01,0x00,0x00,0x00]
2913 ds_xor_src2_b64 v1 offset:4
2914 // CHECK: [0x04,0x00,0x2c,0xdb,0x01,0x00,0x00,0x00]
2916 ds_xor_src2_b64 v1 offset:65535 gds
2917 // CHECK: [0xff,0xff,0x2e,0xdb,0x01,0x00,0x00,0x00]
2919 ds_write_src2_b64 v1 offset:65535
2920 // CHECK: [0xff,0xff,0x34,0xdb,0x01,0x00,0x00,0x00]
2922 ds_write_src2_b64 v255 offset:65535
2923 // CHECK: [0xff,0xff,0x34,0xdb,0xff,0x00,0x00,0x00]
2925 ds_write_src2_b64 v1
2926 // CHECK: [0x00,0x00,0x34,0xdb,0x01,0x00,0x00,0x00]
2928 ds_write_src2_b64 v1 offset:0
2929 // CHECK: [0x00,0x00,0x34,0xdb,0x01,0x00,0x00,0x00]
2931 ds_write_src2_b64 v1 offset:4
2932 // CHECK: [0x04,0x00,0x34,0xdb,0x01,0x00,0x00,0x00]
2934 ds_write_src2_b64 v1 offset:65535 gds
2935 // CHECK: [0xff,0xff,0x36,0xdb,0x01,0x00,0x00,0x00]
2937 ds_min_src2_f64 v1 offset:65535
2938 // CHECK: [0xff,0xff,0x48,0xdb,0x01,0x00,0x00,0x00]
2940 ds_min_src2_f64 v255 offset:65535
2941 // CHECK: [0xff,0xff,0x48,0xdb,0xff,0x00,0x00,0x00]
2943 ds_min_src2_f64 v1
2944 // CHECK: [0x00,0x00,0x48,0xdb,0x01,0x00,0x00,0x00]
2946 ds_min_src2_f64 v1 offset:0
2947 // CHECK: [0x00,0x00,0x48,0xdb,0x01,0x00,0x00,0x00]
2949 ds_min_src2_f64 v1 offset:4
2950 // CHECK: [0x04,0x00,0x48,0xdb,0x01,0x00,0x00,0x00]
2952 ds_min_src2_f64 v1 offset:65535 gds
2953 // CHECK: [0xff,0xff,0x4a,0xdb,0x01,0x00,0x00,0x00]
2955 ds_max_src2_f64 v1 offset:65535
2956 // CHECK: [0xff,0xff,0x4c,0xdb,0x01,0x00,0x00,0x00]
2958 ds_max_src2_f64 v255 offset:65535
2959 // CHECK: [0xff,0xff,0x4c,0xdb,0xff,0x00,0x00,0x00]
2961 ds_max_src2_f64 v1
2962 // CHECK: [0x00,0x00,0x4c,0xdb,0x01,0x00,0x00,0x00]
2964 ds_max_src2_f64 v1 offset:0
2965 // CHECK: [0x00,0x00,0x4c,0xdb,0x01,0x00,0x00,0x00]
2967 ds_max_src2_f64 v1 offset:4
2968 // CHECK: [0x04,0x00,0x4c,0xdb,0x01,0x00,0x00,0x00]
2970 ds_max_src2_f64 v1 offset:65535 gds
2971 // CHECK: [0xff,0xff,0x4e,0xdb,0x01,0x00,0x00,0x00]
2973 ds_write_b96 v1, v[2:4] offset:65535
2974 // CHECK: [0xff,0xff,0x78,0xdb,0x01,0x02,0x00,0x00]
2976 ds_write_b96 v255, v[2:4] offset:65535
2977 // CHECK: [0xff,0xff,0x78,0xdb,0xff,0x02,0x00,0x00]
2979 ds_write_b96 v1, v[253:255] offset:65535
2980 // CHECK: [0xff,0xff,0x78,0xdb,0x01,0xfd,0x00,0x00]
2982 ds_write_b96 v1, v[2:4]
2983 // CHECK: [0x00,0x00,0x78,0xdb,0x01,0x02,0x00,0x00]
2985 ds_write_b96 v1, v[2:4] offset:0
2986 // CHECK: [0x00,0x00,0x78,0xdb,0x01,0x02,0x00,0x00]
2988 ds_write_b96 v1, v[2:4] offset:4
2989 // CHECK: [0x04,0x00,0x78,0xdb,0x01,0x02,0x00,0x00]
2991 ds_write_b96 v1, v[2:4] offset:65535 gds
2992 // CHECK: [0xff,0xff,0x7a,0xdb,0x01,0x02,0x00,0x00]
2994 ds_write_b128 v1, v[2:5] offset:65535
2995 // CHECK: [0xff,0xff,0x7c,0xdb,0x01,0x02,0x00,0x00]
2997 ds_write_b128 v255, v[2:5] offset:65535
2998 // CHECK: [0xff,0xff,0x7c,0xdb,0xff,0x02,0x00,0x00]
3000 ds_write_b128 v1, v[252:255] offset:65535
3001 // CHECK: [0xff,0xff,0x7c,0xdb,0x01,0xfc,0x00,0x00]
3003 ds_write_b128 v1, v[2:5]
3004 // CHECK: [0x00,0x00,0x7c,0xdb,0x01,0x02,0x00,0x00]
3006 ds_write_b128 v1, v[2:5] offset:0
3007 // CHECK: [0x00,0x00,0x7c,0xdb,0x01,0x02,0x00,0x00]
3009 ds_write_b128 v1, v[2:5] offset:4
3010 // CHECK: [0x04,0x00,0x7c,0xdb,0x01,0x02,0x00,0x00]
3012 ds_write_b128 v1, v[2:5] offset:65535 gds
3013 // CHECK: [0xff,0xff,0x7e,0xdb,0x01,0x02,0x00,0x00]
3015 ds_read_b96 v[5:7], v1 offset:65535
3016 // CHECK: [0xff,0xff,0xf8,0xdb,0x01,0x00,0x00,0x05]
3018 ds_read_b96 v[253:255], v1 offset:65535
3019 // CHECK: [0xff,0xff,0xf8,0xdb,0x01,0x00,0x00,0xfd]
3021 ds_read_b96 v[5:7], v255 offset:65535
3022 // CHECK: [0xff,0xff,0xf8,0xdb,0xff,0x00,0x00,0x05]
3024 ds_read_b96 v[5:7], v1
3025 // CHECK: [0x00,0x00,0xf8,0xdb,0x01,0x00,0x00,0x05]
3027 ds_read_b96 v[5:7], v1 offset:0
3028 // CHECK: [0x00,0x00,0xf8,0xdb,0x01,0x00,0x00,0x05]
3030 ds_read_b96 v[5:7], v1 offset:4
3031 // CHECK: [0x04,0x00,0xf8,0xdb,0x01,0x00,0x00,0x05]
3033 ds_read_b96 v[5:7], v1 offset:65535 gds
3034 // CHECK: [0xff,0xff,0xfa,0xdb,0x01,0x00,0x00,0x05]
3036 ds_read_b128 v[5:8], v1 offset:65535
3037 // CHECK: [0xff,0xff,0xfc,0xdb,0x01,0x00,0x00,0x05]
3039 ds_read_b128 v[252:255], v1 offset:65535
3040 // CHECK: [0xff,0xff,0xfc,0xdb,0x01,0x00,0x00,0xfc]
3042 ds_read_b128 v[5:8], v255 offset:65535
3043 // CHECK: [0xff,0xff,0xfc,0xdb,0xff,0x00,0x00,0x05]
3045 ds_read_b128 v[5:8], v1
3046 // CHECK: [0x00,0x00,0xfc,0xdb,0x01,0x00,0x00,0x05]
3048 ds_read_b128 v[5:8], v1 offset:0
3049 // CHECK: [0x00,0x00,0xfc,0xdb,0x01,0x00,0x00,0x05]
3051 ds_read_b128 v[5:8], v1 offset:4
3052 // CHECK: [0x04,0x00,0xfc,0xdb,0x01,0x00,0x00,0x05]
3054 ds_read_b128 v[5:8], v1 offset:65535 gds
3055 // CHECK: [0xff,0xff,0xfe,0xdb,0x01,0x00,0x00,0x05]