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