1 // RUN
: llvm-mc
-arch
=amdgcn
-mcpu
=gfx900
-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_addtid_b32 v1 offset
:65535
481 // CHECK
: [0xff,0xff,0x3a,0xd8,0x00,0x01,0x00,0x00]
483 ds_write_addtid_b32 v255 offset
:65535
484 // CHECK
: [0xff,0xff,0x3a,0xd8,0x00,0xff,0x00,0x00]
486 ds_write_addtid_b32 v1
487 // CHECK
: [0x00,0x00,0x3a,0xd8,0x00,0x01,0x00,0x00]
489 ds_write_addtid_b32 v1 offset
:0
490 // CHECK
: [0x00,0x00,0x3a,0xd8,0x00,0x01,0x00,0x00]
492 ds_write_addtid_b32 v1 offset
:4
493 // CHECK
: [0x04,0x00,0x3a,0xd8,0x00,0x01,0x00,0x00]
495 ds_write_addtid_b32 v1 offset
:65535 gds
496 // CHECK
: [0xff,0xff,0x3b,0xd8,0x00,0x01,0x00,0x00]
498 ds_write_b8 v1
, v2 offset
:65535
499 // CHECK
: [0xff,0xff,0x3c,0xd8,0x01,0x02,0x00,0x00]
501 ds_write_b8 v255
, v2 offset
:65535
502 // CHECK
: [0xff,0xff,0x3c,0xd8,0xff,0x02,0x00,0x00]
504 ds_write_b8 v1
, v255 offset
:65535
505 // CHECK
: [0xff,0xff,0x3c,0xd8,0x01,0xff,0x00,0x00]
508 // CHECK
: [0x00,0x00,0x3c,0xd8,0x01,0x02,0x00,0x00]
510 ds_write_b8 v1
, v2 offset
:0
511 // CHECK
: [0x00,0x00,0x3c,0xd8,0x01,0x02,0x00,0x00]
513 ds_write_b8 v1
, v2 offset
:4
514 // CHECK
: [0x04,0x00,0x3c,0xd8,0x01,0x02,0x00,0x00]
516 ds_write_b8 v1
, v2 offset
:65535 gds
517 // CHECK
: [0xff,0xff,0x3d,0xd8,0x01,0x02,0x00,0x00]
519 ds_write_b16 v1
, v2 offset
:65535
520 // CHECK
: [0xff,0xff,0x3e,0xd8,0x01,0x02,0x00,0x00]
522 ds_write_b16 v255
, v2 offset
:65535
523 // CHECK
: [0xff,0xff,0x3e,0xd8,0xff,0x02,0x00,0x00]
525 ds_write_b16 v1
, v255 offset
:65535
526 // CHECK
: [0xff,0xff,0x3e,0xd8,0x01,0xff,0x00,0x00]
529 // CHECK
: [0x00,0x00,0x3e,0xd8,0x01,0x02,0x00,0x00]
531 ds_write_b16 v1
, v2 offset
:0
532 // CHECK
: [0x00,0x00,0x3e,0xd8,0x01,0x02,0x00,0x00]
534 ds_write_b16 v1
, v2 offset
:4
535 // CHECK
: [0x04,0x00,0x3e,0xd8,0x01,0x02,0x00,0x00]
537 ds_write_b16 v1
, v2 offset
:65535 gds
538 // CHECK
: [0xff,0xff,0x3f,0xd8,0x01,0x02,0x00,0x00]
540 ds_add_rtn_u32 v5
, v1
, v2 offset
:65535
541 // CHECK
: [0xff,0xff,0x40,0xd8,0x01,0x02,0x00,0x05]
543 ds_add_rtn_u32 v255
, v1
, v2 offset
:65535
544 // CHECK
: [0xff,0xff,0x40,0xd8,0x01,0x02,0x00,0xff]
546 ds_add_rtn_u32 v5
, v255
, v2 offset
:65535
547 // CHECK
: [0xff,0xff,0x40,0xd8,0xff,0x02,0x00,0x05]
549 ds_add_rtn_u32 v5
, v1
, v255 offset
:65535
550 // CHECK
: [0xff,0xff,0x40,0xd8,0x01,0xff,0x00,0x05]
552 ds_add_rtn_u32 v5
, v1
, v2
553 // CHECK
: [0x00,0x00,0x40,0xd8,0x01,0x02,0x00,0x05]
555 ds_add_rtn_u32 v5
, v1
, v2 offset
:0
556 // CHECK
: [0x00,0x00,0x40,0xd8,0x01,0x02,0x00,0x05]
558 ds_add_rtn_u32 v5
, v1
, v2 offset
:4
559 // CHECK
: [0x04,0x00,0x40,0xd8,0x01,0x02,0x00,0x05]
561 ds_add_rtn_u32 v5
, v1
, v2 offset
:65535 gds
562 // CHECK
: [0xff,0xff,0x41,0xd8,0x01,0x02,0x00,0x05]
564 ds_sub_rtn_u32 v5
, v1
, v2 offset
:65535
565 // CHECK
: [0xff,0xff,0x42,0xd8,0x01,0x02,0x00,0x05]
567 ds_sub_rtn_u32 v255
, v1
, v2 offset
:65535
568 // CHECK
: [0xff,0xff,0x42,0xd8,0x01,0x02,0x00,0xff]
570 ds_sub_rtn_u32 v5
, v255
, v2 offset
:65535
571 // CHECK
: [0xff,0xff,0x42,0xd8,0xff,0x02,0x00,0x05]
573 ds_sub_rtn_u32 v5
, v1
, v255 offset
:65535
574 // CHECK
: [0xff,0xff,0x42,0xd8,0x01,0xff,0x00,0x05]
576 ds_sub_rtn_u32 v5
, v1
, v2
577 // CHECK
: [0x00,0x00,0x42,0xd8,0x01,0x02,0x00,0x05]
579 ds_sub_rtn_u32 v5
, v1
, v2 offset
:0
580 // CHECK
: [0x00,0x00,0x42,0xd8,0x01,0x02,0x00,0x05]
582 ds_sub_rtn_u32 v5
, v1
, v2 offset
:4
583 // CHECK
: [0x04,0x00,0x42,0xd8,0x01,0x02,0x00,0x05]
585 ds_sub_rtn_u32 v5
, v1
, v2 offset
:65535 gds
586 // CHECK
: [0xff,0xff,0x43,0xd8,0x01,0x02,0x00,0x05]
588 ds_rsub_rtn_u32 v5
, v1
, v2 offset
:65535
589 // CHECK
: [0xff,0xff,0x44,0xd8,0x01,0x02,0x00,0x05]
591 ds_rsub_rtn_u32 v255
, v1
, v2 offset
:65535
592 // CHECK
: [0xff,0xff,0x44,0xd8,0x01,0x02,0x00,0xff]
594 ds_rsub_rtn_u32 v5
, v255
, v2 offset
:65535
595 // CHECK
: [0xff,0xff,0x44,0xd8,0xff,0x02,0x00,0x05]
597 ds_rsub_rtn_u32 v5
, v1
, v255 offset
:65535
598 // CHECK
: [0xff,0xff,0x44,0xd8,0x01,0xff,0x00,0x05]
600 ds_rsub_rtn_u32 v5
, v1
, v2
601 // CHECK
: [0x00,0x00,0x44,0xd8,0x01,0x02,0x00,0x05]
603 ds_rsub_rtn_u32 v5
, v1
, v2 offset
:0
604 // CHECK
: [0x00,0x00,0x44,0xd8,0x01,0x02,0x00,0x05]
606 ds_rsub_rtn_u32 v5
, v1
, v2 offset
:4
607 // CHECK
: [0x04,0x00,0x44,0xd8,0x01,0x02,0x00,0x05]
609 ds_rsub_rtn_u32 v5
, v1
, v2 offset
:65535 gds
610 // CHECK
: [0xff,0xff,0x45,0xd8,0x01,0x02,0x00,0x05]
612 ds_inc_rtn_u32 v5
, v1
, v2 offset
:65535
613 // CHECK
: [0xff,0xff,0x46,0xd8,0x01,0x02,0x00,0x05]
615 ds_inc_rtn_u32 v255
, v1
, v2 offset
:65535
616 // CHECK
: [0xff,0xff,0x46,0xd8,0x01,0x02,0x00,0xff]
618 ds_inc_rtn_u32 v5
, v255
, v2 offset
:65535
619 // CHECK
: [0xff,0xff,0x46,0xd8,0xff,0x02,0x00,0x05]
621 ds_inc_rtn_u32 v5
, v1
, v255 offset
:65535
622 // CHECK
: [0xff,0xff,0x46,0xd8,0x01,0xff,0x00,0x05]
624 ds_inc_rtn_u32 v5
, v1
, v2
625 // CHECK
: [0x00,0x00,0x46,0xd8,0x01,0x02,0x00,0x05]
627 ds_inc_rtn_u32 v5
, v1
, v2 offset
:0
628 // CHECK
: [0x00,0x00,0x46,0xd8,0x01,0x02,0x00,0x05]
630 ds_inc_rtn_u32 v5
, v1
, v2 offset
:4
631 // CHECK
: [0x04,0x00,0x46,0xd8,0x01,0x02,0x00,0x05]
633 ds_inc_rtn_u32 v5
, v1
, v2 offset
:65535 gds
634 // CHECK
: [0xff,0xff,0x47,0xd8,0x01,0x02,0x00,0x05]
636 ds_dec_rtn_u32 v5
, v1
, v2 offset
:65535
637 // CHECK
: [0xff,0xff,0x48,0xd8,0x01,0x02,0x00,0x05]
639 ds_dec_rtn_u32 v255
, v1
, v2 offset
:65535
640 // CHECK
: [0xff,0xff,0x48,0xd8,0x01,0x02,0x00,0xff]
642 ds_dec_rtn_u32 v5
, v255
, v2 offset
:65535
643 // CHECK
: [0xff,0xff,0x48,0xd8,0xff,0x02,0x00,0x05]
645 ds_dec_rtn_u32 v5
, v1
, v255 offset
:65535
646 // CHECK
: [0xff,0xff,0x48,0xd8,0x01,0xff,0x00,0x05]
648 ds_dec_rtn_u32 v5
, v1
, v2
649 // CHECK
: [0x00,0x00,0x48,0xd8,0x01,0x02,0x00,0x05]
651 ds_dec_rtn_u32 v5
, v1
, v2 offset
:0
652 // CHECK
: [0x00,0x00,0x48,0xd8,0x01,0x02,0x00,0x05]
654 ds_dec_rtn_u32 v5
, v1
, v2 offset
:4
655 // CHECK
: [0x04,0x00,0x48,0xd8,0x01,0x02,0x00,0x05]
657 ds_dec_rtn_u32 v5
, v1
, v2 offset
:65535 gds
658 // CHECK
: [0xff,0xff,0x49,0xd8,0x01,0x02,0x00,0x05]
660 ds_min_rtn_i32 v5
, v1
, v2 offset
:65535
661 // CHECK
: [0xff,0xff,0x4a,0xd8,0x01,0x02,0x00,0x05]
663 ds_min_rtn_i32 v255
, v1
, v2 offset
:65535
664 // CHECK
: [0xff,0xff,0x4a,0xd8,0x01,0x02,0x00,0xff]
666 ds_min_rtn_i32 v5
, v255
, v2 offset
:65535
667 // CHECK
: [0xff,0xff,0x4a,0xd8,0xff,0x02,0x00,0x05]
669 ds_min_rtn_i32 v5
, v1
, v255 offset
:65535
670 // CHECK
: [0xff,0xff,0x4a,0xd8,0x01,0xff,0x00,0x05]
672 ds_min_rtn_i32 v5
, v1
, v2
673 // CHECK
: [0x00,0x00,0x4a,0xd8,0x01,0x02,0x00,0x05]
675 ds_min_rtn_i32 v5
, v1
, v2 offset
:0
676 // CHECK
: [0x00,0x00,0x4a,0xd8,0x01,0x02,0x00,0x05]
678 ds_min_rtn_i32 v5
, v1
, v2 offset
:4
679 // CHECK
: [0x04,0x00,0x4a,0xd8,0x01,0x02,0x00,0x05]
681 ds_min_rtn_i32 v5
, v1
, v2 offset
:65535 gds
682 // CHECK
: [0xff,0xff,0x4b,0xd8,0x01,0x02,0x00,0x05]
684 ds_max_rtn_i32 v5
, v1
, v2 offset
:65535
685 // CHECK
: [0xff,0xff,0x4c,0xd8,0x01,0x02,0x00,0x05]
687 ds_max_rtn_i32 v255
, v1
, v2 offset
:65535
688 // CHECK
: [0xff,0xff,0x4c,0xd8,0x01,0x02,0x00,0xff]
690 ds_max_rtn_i32 v5
, v255
, v2 offset
:65535
691 // CHECK
: [0xff,0xff,0x4c,0xd8,0xff,0x02,0x00,0x05]
693 ds_max_rtn_i32 v5
, v1
, v255 offset
:65535
694 // CHECK
: [0xff,0xff,0x4c,0xd8,0x01,0xff,0x00,0x05]
696 ds_max_rtn_i32 v5
, v1
, v2
697 // CHECK
: [0x00,0x00,0x4c,0xd8,0x01,0x02,0x00,0x05]
699 ds_max_rtn_i32 v5
, v1
, v2 offset
:0
700 // CHECK
: [0x00,0x00,0x4c,0xd8,0x01,0x02,0x00,0x05]
702 ds_max_rtn_i32 v5
, v1
, v2 offset
:4
703 // CHECK
: [0x04,0x00,0x4c,0xd8,0x01,0x02,0x00,0x05]
705 ds_max_rtn_i32 v5
, v1
, v2 offset
:65535 gds
706 // CHECK
: [0xff,0xff,0x4d,0xd8,0x01,0x02,0x00,0x05]
708 ds_min_rtn_u32 v5
, v1
, v2 offset
:65535
709 // CHECK
: [0xff,0xff,0x4e,0xd8,0x01,0x02,0x00,0x05]
711 ds_min_rtn_u32 v255
, v1
, v2 offset
:65535
712 // CHECK
: [0xff,0xff,0x4e,0xd8,0x01,0x02,0x00,0xff]
714 ds_min_rtn_u32 v5
, v255
, v2 offset
:65535
715 // CHECK
: [0xff,0xff,0x4e,0xd8,0xff,0x02,0x00,0x05]
717 ds_min_rtn_u32 v5
, v1
, v255 offset
:65535
718 // CHECK
: [0xff,0xff,0x4e,0xd8,0x01,0xff,0x00,0x05]
720 ds_min_rtn_u32 v5
, v1
, v2
721 // CHECK
: [0x00,0x00,0x4e,0xd8,0x01,0x02,0x00,0x05]
723 ds_min_rtn_u32 v5
, v1
, v2 offset
:0
724 // CHECK
: [0x00,0x00,0x4e,0xd8,0x01,0x02,0x00,0x05]
726 ds_min_rtn_u32 v5
, v1
, v2 offset
:4
727 // CHECK
: [0x04,0x00,0x4e,0xd8,0x01,0x02,0x00,0x05]
729 ds_min_rtn_u32 v5
, v1
, v2 offset
:65535 gds
730 // CHECK
: [0xff,0xff,0x4f,0xd8,0x01,0x02,0x00,0x05]
732 ds_max_rtn_u32 v5
, v1
, v2 offset
:65535
733 // CHECK
: [0xff,0xff,0x50,0xd8,0x01,0x02,0x00,0x05]
735 ds_max_rtn_u32 v255
, v1
, v2 offset
:65535
736 // CHECK
: [0xff,0xff,0x50,0xd8,0x01,0x02,0x00,0xff]
738 ds_max_rtn_u32 v5
, v255
, v2 offset
:65535
739 // CHECK
: [0xff,0xff,0x50,0xd8,0xff,0x02,0x00,0x05]
741 ds_max_rtn_u32 v5
, v1
, v255 offset
:65535
742 // CHECK
: [0xff,0xff,0x50,0xd8,0x01,0xff,0x00,0x05]
744 ds_max_rtn_u32 v5
, v1
, v2
745 // CHECK
: [0x00,0x00,0x50,0xd8,0x01,0x02,0x00,0x05]
747 ds_max_rtn_u32 v5
, v1
, v2 offset
:0
748 // CHECK
: [0x00,0x00,0x50,0xd8,0x01,0x02,0x00,0x05]
750 ds_max_rtn_u32 v5
, v1
, v2 offset
:4
751 // CHECK
: [0x04,0x00,0x50,0xd8,0x01,0x02,0x00,0x05]
753 ds_max_rtn_u32 v5
, v1
, v2 offset
:65535 gds
754 // CHECK
: [0xff,0xff,0x51,0xd8,0x01,0x02,0x00,0x05]
756 ds_and_rtn_b32 v5
, v1
, v2 offset
:65535
757 // CHECK
: [0xff,0xff,0x52,0xd8,0x01,0x02,0x00,0x05]
759 ds_and_rtn_b32 v255
, v1
, v2 offset
:65535
760 // CHECK
: [0xff,0xff,0x52,0xd8,0x01,0x02,0x00,0xff]
762 ds_and_rtn_b32 v5
, v255
, v2 offset
:65535
763 // CHECK
: [0xff,0xff,0x52,0xd8,0xff,0x02,0x00,0x05]
765 ds_and_rtn_b32 v5
, v1
, v255 offset
:65535
766 // CHECK
: [0xff,0xff,0x52,0xd8,0x01,0xff,0x00,0x05]
768 ds_and_rtn_b32 v5
, v1
, v2
769 // CHECK
: [0x00,0x00,0x52,0xd8,0x01,0x02,0x00,0x05]
771 ds_and_rtn_b32 v5
, v1
, v2 offset
:0
772 // CHECK
: [0x00,0x00,0x52,0xd8,0x01,0x02,0x00,0x05]
774 ds_and_rtn_b32 v5
, v1
, v2 offset
:4
775 // CHECK
: [0x04,0x00,0x52,0xd8,0x01,0x02,0x00,0x05]
777 ds_and_rtn_b32 v5
, v1
, v2 offset
:65535 gds
778 // CHECK
: [0xff,0xff,0x53,0xd8,0x01,0x02,0x00,0x05]
780 ds_or_rtn_b32 v5
, v1
, v2 offset
:65535
781 // CHECK
: [0xff,0xff,0x54,0xd8,0x01,0x02,0x00,0x05]
783 ds_or_rtn_b32 v255
, v1
, v2 offset
:65535
784 // CHECK
: [0xff,0xff,0x54,0xd8,0x01,0x02,0x00,0xff]
786 ds_or_rtn_b32 v5
, v255
, v2 offset
:65535
787 // CHECK
: [0xff,0xff,0x54,0xd8,0xff,0x02,0x00,0x05]
789 ds_or_rtn_b32 v5
, v1
, v255 offset
:65535
790 // CHECK
: [0xff,0xff,0x54,0xd8,0x01,0xff,0x00,0x05]
792 ds_or_rtn_b32 v5
, v1
, v2
793 // CHECK
: [0x00,0x00,0x54,0xd8,0x01,0x02,0x00,0x05]
795 ds_or_rtn_b32 v5
, v1
, v2 offset
:0
796 // CHECK
: [0x00,0x00,0x54,0xd8,0x01,0x02,0x00,0x05]
798 ds_or_rtn_b32 v5
, v1
, v2 offset
:4
799 // CHECK
: [0x04,0x00,0x54,0xd8,0x01,0x02,0x00,0x05]
801 ds_or_rtn_b32 v5
, v1
, v2 offset
:65535 gds
802 // CHECK
: [0xff,0xff,0x55,0xd8,0x01,0x02,0x00,0x05]
804 ds_xor_rtn_b32 v5
, v1
, v2 offset
:65535
805 // CHECK
: [0xff,0xff,0x56,0xd8,0x01,0x02,0x00,0x05]
807 ds_xor_rtn_b32 v255
, v1
, v2 offset
:65535
808 // CHECK
: [0xff,0xff,0x56,0xd8,0x01,0x02,0x00,0xff]
810 ds_xor_rtn_b32 v5
, v255
, v2 offset
:65535
811 // CHECK
: [0xff,0xff,0x56,0xd8,0xff,0x02,0x00,0x05]
813 ds_xor_rtn_b32 v5
, v1
, v255 offset
:65535
814 // CHECK
: [0xff,0xff,0x56,0xd8,0x01,0xff,0x00,0x05]
816 ds_xor_rtn_b32 v5
, v1
, v2
817 // CHECK
: [0x00,0x00,0x56,0xd8,0x01,0x02,0x00,0x05]
819 ds_xor_rtn_b32 v5
, v1
, v2 offset
:0
820 // CHECK
: [0x00,0x00,0x56,0xd8,0x01,0x02,0x00,0x05]
822 ds_xor_rtn_b32 v5
, v1
, v2 offset
:4
823 // CHECK
: [0x04,0x00,0x56,0xd8,0x01,0x02,0x00,0x05]
825 ds_xor_rtn_b32 v5
, v1
, v2 offset
:65535 gds
826 // CHECK
: [0xff,0xff,0x57,0xd8,0x01,0x02,0x00,0x05]
828 ds_mskor_rtn_b32 v5
, v1
, v2
, v3 offset
:65535
829 // CHECK
: [0xff,0xff,0x58,0xd8,0x01,0x02,0x03,0x05]
831 ds_mskor_rtn_b32 v255
, v1
, v2
, v3 offset
:65535
832 // CHECK
: [0xff,0xff,0x58,0xd8,0x01,0x02,0x03,0xff]
834 ds_mskor_rtn_b32 v5
, v255
, v2
, v3 offset
:65535
835 // CHECK
: [0xff,0xff,0x58,0xd8,0xff,0x02,0x03,0x05]
837 ds_mskor_rtn_b32 v5
, v1
, v255
, v3 offset
:65535
838 // CHECK
: [0xff,0xff,0x58,0xd8,0x01,0xff,0x03,0x05]
840 ds_mskor_rtn_b32 v5
, v1
, v2
, v255 offset
:65535
841 // CHECK
: [0xff,0xff,0x58,0xd8,0x01,0x02,0xff,0x05]
843 ds_mskor_rtn_b32 v5
, v1
, v2
, v3
844 // CHECK
: [0x00,0x00,0x58,0xd8,0x01,0x02,0x03,0x05]
846 ds_mskor_rtn_b32 v5
, v1
, v2
, v3 offset
:0
847 // CHECK
: [0x00,0x00,0x58,0xd8,0x01,0x02,0x03,0x05]
849 ds_mskor_rtn_b32 v5
, v1
, v2
, v3 offset
:4
850 // CHECK
: [0x04,0x00,0x58,0xd8,0x01,0x02,0x03,0x05]
852 ds_mskor_rtn_b32 v5
, v1
, v2
, v3 offset
:65535 gds
853 // CHECK
: [0xff,0xff,0x59,0xd8,0x01,0x02,0x03,0x05]
855 ds_wrxchg_rtn_b32 v5
, v1
, v2 offset
:65535
856 // CHECK
: [0xff,0xff,0x5a,0xd8,0x01,0x02,0x00,0x05]
858 ds_wrxchg_rtn_b32 v255
, v1
, v2 offset
:65535
859 // CHECK
: [0xff,0xff,0x5a,0xd8,0x01,0x02,0x00,0xff]
861 ds_wrxchg_rtn_b32 v5
, v255
, v2 offset
:65535
862 // CHECK
: [0xff,0xff,0x5a,0xd8,0xff,0x02,0x00,0x05]
864 ds_wrxchg_rtn_b32 v5
, v1
, v255 offset
:65535
865 // CHECK
: [0xff,0xff,0x5a,0xd8,0x01,0xff,0x00,0x05]
867 ds_wrxchg_rtn_b32 v5
, v1
, v2
868 // CHECK
: [0x00,0x00,0x5a,0xd8,0x01,0x02,0x00,0x05]
870 ds_wrxchg_rtn_b32 v5
, v1
, v2 offset
:0
871 // CHECK
: [0x00,0x00,0x5a,0xd8,0x01,0x02,0x00,0x05]
873 ds_wrxchg_rtn_b32 v5
, v1
, v2 offset
:4
874 // CHECK
: [0x04,0x00,0x5a,0xd8,0x01,0x02,0x00,0x05]
876 ds_wrxchg_rtn_b32 v5
, v1
, v2 offset
:65535 gds
877 // CHECK
: [0xff,0xff,0x5b,0xd8,0x01,0x02,0x00,0x05]
879 ds_wrxchg2_rtn_b32 v
[5:6], v1
, v2
, v3 offset0
:127 offset1
:255
880 // CHECK
: [0x7f,0xff,0x5c,0xd8,0x01,0x02,0x03,0x05]
882 ds_wrxchg2_rtn_b32 v
[254:255], v1
, v2
, v3 offset0
:127 offset1
:255
883 // CHECK
: [0x7f,0xff,0x5c,0xd8,0x01,0x02,0x03,0xfe]
885 ds_wrxchg2_rtn_b32 v
[5:6], v255
, v2
, v3 offset0
:127 offset1
:255
886 // CHECK
: [0x7f,0xff,0x5c,0xd8,0xff,0x02,0x03,0x05]
888 ds_wrxchg2_rtn_b32 v
[5:6], v1
, v255
, v3 offset0
:127 offset1
:255
889 // CHECK
: [0x7f,0xff,0x5c,0xd8,0x01,0xff,0x03,0x05]
891 ds_wrxchg2_rtn_b32 v
[5:6], v1
, v2
, v255 offset0
:127 offset1
:255
892 // CHECK
: [0x7f,0xff,0x5c,0xd8,0x01,0x02,0xff,0x05]
894 ds_wrxchg2_rtn_b32 v
[5:6], v1
, v2
, v3 offset1
:255
895 // CHECK
: [0x00,0xff,0x5c,0xd8,0x01,0x02,0x03,0x05]
897 ds_wrxchg2_rtn_b32 v
[5:6], v1
, v2
, v3 offset0
:0 offset1
:255
898 // CHECK
: [0x00,0xff,0x5c,0xd8,0x01,0x02,0x03,0x05]
900 ds_wrxchg2_rtn_b32 v
[5:6], v1
, v2
, v3 offset0
:16 offset1
:255
901 // CHECK
: [0x10,0xff,0x5c,0xd8,0x01,0x02,0x03,0x05]
903 ds_wrxchg2_rtn_b32 v
[5:6], v1
, v2
, v3 offset0
:127
904 // CHECK
: [0x7f,0x00,0x5c,0xd8,0x01,0x02,0x03,0x05]
906 ds_wrxchg2_rtn_b32 v
[5:6], v1
, v2
, v3 offset0
:127 offset1
:0
907 // CHECK
: [0x7f,0x00,0x5c,0xd8,0x01,0x02,0x03,0x05]
909 ds_wrxchg2_rtn_b32 v
[5:6], v1
, v2
, v3 offset0
:127 offset1
:1
910 // CHECK
: [0x7f,0x01,0x5c,0xd8,0x01,0x02,0x03,0x05]
912 ds_wrxchg2_rtn_b32 v
[5:6], v1
, v2
, v3 offset0
:127 offset1
:255 gds
913 // CHECK
: [0x7f,0xff,0x5d,0xd8,0x01,0x02,0x03,0x05]
915 ds_wrxchg2st64_rtn_b32 v
[5:6], v1
, v2
, v3 offset0
:127 offset1
:255
916 // CHECK
: [0x7f,0xff,0x5e,0xd8,0x01,0x02,0x03,0x05]
918 ds_wrxchg2st64_rtn_b32 v
[254:255], v1
, v2
, v3 offset0
:127 offset1
:255
919 // CHECK
: [0x7f,0xff,0x5e,0xd8,0x01,0x02,0x03,0xfe]
921 ds_wrxchg2st64_rtn_b32 v
[5:6], v255
, v2
, v3 offset0
:127 offset1
:255
922 // CHECK
: [0x7f,0xff,0x5e,0xd8,0xff,0x02,0x03,0x05]
924 ds_wrxchg2st64_rtn_b32 v
[5:6], v1
, v255
, v3 offset0
:127 offset1
:255
925 // CHECK
: [0x7f,0xff,0x5e,0xd8,0x01,0xff,0x03,0x05]
927 ds_wrxchg2st64_rtn_b32 v
[5:6], v1
, v2
, v255 offset0
:127 offset1
:255
928 // CHECK
: [0x7f,0xff,0x5e,0xd8,0x01,0x02,0xff,0x05]
930 ds_wrxchg2st64_rtn_b32 v
[5:6], v1
, v2
, v3 offset1
:255
931 // CHECK
: [0x00,0xff,0x5e,0xd8,0x01,0x02,0x03,0x05]
933 ds_wrxchg2st64_rtn_b32 v
[5:6], v1
, v2
, v3 offset0
:0 offset1
:255
934 // CHECK
: [0x00,0xff,0x5e,0xd8,0x01,0x02,0x03,0x05]
936 ds_wrxchg2st64_rtn_b32 v
[5:6], v1
, v2
, v3 offset0
:16 offset1
:255
937 // CHECK
: [0x10,0xff,0x5e,0xd8,0x01,0x02,0x03,0x05]
939 ds_wrxchg2st64_rtn_b32 v
[5:6], v1
, v2
, v3 offset0
:127
940 // CHECK
: [0x7f,0x00,0x5e,0xd8,0x01,0x02,0x03,0x05]
942 ds_wrxchg2st64_rtn_b32 v
[5:6], v1
, v2
, v3 offset0
:127 offset1
:0
943 // CHECK
: [0x7f,0x00,0x5e,0xd8,0x01,0x02,0x03,0x05]
945 ds_wrxchg2st64_rtn_b32 v
[5:6], v1
, v2
, v3 offset0
:127 offset1
:1
946 // CHECK
: [0x7f,0x01,0x5e,0xd8,0x01,0x02,0x03,0x05]
948 ds_wrxchg2st64_rtn_b32 v
[5:6], v1
, v2
, v3 offset0
:127 offset1
:255 gds
949 // CHECK
: [0x7f,0xff,0x5f,0xd8,0x01,0x02,0x03,0x05]
951 ds_cmpst_rtn_b32 v5
, v1
, v2
, v3 offset
:65535
952 // CHECK
: [0xff,0xff,0x60,0xd8,0x01,0x02,0x03,0x05]
954 ds_cmpst_rtn_b32 v255
, v1
, v2
, v3 offset
:65535
955 // CHECK
: [0xff,0xff,0x60,0xd8,0x01,0x02,0x03,0xff]
957 ds_cmpst_rtn_b32 v5
, v255
, v2
, v3 offset
:65535
958 // CHECK
: [0xff,0xff,0x60,0xd8,0xff,0x02,0x03,0x05]
960 ds_cmpst_rtn_b32 v5
, v1
, v255
, v3 offset
:65535
961 // CHECK
: [0xff,0xff,0x60,0xd8,0x01,0xff,0x03,0x05]
963 ds_cmpst_rtn_b32 v5
, v1
, v2
, v255 offset
:65535
964 // CHECK
: [0xff,0xff,0x60,0xd8,0x01,0x02,0xff,0x05]
966 ds_cmpst_rtn_b32 v5
, v1
, v2
, v3
967 // CHECK
: [0x00,0x00,0x60,0xd8,0x01,0x02,0x03,0x05]
969 ds_cmpst_rtn_b32 v5
, v1
, v2
, v3 offset
:0
970 // CHECK
: [0x00,0x00,0x60,0xd8,0x01,0x02,0x03,0x05]
972 ds_cmpst_rtn_b32 v5
, v1
, v2
, v3 offset
:4
973 // CHECK
: [0x04,0x00,0x60,0xd8,0x01,0x02,0x03,0x05]
975 ds_cmpst_rtn_b32 v5
, v1
, v2
, v3 offset
:65535 gds
976 // CHECK
: [0xff,0xff,0x61,0xd8,0x01,0x02,0x03,0x05]
978 ds_cmpst_rtn_f32 v5
, v1
, v2
, v3 offset
:65535
979 // CHECK
: [0xff,0xff,0x62,0xd8,0x01,0x02,0x03,0x05]
981 ds_cmpst_rtn_f32 v255
, v1
, v2
, v3 offset
:65535
982 // CHECK
: [0xff,0xff,0x62,0xd8,0x01,0x02,0x03,0xff]
984 ds_cmpst_rtn_f32 v5
, v255
, v2
, v3 offset
:65535
985 // CHECK
: [0xff,0xff,0x62,0xd8,0xff,0x02,0x03,0x05]
987 ds_cmpst_rtn_f32 v5
, v1
, v255
, v3 offset
:65535
988 // CHECK
: [0xff,0xff,0x62,0xd8,0x01,0xff,0x03,0x05]
990 ds_cmpst_rtn_f32 v5
, v1
, v2
, v255 offset
:65535
991 // CHECK
: [0xff,0xff,0x62,0xd8,0x01,0x02,0xff,0x05]
993 ds_cmpst_rtn_f32 v5
, v1
, v2
, v3
994 // CHECK
: [0x00,0x00,0x62,0xd8,0x01,0x02,0x03,0x05]
996 ds_cmpst_rtn_f32 v5
, v1
, v2
, v3 offset
:0
997 // CHECK
: [0x00,0x00,0x62,0xd8,0x01,0x02,0x03,0x05]
999 ds_cmpst_rtn_f32 v5
, v1
, v2
, v3 offset
:4
1000 // CHECK
: [0x04,0x00,0x62,0xd8,0x01,0x02,0x03,0x05]
1002 ds_cmpst_rtn_f32 v5
, v1
, v2
, v3 offset
:65535 gds
1003 // CHECK
: [0xff,0xff,0x63,0xd8,0x01,0x02,0x03,0x05]
1005 ds_min_rtn_f32 v5
, v1
, v2 offset
:65535
1006 // CHECK
: [0xff,0xff,0x64,0xd8,0x01,0x02,0x00,0x05]
1008 ds_min_rtn_f32 v255
, v1
, v2 offset
:65535
1009 // CHECK
: [0xff,0xff,0x64,0xd8,0x01,0x02,0x00,0xff]
1011 ds_min_rtn_f32 v5
, v255
, v2 offset
:65535
1012 // CHECK
: [0xff,0xff,0x64,0xd8,0xff,0x02,0x00,0x05]
1014 ds_min_rtn_f32 v5
, v1
, v255 offset
:65535
1015 // CHECK
: [0xff,0xff,0x64,0xd8,0x01,0xff,0x00,0x05]
1017 ds_min_rtn_f32 v5
, v1
, v2
1018 // CHECK
: [0x00,0x00,0x64,0xd8,0x01,0x02,0x00,0x05]
1020 ds_min_rtn_f32 v5
, v1
, v2 offset
:0
1021 // CHECK
: [0x00,0x00,0x64,0xd8,0x01,0x02,0x00,0x05]
1023 ds_min_rtn_f32 v5
, v1
, v2 offset
:4
1024 // CHECK
: [0x04,0x00,0x64,0xd8,0x01,0x02,0x00,0x05]
1026 ds_min_rtn_f32 v5
, v1
, v2 offset
:65535 gds
1027 // CHECK
: [0xff,0xff,0x65,0xd8,0x01,0x02,0x00,0x05]
1029 ds_max_rtn_f32 v5
, v1
, v2 offset
:65535
1030 // CHECK
: [0xff,0xff,0x66,0xd8,0x01,0x02,0x00,0x05]
1032 ds_max_rtn_f32 v255
, v1
, v2 offset
:65535
1033 // CHECK
: [0xff,0xff,0x66,0xd8,0x01,0x02,0x00,0xff]
1035 ds_max_rtn_f32 v5
, v255
, v2 offset
:65535
1036 // CHECK
: [0xff,0xff,0x66,0xd8,0xff,0x02,0x00,0x05]
1038 ds_max_rtn_f32 v5
, v1
, v255 offset
:65535
1039 // CHECK
: [0xff,0xff,0x66,0xd8,0x01,0xff,0x00,0x05]
1041 ds_max_rtn_f32 v5
, v1
, v2
1042 // CHECK
: [0x00,0x00,0x66,0xd8,0x01,0x02,0x00,0x05]
1044 ds_max_rtn_f32 v5
, v1
, v2 offset
:0
1045 // CHECK
: [0x00,0x00,0x66,0xd8,0x01,0x02,0x00,0x05]
1047 ds_max_rtn_f32 v5
, v1
, v2 offset
:4
1048 // CHECK
: [0x04,0x00,0x66,0xd8,0x01,0x02,0x00,0x05]
1050 ds_max_rtn_f32 v5
, v1
, v2 offset
:65535 gds
1051 // CHECK
: [0xff,0xff,0x67,0xd8,0x01,0x02,0x00,0x05]
1053 ds_wrap_rtn_b32 v5
, v1
, v2
, v3 offset
:65535
1054 // CHECK
: [0xff,0xff,0x68,0xd8,0x01,0x02,0x03,0x05]
1056 ds_wrap_rtn_b32 v255
, v1
, v2
, v3 offset
:65535
1057 // CHECK
: [0xff,0xff,0x68,0xd8,0x01,0x02,0x03,0xff]
1059 ds_wrap_rtn_b32 v5
, v255
, v2
, v3 offset
:65535
1060 // CHECK
: [0xff,0xff,0x68,0xd8,0xff,0x02,0x03,0x05]
1062 ds_wrap_rtn_b32 v5
, v1
, v255
, v3 offset
:65535
1063 // CHECK
: [0xff,0xff,0x68,0xd8,0x01,0xff,0x03,0x05]
1065 ds_wrap_rtn_b32 v5
, v1
, v2
, v255 offset
:65535
1066 // CHECK
: [0xff,0xff,0x68,0xd8,0x01,0x02,0xff,0x05]
1068 ds_wrap_rtn_b32 v5
, v1
, v2
, v3
1069 // CHECK
: [0x00,0x00,0x68,0xd8,0x01,0x02,0x03,0x05]
1071 ds_wrap_rtn_b32 v5
, v1
, v2
, v3 offset
:0
1072 // CHECK
: [0x00,0x00,0x68,0xd8,0x01,0x02,0x03,0x05]
1074 ds_wrap_rtn_b32 v5
, v1
, v2
, v3 offset
:4
1075 // CHECK
: [0x04,0x00,0x68,0xd8,0x01,0x02,0x03,0x05]
1077 ds_wrap_rtn_b32 v5
, v1
, v2
, v3 offset
:65535 gds
1078 // CHECK
: [0xff,0xff,0x69,0xd8,0x01,0x02,0x03,0x05]
1080 ds_add_rtn_f32 v5
, v1
, v2 offset
:65535
1081 // CHECK
: [0xff,0xff,0x6a,0xd8,0x01,0x02,0x00,0x05]
1083 ds_add_rtn_f32 v255
, v1
, v2 offset
:65535
1084 // CHECK
: [0xff,0xff,0x6a,0xd8,0x01,0x02,0x00,0xff]
1086 ds_add_rtn_f32 v5
, v255
, v2 offset
:65535
1087 // CHECK
: [0xff,0xff,0x6a,0xd8,0xff,0x02,0x00,0x05]
1089 ds_add_rtn_f32 v5
, v1
, v255 offset
:65535
1090 // CHECK
: [0xff,0xff,0x6a,0xd8,0x01,0xff,0x00,0x05]
1092 ds_add_rtn_f32 v5
, v1
, v2
1093 // CHECK
: [0x00,0x00,0x6a,0xd8,0x01,0x02,0x00,0x05]
1095 ds_add_rtn_f32 v5
, v1
, v2 offset
:0
1096 // CHECK
: [0x00,0x00,0x6a,0xd8,0x01,0x02,0x00,0x05]
1098 ds_add_rtn_f32 v5
, v1
, v2 offset
:4
1099 // CHECK
: [0x04,0x00,0x6a,0xd8,0x01,0x02,0x00,0x05]
1101 ds_add_rtn_f32 v5
, v1
, v2 offset
:65535 gds
1102 // CHECK
: [0xff,0xff,0x6b,0xd8,0x01,0x02,0x00,0x05]
1104 ds_read_b32 v5
, v1 offset
:65535
1105 // CHECK
: [0xff,0xff,0x6c,0xd8,0x01,0x00,0x00,0x05]
1107 ds_read_b32 v255
, v1 offset
:65535
1108 // CHECK
: [0xff,0xff,0x6c,0xd8,0x01,0x00,0x00,0xff]
1110 ds_read_b32 v5
, v255 offset
:65535
1111 // CHECK
: [0xff,0xff,0x6c,0xd8,0xff,0x00,0x00,0x05]
1114 // CHECK
: [0x00,0x00,0x6c,0xd8,0x01,0x00,0x00,0x05]
1116 ds_read_b32 v5
, v1 offset
:0
1117 // CHECK
: [0x00,0x00,0x6c,0xd8,0x01,0x00,0x00,0x05]
1119 ds_read_b32 v5
, v1 offset
:4
1120 // CHECK
: [0x04,0x00,0x6c,0xd8,0x01,0x00,0x00,0x05]
1122 ds_read_b32 v5
, v1 offset
:65535 gds
1123 // CHECK
: [0xff,0xff,0x6d,0xd8,0x01,0x00,0x00,0x05]
1125 ds_read2_b32 v
[5:6], v1 offset0
:127 offset1
:255
1126 // CHECK
: [0x7f,0xff,0x6e,0xd8,0x01,0x00,0x00,0x05]
1128 ds_read2_b32 v
[254:255], v1 offset0
:127 offset1
:255
1129 // CHECK
: [0x7f,0xff,0x6e,0xd8,0x01,0x00,0x00,0xfe]
1131 ds_read2_b32 v
[5:6], v255 offset0
:127 offset1
:255
1132 // CHECK
: [0x7f,0xff,0x6e,0xd8,0xff,0x00,0x00,0x05]
1134 ds_read2_b32 v
[5:6], v1 offset1
:255
1135 // CHECK
: [0x00,0xff,0x6e,0xd8,0x01,0x00,0x00,0x05]
1137 ds_read2_b32 v
[5:6], v1 offset0
:0 offset1
:255
1138 // CHECK
: [0x00,0xff,0x6e,0xd8,0x01,0x00,0x00,0x05]
1140 ds_read2_b32 v
[5:6], v1 offset0
:16 offset1
:255
1141 // CHECK
: [0x10,0xff,0x6e,0xd8,0x01,0x00,0x00,0x05]
1143 ds_read2_b32 v
[5:6], v1 offset0
:127
1144 // CHECK
: [0x7f,0x00,0x6e,0xd8,0x01,0x00,0x00,0x05]
1146 ds_read2_b32 v
[5:6], v1 offset0
:127 offset1
:0
1147 // CHECK
: [0x7f,0x00,0x6e,0xd8,0x01,0x00,0x00,0x05]
1149 ds_read2_b32 v
[5:6], v1 offset0
:127 offset1
:1
1150 // CHECK
: [0x7f,0x01,0x6e,0xd8,0x01,0x00,0x00,0x05]
1152 ds_read2_b32 v
[5:6], v1 offset0
:127 offset1
:255 gds
1153 // CHECK
: [0x7f,0xff,0x6f,0xd8,0x01,0x00,0x00,0x05]
1155 ds_read2st64_b32 v
[5:6], v1 offset0
:127 offset1
:255
1156 // CHECK
: [0x7f,0xff,0x70,0xd8,0x01,0x00,0x00,0x05]
1158 ds_read2st64_b32 v
[254:255], v1 offset0
:127 offset1
:255
1159 // CHECK
: [0x7f,0xff,0x70,0xd8,0x01,0x00,0x00,0xfe]
1161 ds_read2st64_b32 v
[5:6], v255 offset0
:127 offset1
:255
1162 // CHECK
: [0x7f,0xff,0x70,0xd8,0xff,0x00,0x00,0x05]
1164 ds_read2st64_b32 v
[5:6], v1 offset1
:255
1165 // CHECK
: [0x00,0xff,0x70,0xd8,0x01,0x00,0x00,0x05]
1167 ds_read2st64_b32 v
[5:6], v1 offset0
:0 offset1
:255
1168 // CHECK
: [0x00,0xff,0x70,0xd8,0x01,0x00,0x00,0x05]
1170 ds_read2st64_b32 v
[5:6], v1 offset0
:16 offset1
:255
1171 // CHECK
: [0x10,0xff,0x70,0xd8,0x01,0x00,0x00,0x05]
1173 ds_read2st64_b32 v
[5:6], v1 offset0
:127
1174 // CHECK
: [0x7f,0x00,0x70,0xd8,0x01,0x00,0x00,0x05]
1176 ds_read2st64_b32 v
[5:6], v1 offset0
:127 offset1
:0
1177 // CHECK
: [0x7f,0x00,0x70,0xd8,0x01,0x00,0x00,0x05]
1179 ds_read2st64_b32 v
[5:6], v1 offset0
:127 offset1
:1
1180 // CHECK
: [0x7f,0x01,0x70,0xd8,0x01,0x00,0x00,0x05]
1182 ds_read2st64_b32 v
[5:6], v1 offset0
:127 offset1
:255 gds
1183 // CHECK
: [0x7f,0xff,0x71,0xd8,0x01,0x00,0x00,0x05]
1185 ds_read_i8 v5
, v1 offset
:65535
1186 // CHECK
: [0xff,0xff,0x72,0xd8,0x01,0x00,0x00,0x05]
1188 ds_read_i8 v255
, v1 offset
:65535
1189 // CHECK
: [0xff,0xff,0x72,0xd8,0x01,0x00,0x00,0xff]
1191 ds_read_i8 v5
, v255 offset
:65535
1192 // CHECK
: [0xff,0xff,0x72,0xd8,0xff,0x00,0x00,0x05]
1195 // CHECK
: [0x00,0x00,0x72,0xd8,0x01,0x00,0x00,0x05]
1197 ds_read_i8 v5
, v1 offset
:0
1198 // CHECK
: [0x00,0x00,0x72,0xd8,0x01,0x00,0x00,0x05]
1200 ds_read_i8 v5
, v1 offset
:4
1201 // CHECK
: [0x04,0x00,0x72,0xd8,0x01,0x00,0x00,0x05]
1203 ds_read_i8 v5
, v1 offset
:65535 gds
1204 // CHECK
: [0xff,0xff,0x73,0xd8,0x01,0x00,0x00,0x05]
1206 ds_read_u8 v5
, v1 offset
:65535
1207 // CHECK
: [0xff,0xff,0x74,0xd8,0x01,0x00,0x00,0x05]
1209 ds_read_u8 v255
, v1 offset
:65535
1210 // CHECK
: [0xff,0xff,0x74,0xd8,0x01,0x00,0x00,0xff]
1212 ds_read_u8 v5
, v255 offset
:65535
1213 // CHECK
: [0xff,0xff,0x74,0xd8,0xff,0x00,0x00,0x05]
1216 // CHECK
: [0x00,0x00,0x74,0xd8,0x01,0x00,0x00,0x05]
1218 ds_read_u8 v5
, v1 offset
:0
1219 // CHECK
: [0x00,0x00,0x74,0xd8,0x01,0x00,0x00,0x05]
1221 ds_read_u8 v5
, v1 offset
:4
1222 // CHECK
: [0x04,0x00,0x74,0xd8,0x01,0x00,0x00,0x05]
1224 ds_read_u8 v5
, v1 offset
:65535 gds
1225 // CHECK
: [0xff,0xff,0x75,0xd8,0x01,0x00,0x00,0x05]
1227 ds_read_i16 v5
, v1 offset
:65535
1228 // CHECK
: [0xff,0xff,0x76,0xd8,0x01,0x00,0x00,0x05]
1230 ds_read_i16 v255
, v1 offset
:65535
1231 // CHECK
: [0xff,0xff,0x76,0xd8,0x01,0x00,0x00,0xff]
1233 ds_read_i16 v5
, v255 offset
:65535
1234 // CHECK
: [0xff,0xff,0x76,0xd8,0xff,0x00,0x00,0x05]
1237 // CHECK
: [0x00,0x00,0x76,0xd8,0x01,0x00,0x00,0x05]
1239 ds_read_i16 v5
, v1 offset
:0
1240 // CHECK
: [0x00,0x00,0x76,0xd8,0x01,0x00,0x00,0x05]
1242 ds_read_i16 v5
, v1 offset
:4
1243 // CHECK
: [0x04,0x00,0x76,0xd8,0x01,0x00,0x00,0x05]
1245 ds_read_i16 v5
, v1 offset
:65535 gds
1246 // CHECK
: [0xff,0xff,0x77,0xd8,0x01,0x00,0x00,0x05]
1248 ds_read_u16 v5
, v1 offset
:65535
1249 // CHECK
: [0xff,0xff,0x78,0xd8,0x01,0x00,0x00,0x05]
1251 ds_read_u16 v255
, v1 offset
:65535
1252 // CHECK
: [0xff,0xff,0x78,0xd8,0x01,0x00,0x00,0xff]
1254 ds_read_u16 v5
, v255 offset
:65535
1255 // CHECK
: [0xff,0xff,0x78,0xd8,0xff,0x00,0x00,0x05]
1258 // CHECK
: [0x00,0x00,0x78,0xd8,0x01,0x00,0x00,0x05]
1260 ds_read_u16 v5
, v1 offset
:0
1261 // CHECK
: [0x00,0x00,0x78,0xd8,0x01,0x00,0x00,0x05]
1263 ds_read_u16 v5
, v1 offset
:4
1264 // CHECK
: [0x04,0x00,0x78,0xd8,0x01,0x00,0x00,0x05]
1266 ds_read_u16 v5
, v1 offset
:65535 gds
1267 // CHECK
: [0xff,0xff,0x79,0xd8,0x01,0x00,0x00,0x05]
1269 ds_swizzle_b32 v5
, v1 offset
:65535
1270 // CHECK
: [0xff,0xff,0x7a,0xd8,0x01,0x00,0x00,0x05]
1272 ds_swizzle_b32 v255
, v1 offset
:65535
1273 // CHECK
: [0xff,0xff,0x7a,0xd8,0x01,0x00,0x00,0xff]
1275 ds_swizzle_b32 v5
, v255 offset
:65535
1276 // CHECK
: [0xff,0xff,0x7a,0xd8,0xff,0x00,0x00,0x05]
1278 ds_swizzle_b32 v5
, v1
1279 // CHECK
: [0x00,0x00,0x7a,0xd8,0x01,0x00,0x00,0x05]
1281 ds_swizzle_b32 v5
, v1 offset
:0
1282 // CHECK
: [0x00,0x00,0x7a,0xd8,0x01,0x00,0x00,0x05]
1284 ds_swizzle_b32 v5
, v1 offset
:4
1285 // CHECK
: [0x04,0x00,0x7a,0xd8,0x01,0x00,0x00,0x05]
1287 ds_swizzle_b32 v5
, v1 offset
:65535 gds
1288 // CHECK
: [0xff,0xff,0x7b,0xd8,0x01,0x00,0x00,0x05]
1290 ds_permute_b32 v5
, v1
, v2 offset
:65535
1291 // CHECK
: [0xff,0xff,0x7c,0xd8,0x01,0x02,0x00,0x05]
1293 ds_permute_b32 v255
, v1
, v2 offset
:65535
1294 // CHECK
: [0xff,0xff,0x7c,0xd8,0x01,0x02,0x00,0xff]
1296 ds_permute_b32 v5
, v255
, v2 offset
:65535
1297 // CHECK
: [0xff,0xff,0x7c,0xd8,0xff,0x02,0x00,0x05]
1299 ds_permute_b32 v5
, v1
, v255 offset
:65535
1300 // CHECK
: [0xff,0xff,0x7c,0xd8,0x01,0xff,0x00,0x05]
1302 ds_permute_b32 v5
, v1
, v2
1303 // CHECK
: [0x00,0x00,0x7c,0xd8,0x01,0x02,0x00,0x05]
1305 ds_permute_b32 v5
, v1
, v2 offset
:0
1306 // CHECK
: [0x00,0x00,0x7c,0xd8,0x01,0x02,0x00,0x05]
1308 ds_permute_b32 v5
, v1
, v2 offset
:4
1309 // CHECK
: [0x04,0x00,0x7c,0xd8,0x01,0x02,0x00,0x05]
1311 ds_bpermute_b32 v5
, v1
, v2 offset
:65535
1312 // CHECK
: [0xff,0xff,0x7e,0xd8,0x01,0x02,0x00,0x05]
1314 ds_bpermute_b32 v255
, v1
, v2 offset
:65535
1315 // CHECK
: [0xff,0xff,0x7e,0xd8,0x01,0x02,0x00,0xff]
1317 ds_bpermute_b32 v5
, v255
, v2 offset
:65535
1318 // CHECK
: [0xff,0xff,0x7e,0xd8,0xff,0x02,0x00,0x05]
1320 ds_bpermute_b32 v5
, v1
, v255 offset
:65535
1321 // CHECK
: [0xff,0xff,0x7e,0xd8,0x01,0xff,0x00,0x05]
1323 ds_bpermute_b32 v5
, v1
, v2
1324 // CHECK
: [0x00,0x00,0x7e,0xd8,0x01,0x02,0x00,0x05]
1326 ds_bpermute_b32 v5
, v1
, v2 offset
:0
1327 // CHECK
: [0x00,0x00,0x7e,0xd8,0x01,0x02,0x00,0x05]
1329 ds_bpermute_b32 v5
, v1
, v2 offset
:4
1330 // CHECK
: [0x04,0x00,0x7e,0xd8,0x01,0x02,0x00,0x05]
1332 ds_add_u64 v1
, v
[2:3] offset
:65535
1333 // CHECK
: [0xff,0xff,0x80,0xd8,0x01,0x02,0x00,0x00]
1335 ds_add_u64 v255
, v
[2:3] offset
:65535
1336 // CHECK
: [0xff,0xff,0x80,0xd8,0xff,0x02,0x00,0x00]
1338 ds_add_u64 v1
, v
[254:255] offset
:65535
1339 // CHECK
: [0xff,0xff,0x80,0xd8,0x01,0xfe,0x00,0x00]
1341 ds_add_u64 v1
, v
[2:3]
1342 // CHECK
: [0x00,0x00,0x80,0xd8,0x01,0x02,0x00,0x00]
1344 ds_add_u64 v1
, v
[2:3] offset
:0
1345 // CHECK
: [0x00,0x00,0x80,0xd8,0x01,0x02,0x00,0x00]
1347 ds_add_u64 v1
, v
[2:3] offset
:4
1348 // CHECK
: [0x04,0x00,0x80,0xd8,0x01,0x02,0x00,0x00]
1350 ds_add_u64 v1
, v
[2:3] offset
:65535 gds
1351 // CHECK
: [0xff,0xff,0x81,0xd8,0x01,0x02,0x00,0x00]
1353 ds_sub_u64 v1
, v
[2:3] offset
:65535
1354 // CHECK
: [0xff,0xff,0x82,0xd8,0x01,0x02,0x00,0x00]
1356 ds_sub_u64 v255
, v
[2:3] offset
:65535
1357 // CHECK
: [0xff,0xff,0x82,0xd8,0xff,0x02,0x00,0x00]
1359 ds_sub_u64 v1
, v
[254:255] offset
:65535
1360 // CHECK
: [0xff,0xff,0x82,0xd8,0x01,0xfe,0x00,0x00]
1362 ds_sub_u64 v1
, v
[2:3]
1363 // CHECK
: [0x00,0x00,0x82,0xd8,0x01,0x02,0x00,0x00]
1365 ds_sub_u64 v1
, v
[2:3] offset
:0
1366 // CHECK
: [0x00,0x00,0x82,0xd8,0x01,0x02,0x00,0x00]
1368 ds_sub_u64 v1
, v
[2:3] offset
:4
1369 // CHECK
: [0x04,0x00,0x82,0xd8,0x01,0x02,0x00,0x00]
1371 ds_sub_u64 v1
, v
[2:3] offset
:65535 gds
1372 // CHECK
: [0xff,0xff,0x83,0xd8,0x01,0x02,0x00,0x00]
1374 ds_rsub_u64 v1
, v
[2:3] offset
:65535
1375 // CHECK
: [0xff,0xff,0x84,0xd8,0x01,0x02,0x00,0x00]
1377 ds_rsub_u64 v255
, v
[2:3] offset
:65535
1378 // CHECK
: [0xff,0xff,0x84,0xd8,0xff,0x02,0x00,0x00]
1380 ds_rsub_u64 v1
, v
[254:255] offset
:65535
1381 // CHECK
: [0xff,0xff,0x84,0xd8,0x01,0xfe,0x00,0x00]
1383 ds_rsub_u64 v1
, v
[2:3]
1384 // CHECK
: [0x00,0x00,0x84,0xd8,0x01,0x02,0x00,0x00]
1386 ds_rsub_u64 v1
, v
[2:3] offset
:0
1387 // CHECK
: [0x00,0x00,0x84,0xd8,0x01,0x02,0x00,0x00]
1389 ds_rsub_u64 v1
, v
[2:3] offset
:4
1390 // CHECK
: [0x04,0x00,0x84,0xd8,0x01,0x02,0x00,0x00]
1392 ds_rsub_u64 v1
, v
[2:3] offset
:65535 gds
1393 // CHECK
: [0xff,0xff,0x85,0xd8,0x01,0x02,0x00,0x00]
1395 ds_inc_u64 v1
, v
[2:3] offset
:65535
1396 // CHECK
: [0xff,0xff,0x86,0xd8,0x01,0x02,0x00,0x00]
1398 ds_inc_u64 v255
, v
[2:3] offset
:65535
1399 // CHECK
: [0xff,0xff,0x86,0xd8,0xff,0x02,0x00,0x00]
1401 ds_inc_u64 v1
, v
[254:255] offset
:65535
1402 // CHECK
: [0xff,0xff,0x86,0xd8,0x01,0xfe,0x00,0x00]
1404 ds_inc_u64 v1
, v
[2:3]
1405 // CHECK
: [0x00,0x00,0x86,0xd8,0x01,0x02,0x00,0x00]
1407 ds_inc_u64 v1
, v
[2:3] offset
:0
1408 // CHECK
: [0x00,0x00,0x86,0xd8,0x01,0x02,0x00,0x00]
1410 ds_inc_u64 v1
, v
[2:3] offset
:4
1411 // CHECK
: [0x04,0x00,0x86,0xd8,0x01,0x02,0x00,0x00]
1413 ds_inc_u64 v1
, v
[2:3] offset
:65535 gds
1414 // CHECK
: [0xff,0xff,0x87,0xd8,0x01,0x02,0x00,0x00]
1416 ds_dec_u64 v1
, v
[2:3] offset
:65535
1417 // CHECK
: [0xff,0xff,0x88,0xd8,0x01,0x02,0x00,0x00]
1419 ds_dec_u64 v255
, v
[2:3] offset
:65535
1420 // CHECK
: [0xff,0xff,0x88,0xd8,0xff,0x02,0x00,0x00]
1422 ds_dec_u64 v1
, v
[254:255] offset
:65535
1423 // CHECK
: [0xff,0xff,0x88,0xd8,0x01,0xfe,0x00,0x00]
1425 ds_dec_u64 v1
, v
[2:3]
1426 // CHECK
: [0x00,0x00,0x88,0xd8,0x01,0x02,0x00,0x00]
1428 ds_dec_u64 v1
, v
[2:3] offset
:0
1429 // CHECK
: [0x00,0x00,0x88,0xd8,0x01,0x02,0x00,0x00]
1431 ds_dec_u64 v1
, v
[2:3] offset
:4
1432 // CHECK
: [0x04,0x00,0x88,0xd8,0x01,0x02,0x00,0x00]
1434 ds_dec_u64 v1
, v
[2:3] offset
:65535 gds
1435 // CHECK
: [0xff,0xff,0x89,0xd8,0x01,0x02,0x00,0x00]
1437 ds_min_i64 v1
, v
[2:3] offset
:65535
1438 // CHECK
: [0xff,0xff,0x8a,0xd8,0x01,0x02,0x00,0x00]
1440 ds_min_i64 v255
, v
[2:3] offset
:65535
1441 // CHECK
: [0xff,0xff,0x8a,0xd8,0xff,0x02,0x00,0x00]
1443 ds_min_i64 v1
, v
[254:255] offset
:65535
1444 // CHECK
: [0xff,0xff,0x8a,0xd8,0x01,0xfe,0x00,0x00]
1446 ds_min_i64 v1
, v
[2:3]
1447 // CHECK
: [0x00,0x00,0x8a,0xd8,0x01,0x02,0x00,0x00]
1449 ds_min_i64 v1
, v
[2:3] offset
:0
1450 // CHECK
: [0x00,0x00,0x8a,0xd8,0x01,0x02,0x00,0x00]
1452 ds_min_i64 v1
, v
[2:3] offset
:4
1453 // CHECK
: [0x04,0x00,0x8a,0xd8,0x01,0x02,0x00,0x00]
1455 ds_min_i64 v1
, v
[2:3] offset
:65535 gds
1456 // CHECK
: [0xff,0xff,0x8b,0xd8,0x01,0x02,0x00,0x00]
1458 ds_max_i64 v1
, v
[2:3] offset
:65535
1459 // CHECK
: [0xff,0xff,0x8c,0xd8,0x01,0x02,0x00,0x00]
1461 ds_max_i64 v255
, v
[2:3] offset
:65535
1462 // CHECK
: [0xff,0xff,0x8c,0xd8,0xff,0x02,0x00,0x00]
1464 ds_max_i64 v1
, v
[254:255] offset
:65535
1465 // CHECK
: [0xff,0xff,0x8c,0xd8,0x01,0xfe,0x00,0x00]
1467 ds_max_i64 v1
, v
[2:3]
1468 // CHECK
: [0x00,0x00,0x8c,0xd8,0x01,0x02,0x00,0x00]
1470 ds_max_i64 v1
, v
[2:3] offset
:0
1471 // CHECK
: [0x00,0x00,0x8c,0xd8,0x01,0x02,0x00,0x00]
1473 ds_max_i64 v1
, v
[2:3] offset
:4
1474 // CHECK
: [0x04,0x00,0x8c,0xd8,0x01,0x02,0x00,0x00]
1476 ds_max_i64 v1
, v
[2:3] offset
:65535 gds
1477 // CHECK
: [0xff,0xff,0x8d,0xd8,0x01,0x02,0x00,0x00]
1479 ds_min_u64 v1
, v
[2:3] offset
:65535
1480 // CHECK
: [0xff,0xff,0x8e,0xd8,0x01,0x02,0x00,0x00]
1482 ds_min_u64 v255
, v
[2:3] offset
:65535
1483 // CHECK
: [0xff,0xff,0x8e,0xd8,0xff,0x02,0x00,0x00]
1485 ds_min_u64 v1
, v
[254:255] offset
:65535
1486 // CHECK
: [0xff,0xff,0x8e,0xd8,0x01,0xfe,0x00,0x00]
1488 ds_min_u64 v1
, v
[2:3]
1489 // CHECK
: [0x00,0x00,0x8e,0xd8,0x01,0x02,0x00,0x00]
1491 ds_min_u64 v1
, v
[2:3] offset
:0
1492 // CHECK
: [0x00,0x00,0x8e,0xd8,0x01,0x02,0x00,0x00]
1494 ds_min_u64 v1
, v
[2:3] offset
:4
1495 // CHECK
: [0x04,0x00,0x8e,0xd8,0x01,0x02,0x00,0x00]
1497 ds_min_u64 v1
, v
[2:3] offset
:65535 gds
1498 // CHECK
: [0xff,0xff,0x8f,0xd8,0x01,0x02,0x00,0x00]
1500 ds_max_u64 v1
, v
[2:3] offset
:65535
1501 // CHECK
: [0xff,0xff,0x90,0xd8,0x01,0x02,0x00,0x00]
1503 ds_max_u64 v255
, v
[2:3] offset
:65535
1504 // CHECK
: [0xff,0xff,0x90,0xd8,0xff,0x02,0x00,0x00]
1506 ds_max_u64 v1
, v
[254:255] offset
:65535
1507 // CHECK
: [0xff,0xff,0x90,0xd8,0x01,0xfe,0x00,0x00]
1509 ds_max_u64 v1
, v
[2:3]
1510 // CHECK
: [0x00,0x00,0x90,0xd8,0x01,0x02,0x00,0x00]
1512 ds_max_u64 v1
, v
[2:3] offset
:0
1513 // CHECK
: [0x00,0x00,0x90,0xd8,0x01,0x02,0x00,0x00]
1515 ds_max_u64 v1
, v
[2:3] offset
:4
1516 // CHECK
: [0x04,0x00,0x90,0xd8,0x01,0x02,0x00,0x00]
1518 ds_max_u64 v1
, v
[2:3] offset
:65535 gds
1519 // CHECK
: [0xff,0xff,0x91,0xd8,0x01,0x02,0x00,0x00]
1521 ds_and_b64 v1
, v
[2:3] offset
:65535
1522 // CHECK
: [0xff,0xff,0x92,0xd8,0x01,0x02,0x00,0x00]
1524 ds_and_b64 v255
, v
[2:3] offset
:65535
1525 // CHECK
: [0xff,0xff,0x92,0xd8,0xff,0x02,0x00,0x00]
1527 ds_and_b64 v1
, v
[254:255] offset
:65535
1528 // CHECK
: [0xff,0xff,0x92,0xd8,0x01,0xfe,0x00,0x00]
1530 ds_and_b64 v1
, v
[2:3]
1531 // CHECK
: [0x00,0x00,0x92,0xd8,0x01,0x02,0x00,0x00]
1533 ds_and_b64 v1
, v
[2:3] offset
:0
1534 // CHECK
: [0x00,0x00,0x92,0xd8,0x01,0x02,0x00,0x00]
1536 ds_and_b64 v1
, v
[2:3] offset
:4
1537 // CHECK
: [0x04,0x00,0x92,0xd8,0x01,0x02,0x00,0x00]
1539 ds_and_b64 v1
, v
[2:3] offset
:65535 gds
1540 // CHECK
: [0xff,0xff,0x93,0xd8,0x01,0x02,0x00,0x00]
1542 ds_or_b64 v1
, v
[2:3] offset
:65535
1543 // CHECK
: [0xff,0xff,0x94,0xd8,0x01,0x02,0x00,0x00]
1545 ds_or_b64 v255
, v
[2:3] offset
:65535
1546 // CHECK
: [0xff,0xff,0x94,0xd8,0xff,0x02,0x00,0x00]
1548 ds_or_b64 v1
, v
[254:255] offset
:65535
1549 // CHECK
: [0xff,0xff,0x94,0xd8,0x01,0xfe,0x00,0x00]
1551 ds_or_b64 v1
, v
[2:3]
1552 // CHECK
: [0x00,0x00,0x94,0xd8,0x01,0x02,0x00,0x00]
1554 ds_or_b64 v1
, v
[2:3] offset
:0
1555 // CHECK
: [0x00,0x00,0x94,0xd8,0x01,0x02,0x00,0x00]
1557 ds_or_b64 v1
, v
[2:3] offset
:4
1558 // CHECK
: [0x04,0x00,0x94,0xd8,0x01,0x02,0x00,0x00]
1560 ds_or_b64 v1
, v
[2:3] offset
:65535 gds
1561 // CHECK
: [0xff,0xff,0x95,0xd8,0x01,0x02,0x00,0x00]
1563 ds_xor_b64 v1
, v
[2:3] offset
:65535
1564 // CHECK
: [0xff,0xff,0x96,0xd8,0x01,0x02,0x00,0x00]
1566 ds_xor_b64 v255
, v
[2:3] offset
:65535
1567 // CHECK
: [0xff,0xff,0x96,0xd8,0xff,0x02,0x00,0x00]
1569 ds_xor_b64 v1
, v
[254:255] offset
:65535
1570 // CHECK
: [0xff,0xff,0x96,0xd8,0x01,0xfe,0x00,0x00]
1572 ds_xor_b64 v1
, v
[2:3]
1573 // CHECK
: [0x00,0x00,0x96,0xd8,0x01,0x02,0x00,0x00]
1575 ds_xor_b64 v1
, v
[2:3] offset
:0
1576 // CHECK
: [0x00,0x00,0x96,0xd8,0x01,0x02,0x00,0x00]
1578 ds_xor_b64 v1
, v
[2:3] offset
:4
1579 // CHECK
: [0x04,0x00,0x96,0xd8,0x01,0x02,0x00,0x00]
1581 ds_xor_b64 v1
, v
[2:3] offset
:65535 gds
1582 // CHECK
: [0xff,0xff,0x97,0xd8,0x01,0x02,0x00,0x00]
1584 ds_mskor_b64 v1
, v
[2:3], v
[3:4] offset
:65535
1585 // CHECK
: [0xff,0xff,0x98,0xd8,0x01,0x02,0x03,0x00]
1587 ds_mskor_b64 v255
, v
[2:3], v
[3:4] offset
:65535
1588 // CHECK
: [0xff,0xff,0x98,0xd8,0xff,0x02,0x03,0x00]
1590 ds_mskor_b64 v1
, v
[254:255], v
[3:4] offset
:65535
1591 // CHECK
: [0xff,0xff,0x98,0xd8,0x01,0xfe,0x03,0x00]
1593 ds_mskor_b64 v1
, v
[2:3], v
[254:255] offset
:65535
1594 // CHECK
: [0xff,0xff,0x98,0xd8,0x01,0x02,0xfe,0x00]
1596 ds_mskor_b64 v1
, v
[2:3], v
[3:4]
1597 // CHECK
: [0x00,0x00,0x98,0xd8,0x01,0x02,0x03,0x00]
1599 ds_mskor_b64 v1
, v
[2:3], v
[3:4] offset
:0
1600 // CHECK
: [0x00,0x00,0x98,0xd8,0x01,0x02,0x03,0x00]
1602 ds_mskor_b64 v1
, v
[2:3], v
[3:4] offset
:4
1603 // CHECK
: [0x04,0x00,0x98,0xd8,0x01,0x02,0x03,0x00]
1605 ds_mskor_b64 v1
, v
[2:3], v
[3:4] offset
:65535 gds
1606 // CHECK
: [0xff,0xff,0x99,0xd8,0x01,0x02,0x03,0x00]
1608 ds_write_b64 v1
, v
[2:3] offset
:65535
1609 // CHECK
: [0xff,0xff,0x9a,0xd8,0x01,0x02,0x00,0x00]
1611 ds_write_b64 v255
, v
[2:3] offset
:65535
1612 // CHECK
: [0xff,0xff,0x9a,0xd8,0xff,0x02,0x00,0x00]
1614 ds_write_b64 v1
, v
[254:255] offset
:65535
1615 // CHECK
: [0xff,0xff,0x9a,0xd8,0x01,0xfe,0x00,0x00]
1617 ds_write_b64 v1
, v
[2:3]
1618 // CHECK
: [0x00,0x00,0x9a,0xd8,0x01,0x02,0x00,0x00]
1620 ds_write_b64 v1
, v
[2:3] offset
:0
1621 // CHECK
: [0x00,0x00,0x9a,0xd8,0x01,0x02,0x00,0x00]
1623 ds_write_b64 v1
, v
[2:3] offset
:4
1624 // CHECK
: [0x04,0x00,0x9a,0xd8,0x01,0x02,0x00,0x00]
1626 ds_write_b64 v1
, v
[2:3] offset
:65535 gds
1627 // CHECK
: [0xff,0xff,0x9b,0xd8,0x01,0x02,0x00,0x00]
1629 ds_write2_b64 v1
, v
[2:3], v
[3:4] offset0
:127 offset1
:255
1630 // CHECK
: [0x7f,0xff,0x9c,0xd8,0x01,0x02,0x03,0x00]
1632 ds_write2_b64 v255
, v
[2:3], v
[3:4] offset0
:127 offset1
:255
1633 // CHECK
: [0x7f,0xff,0x9c,0xd8,0xff,0x02,0x03,0x00]
1635 ds_write2_b64 v1
, v
[254:255], v
[3:4] offset0
:127 offset1
:255
1636 // CHECK
: [0x7f,0xff,0x9c,0xd8,0x01,0xfe,0x03,0x00]
1638 ds_write2_b64 v1
, v
[2:3], v
[254:255] offset0
:127 offset1
:255
1639 // CHECK
: [0x7f,0xff,0x9c,0xd8,0x01,0x02,0xfe,0x00]
1641 ds_write2_b64 v1
, v
[2:3], v
[3:4] offset1
:255
1642 // CHECK
: [0x00,0xff,0x9c,0xd8,0x01,0x02,0x03,0x00]
1644 ds_write2_b64 v1
, v
[2:3], v
[3:4] offset0
:0 offset1
:255
1645 // CHECK
: [0x00,0xff,0x9c,0xd8,0x01,0x02,0x03,0x00]
1647 ds_write2_b64 v1
, v
[2:3], v
[3:4] offset0
:16 offset1
:255
1648 // CHECK
: [0x10,0xff,0x9c,0xd8,0x01,0x02,0x03,0x00]
1650 ds_write2_b64 v1
, v
[2:3], v
[3:4] offset0
:127
1651 // CHECK
: [0x7f,0x00,0x9c,0xd8,0x01,0x02,0x03,0x00]
1653 ds_write2_b64 v1
, v
[2:3], v
[3:4] offset0
:127 offset1
:0
1654 // CHECK
: [0x7f,0x00,0x9c,0xd8,0x01,0x02,0x03,0x00]
1656 ds_write2_b64 v1
, v
[2:3], v
[3:4] offset0
:127 offset1
:1
1657 // CHECK
: [0x7f,0x01,0x9c,0xd8,0x01,0x02,0x03,0x00]
1659 ds_write2_b64 v1
, v
[2:3], v
[3:4] offset0
:127 offset1
:255 gds
1660 // CHECK
: [0x7f,0xff,0x9d,0xd8,0x01,0x02,0x03,0x00]
1662 ds_write2st64_b64 v1
, v
[2:3], v
[3:4] offset0
:127 offset1
:255
1663 // CHECK
: [0x7f,0xff,0x9e,0xd8,0x01,0x02,0x03,0x00]
1665 ds_write2st64_b64 v255
, v
[2:3], v
[3:4] offset0
:127 offset1
:255
1666 // CHECK
: [0x7f,0xff,0x9e,0xd8,0xff,0x02,0x03,0x00]
1668 ds_write2st64_b64 v1
, v
[254:255], v
[3:4] offset0
:127 offset1
:255
1669 // CHECK
: [0x7f,0xff,0x9e,0xd8,0x01,0xfe,0x03,0x00]
1671 ds_write2st64_b64 v1
, v
[2:3], v
[254:255] offset0
:127 offset1
:255
1672 // CHECK
: [0x7f,0xff,0x9e,0xd8,0x01,0x02,0xfe,0x00]
1674 ds_write2st64_b64 v1
, v
[2:3], v
[3:4] offset1
:255
1675 // CHECK
: [0x00,0xff,0x9e,0xd8,0x01,0x02,0x03,0x00]
1677 ds_write2st64_b64 v1
, v
[2:3], v
[3:4] offset0
:0 offset1
:255
1678 // CHECK
: [0x00,0xff,0x9e,0xd8,0x01,0x02,0x03,0x00]
1680 ds_write2st64_b64 v1
, v
[2:3], v
[3:4] offset0
:16 offset1
:255
1681 // CHECK
: [0x10,0xff,0x9e,0xd8,0x01,0x02,0x03,0x00]
1683 ds_write2st64_b64 v1
, v
[2:3], v
[3:4] offset0
:127
1684 // CHECK
: [0x7f,0x00,0x9e,0xd8,0x01,0x02,0x03,0x00]
1686 ds_write2st64_b64 v1
, v
[2:3], v
[3:4] offset0
:127 offset1
:0
1687 // CHECK
: [0x7f,0x00,0x9e,0xd8,0x01,0x02,0x03,0x00]
1689 ds_write2st64_b64 v1
, v
[2:3], v
[3:4] offset0
:127 offset1
:1
1690 // CHECK
: [0x7f,0x01,0x9e,0xd8,0x01,0x02,0x03,0x00]
1692 ds_write2st64_b64 v1
, v
[2:3], v
[3:4] offset0
:127 offset1
:255 gds
1693 // CHECK
: [0x7f,0xff,0x9f,0xd8,0x01,0x02,0x03,0x00]
1695 ds_cmpst_b64 v1
, v
[2:3], v
[3:4] offset
:65535
1696 // CHECK
: [0xff,0xff,0xa0,0xd8,0x01,0x02,0x03,0x00]
1698 ds_cmpst_b64 v255
, v
[2:3], v
[3:4] offset
:65535
1699 // CHECK
: [0xff,0xff,0xa0,0xd8,0xff,0x02,0x03,0x00]
1701 ds_cmpst_b64 v1
, v
[254:255], v
[3:4] offset
:65535
1702 // CHECK
: [0xff,0xff,0xa0,0xd8,0x01,0xfe,0x03,0x00]
1704 ds_cmpst_b64 v1
, v
[2:3], v
[254:255] offset
:65535
1705 // CHECK
: [0xff,0xff,0xa0,0xd8,0x01,0x02,0xfe,0x00]
1707 ds_cmpst_b64 v1
, v
[2:3], v
[3:4]
1708 // CHECK
: [0x00,0x00,0xa0,0xd8,0x01,0x02,0x03,0x00]
1710 ds_cmpst_b64 v1
, v
[2:3], v
[3:4] offset
:0
1711 // CHECK
: [0x00,0x00,0xa0,0xd8,0x01,0x02,0x03,0x00]
1713 ds_cmpst_b64 v1
, v
[2:3], v
[3:4] offset
:4
1714 // CHECK
: [0x04,0x00,0xa0,0xd8,0x01,0x02,0x03,0x00]
1716 ds_cmpst_b64 v1
, v
[2:3], v
[3:4] offset
:65535 gds
1717 // CHECK
: [0xff,0xff,0xa1,0xd8,0x01,0x02,0x03,0x00]
1719 ds_cmpst_f64 v1
, v
[2:3], v
[3:4] offset
:65535
1720 // CHECK
: [0xff,0xff,0xa2,0xd8,0x01,0x02,0x03,0x00]
1722 ds_cmpst_f64 v255
, v
[2:3], v
[3:4] offset
:65535
1723 // CHECK
: [0xff,0xff,0xa2,0xd8,0xff,0x02,0x03,0x00]
1725 ds_cmpst_f64 v1
, v
[254:255], v
[3:4] offset
:65535
1726 // CHECK
: [0xff,0xff,0xa2,0xd8,0x01,0xfe,0x03,0x00]
1728 ds_cmpst_f64 v1
, v
[2:3], v
[254:255] offset
:65535
1729 // CHECK
: [0xff,0xff,0xa2,0xd8,0x01,0x02,0xfe,0x00]
1731 ds_cmpst_f64 v1
, v
[2:3], v
[3:4]
1732 // CHECK
: [0x00,0x00,0xa2,0xd8,0x01,0x02,0x03,0x00]
1734 ds_cmpst_f64 v1
, v
[2:3], v
[3:4] offset
:0
1735 // CHECK
: [0x00,0x00,0xa2,0xd8,0x01,0x02,0x03,0x00]
1737 ds_cmpst_f64 v1
, v
[2:3], v
[3:4] offset
:4
1738 // CHECK
: [0x04,0x00,0xa2,0xd8,0x01,0x02,0x03,0x00]
1740 ds_cmpst_f64 v1
, v
[2:3], v
[3:4] offset
:65535 gds
1741 // CHECK
: [0xff,0xff,0xa3,0xd8,0x01,0x02,0x03,0x00]
1743 ds_min_f64 v1
, v
[2:3] offset
:65535
1744 // CHECK
: [0xff,0xff,0xa4,0xd8,0x01,0x02,0x00,0x00]
1746 ds_min_f64 v255
, v
[2:3] offset
:65535
1747 // CHECK
: [0xff,0xff,0xa4,0xd8,0xff,0x02,0x00,0x00]
1749 ds_min_f64 v1
, v
[254:255] offset
:65535
1750 // CHECK
: [0xff,0xff,0xa4,0xd8,0x01,0xfe,0x00,0x00]
1752 ds_min_f64 v1
, v
[2:3]
1753 // CHECK
: [0x00,0x00,0xa4,0xd8,0x01,0x02,0x00,0x00]
1755 ds_min_f64 v1
, v
[2:3] offset
:0
1756 // CHECK
: [0x00,0x00,0xa4,0xd8,0x01,0x02,0x00,0x00]
1758 ds_min_f64 v1
, v
[2:3] offset
:4
1759 // CHECK
: [0x04,0x00,0xa4,0xd8,0x01,0x02,0x00,0x00]
1761 ds_min_f64 v1
, v
[2:3] offset
:65535 gds
1762 // CHECK
: [0xff,0xff,0xa5,0xd8,0x01,0x02,0x00,0x00]
1764 ds_max_f64 v1
, v
[2:3] offset
:65535
1765 // CHECK
: [0xff,0xff,0xa6,0xd8,0x01,0x02,0x00,0x00]
1767 ds_max_f64 v255
, v
[2:3] offset
:65535
1768 // CHECK
: [0xff,0xff,0xa6,0xd8,0xff,0x02,0x00,0x00]
1770 ds_max_f64 v1
, v
[254:255] offset
:65535
1771 // CHECK
: [0xff,0xff,0xa6,0xd8,0x01,0xfe,0x00,0x00]
1773 ds_max_f64 v1
, v
[2:3]
1774 // CHECK
: [0x00,0x00,0xa6,0xd8,0x01,0x02,0x00,0x00]
1776 ds_max_f64 v1
, v
[2:3] offset
:0
1777 // CHECK
: [0x00,0x00,0xa6,0xd8,0x01,0x02,0x00,0x00]
1779 ds_max_f64 v1
, v
[2:3] offset
:4
1780 // CHECK
: [0x04,0x00,0xa6,0xd8,0x01,0x02,0x00,0x00]
1782 ds_max_f64 v1
, v
[2:3] offset
:65535 gds
1783 // CHECK
: [0xff,0xff,0xa7,0xd8,0x01,0x02,0x00,0x00]
1785 ds_write_b8_d16_hi v1
, v2 offset
:65535
1786 // CHECK
: [0xff,0xff,0xa8,0xd8,0x01,0x02,0x00,0x00]
1788 ds_write_b8_d16_hi v255
, v2 offset
:65535
1789 // CHECK
: [0xff,0xff,0xa8,0xd8,0xff,0x02,0x00,0x00]
1791 ds_write_b8_d16_hi v1
, v255 offset
:65535
1792 // CHECK
: [0xff,0xff,0xa8,0xd8,0x01,0xff,0x00,0x00]
1794 ds_write_b8_d16_hi v1
, v2
1795 // CHECK
: [0x00,0x00,0xa8,0xd8,0x01,0x02,0x00,0x00]
1797 ds_write_b8_d16_hi v1
, v2 offset
:0
1798 // CHECK
: [0x00,0x00,0xa8,0xd8,0x01,0x02,0x00,0x00]
1800 ds_write_b8_d16_hi v1
, v2 offset
:4
1801 // CHECK
: [0x04,0x00,0xa8,0xd8,0x01,0x02,0x00,0x00]
1803 ds_write_b8_d16_hi v1
, v2 offset
:65535 gds
1804 // CHECK
: [0xff,0xff,0xa9,0xd8,0x01,0x02,0x00,0x00]
1806 ds_write_b16_d16_hi v1
, v2 offset
:65535
1807 // CHECK
: [0xff,0xff,0xaa,0xd8,0x01,0x02,0x00,0x00]
1809 ds_write_b16_d16_hi v255
, v2 offset
:65535
1810 // CHECK
: [0xff,0xff,0xaa,0xd8,0xff,0x02,0x00,0x00]
1812 ds_write_b16_d16_hi v1
, v255 offset
:65535
1813 // CHECK
: [0xff,0xff,0xaa,0xd8,0x01,0xff,0x00,0x00]
1815 ds_write_b16_d16_hi v1
, v2
1816 // CHECK
: [0x00,0x00,0xaa,0xd8,0x01,0x02,0x00,0x00]
1818 ds_write_b16_d16_hi v1
, v2 offset
:0
1819 // CHECK
: [0x00,0x00,0xaa,0xd8,0x01,0x02,0x00,0x00]
1821 ds_write_b16_d16_hi v1
, v2 offset
:4
1822 // CHECK
: [0x04,0x00,0xaa,0xd8,0x01,0x02,0x00,0x00]
1824 ds_write_b16_d16_hi v1
, v2 offset
:65535 gds
1825 // CHECK
: [0xff,0xff,0xab,0xd8,0x01,0x02,0x00,0x00]
1827 ds_read_u8_d16 v5
, v1 offset
:65535
1828 // CHECK
: [0xff,0xff,0xac,0xd8,0x01,0x00,0x00,0x05]
1830 ds_read_u8_d16 v255
, v1 offset
:65535
1831 // CHECK
: [0xff,0xff,0xac,0xd8,0x01,0x00,0x00,0xff]
1833 ds_read_u8_d16 v5
, v255 offset
:65535
1834 // CHECK
: [0xff,0xff,0xac,0xd8,0xff,0x00,0x00,0x05]
1836 ds_read_u8_d16 v5
, v1
1837 // CHECK
: [0x00,0x00,0xac,0xd8,0x01,0x00,0x00,0x05]
1839 ds_read_u8_d16 v5
, v1 offset
:0
1840 // CHECK
: [0x00,0x00,0xac,0xd8,0x01,0x00,0x00,0x05]
1842 ds_read_u8_d16 v5
, v1 offset
:4
1843 // CHECK
: [0x04,0x00,0xac,0xd8,0x01,0x00,0x00,0x05]
1845 ds_read_u8_d16 v5
, v1 offset
:65535 gds
1846 // CHECK
: [0xff,0xff,0xad,0xd8,0x01,0x00,0x00,0x05]
1848 ds_read_u8_d16_hi v5
, v1 offset
:65535
1849 // CHECK
: [0xff,0xff,0xae,0xd8,0x01,0x00,0x00,0x05]
1851 ds_read_u8_d16_hi v255
, v1 offset
:65535
1852 // CHECK
: [0xff,0xff,0xae,0xd8,0x01,0x00,0x00,0xff]
1854 ds_read_u8_d16_hi v5
, v255 offset
:65535
1855 // CHECK
: [0xff,0xff,0xae,0xd8,0xff,0x00,0x00,0x05]
1857 ds_read_u8_d16_hi v5
, v1
1858 // CHECK
: [0x00,0x00,0xae,0xd8,0x01,0x00,0x00,0x05]
1860 ds_read_u8_d16_hi v5
, v1 offset
:0
1861 // CHECK
: [0x00,0x00,0xae,0xd8,0x01,0x00,0x00,0x05]
1863 ds_read_u8_d16_hi v5
, v1 offset
:4
1864 // CHECK
: [0x04,0x00,0xae,0xd8,0x01,0x00,0x00,0x05]
1866 ds_read_u8_d16_hi v5
, v1 offset
:65535 gds
1867 // CHECK
: [0xff,0xff,0xaf,0xd8,0x01,0x00,0x00,0x05]
1869 ds_read_i8_d16 v5
, v1 offset
:65535
1870 // CHECK
: [0xff,0xff,0xb0,0xd8,0x01,0x00,0x00,0x05]
1872 ds_read_i8_d16 v255
, v1 offset
:65535
1873 // CHECK
: [0xff,0xff,0xb0,0xd8,0x01,0x00,0x00,0xff]
1875 ds_read_i8_d16 v5
, v255 offset
:65535
1876 // CHECK
: [0xff,0xff,0xb0,0xd8,0xff,0x00,0x00,0x05]
1878 ds_read_i8_d16 v5
, v1
1879 // CHECK
: [0x00,0x00,0xb0,0xd8,0x01,0x00,0x00,0x05]
1881 ds_read_i8_d16 v5
, v1 offset
:0
1882 // CHECK
: [0x00,0x00,0xb0,0xd8,0x01,0x00,0x00,0x05]
1884 ds_read_i8_d16 v5
, v1 offset
:4
1885 // CHECK
: [0x04,0x00,0xb0,0xd8,0x01,0x00,0x00,0x05]
1887 ds_read_i8_d16 v5
, v1 offset
:65535 gds
1888 // CHECK
: [0xff,0xff,0xb1,0xd8,0x01,0x00,0x00,0x05]
1890 ds_read_i8_d16_hi v5
, v1 offset
:65535
1891 // CHECK
: [0xff,0xff,0xb2,0xd8,0x01,0x00,0x00,0x05]
1893 ds_read_i8_d16_hi v255
, v1 offset
:65535
1894 // CHECK
: [0xff,0xff,0xb2,0xd8,0x01,0x00,0x00,0xff]
1896 ds_read_i8_d16_hi v5
, v255 offset
:65535
1897 // CHECK
: [0xff,0xff,0xb2,0xd8,0xff,0x00,0x00,0x05]
1899 ds_read_i8_d16_hi v5
, v1
1900 // CHECK
: [0x00,0x00,0xb2,0xd8,0x01,0x00,0x00,0x05]
1902 ds_read_i8_d16_hi v5
, v1 offset
:0
1903 // CHECK
: [0x00,0x00,0xb2,0xd8,0x01,0x00,0x00,0x05]
1905 ds_read_i8_d16_hi v5
, v1 offset
:4
1906 // CHECK
: [0x04,0x00,0xb2,0xd8,0x01,0x00,0x00,0x05]
1908 ds_read_i8_d16_hi v5
, v1 offset
:65535 gds
1909 // CHECK
: [0xff,0xff,0xb3,0xd8,0x01,0x00,0x00,0x05]
1911 ds_read_u16_d16 v5
, v1 offset
:65535
1912 // CHECK
: [0xff,0xff,0xb4,0xd8,0x01,0x00,0x00,0x05]
1914 ds_read_u16_d16 v255
, v1 offset
:65535
1915 // CHECK
: [0xff,0xff,0xb4,0xd8,0x01,0x00,0x00,0xff]
1917 ds_read_u16_d16 v5
, v255 offset
:65535
1918 // CHECK
: [0xff,0xff,0xb4,0xd8,0xff,0x00,0x00,0x05]
1920 ds_read_u16_d16 v5
, v1
1921 // CHECK
: [0x00,0x00,0xb4,0xd8,0x01,0x00,0x00,0x05]
1923 ds_read_u16_d16 v5
, v1 offset
:0
1924 // CHECK
: [0x00,0x00,0xb4,0xd8,0x01,0x00,0x00,0x05]
1926 ds_read_u16_d16 v5
, v1 offset
:4
1927 // CHECK
: [0x04,0x00,0xb4,0xd8,0x01,0x00,0x00,0x05]
1929 ds_read_u16_d16 v5
, v1 offset
:65535 gds
1930 // CHECK
: [0xff,0xff,0xb5,0xd8,0x01,0x00,0x00,0x05]
1932 ds_read_u16_d16_hi v5
, v1 offset
:65535
1933 // CHECK
: [0xff,0xff,0xb6,0xd8,0x01,0x00,0x00,0x05]
1935 ds_read_u16_d16_hi v255
, v1 offset
:65535
1936 // CHECK
: [0xff,0xff,0xb6,0xd8,0x01,0x00,0x00,0xff]
1938 ds_read_u16_d16_hi v5
, v255 offset
:65535
1939 // CHECK
: [0xff,0xff,0xb6,0xd8,0xff,0x00,0x00,0x05]
1941 ds_read_u16_d16_hi v5
, v1
1942 // CHECK
: [0x00,0x00,0xb6,0xd8,0x01,0x00,0x00,0x05]
1944 ds_read_u16_d16_hi v5
, v1 offset
:0
1945 // CHECK
: [0x00,0x00,0xb6,0xd8,0x01,0x00,0x00,0x05]
1947 ds_read_u16_d16_hi v5
, v1 offset
:4
1948 // CHECK
: [0x04,0x00,0xb6,0xd8,0x01,0x00,0x00,0x05]
1950 ds_read_u16_d16_hi v5
, v1 offset
:65535 gds
1951 // CHECK
: [0xff,0xff,0xb7,0xd8,0x01,0x00,0x00,0x05]
1953 ds_add_rtn_u64 v
[5:6], v1
, v
[2:3] offset
:65535
1954 // CHECK
: [0xff,0xff,0xc0,0xd8,0x01,0x02,0x00,0x05]
1956 ds_add_rtn_u64 v
[254:255], v1
, v
[2:3] offset
:65535
1957 // CHECK
: [0xff,0xff,0xc0,0xd8,0x01,0x02,0x00,0xfe]
1959 ds_add_rtn_u64 v
[5:6], v255
, v
[2:3] offset
:65535
1960 // CHECK
: [0xff,0xff,0xc0,0xd8,0xff,0x02,0x00,0x05]
1962 ds_add_rtn_u64 v
[5:6], v1
, v
[254:255] offset
:65535
1963 // CHECK
: [0xff,0xff,0xc0,0xd8,0x01,0xfe,0x00,0x05]
1965 ds_add_rtn_u64 v
[5:6], v1
, v
[2:3]
1966 // CHECK
: [0x00,0x00,0xc0,0xd8,0x01,0x02,0x00,0x05]
1968 ds_add_rtn_u64 v
[5:6], v1
, v
[2:3] offset
:0
1969 // CHECK
: [0x00,0x00,0xc0,0xd8,0x01,0x02,0x00,0x05]
1971 ds_add_rtn_u64 v
[5:6], v1
, v
[2:3] offset
:4
1972 // CHECK
: [0x04,0x00,0xc0,0xd8,0x01,0x02,0x00,0x05]
1974 ds_add_rtn_u64 v
[5:6], v1
, v
[2:3] offset
:65535 gds
1975 // CHECK
: [0xff,0xff,0xc1,0xd8,0x01,0x02,0x00,0x05]
1977 ds_sub_rtn_u64 v
[5:6], v1
, v
[2:3] offset
:65535
1978 // CHECK
: [0xff,0xff,0xc2,0xd8,0x01,0x02,0x00,0x05]
1980 ds_sub_rtn_u64 v
[254:255], v1
, v
[2:3] offset
:65535
1981 // CHECK
: [0xff,0xff,0xc2,0xd8,0x01,0x02,0x00,0xfe]
1983 ds_sub_rtn_u64 v
[5:6], v255
, v
[2:3] offset
:65535
1984 // CHECK
: [0xff,0xff,0xc2,0xd8,0xff,0x02,0x00,0x05]
1986 ds_sub_rtn_u64 v
[5:6], v1
, v
[254:255] offset
:65535
1987 // CHECK
: [0xff,0xff,0xc2,0xd8,0x01,0xfe,0x00,0x05]
1989 ds_sub_rtn_u64 v
[5:6], v1
, v
[2:3]
1990 // CHECK
: [0x00,0x00,0xc2,0xd8,0x01,0x02,0x00,0x05]
1992 ds_sub_rtn_u64 v
[5:6], v1
, v
[2:3] offset
:0
1993 // CHECK
: [0x00,0x00,0xc2,0xd8,0x01,0x02,0x00,0x05]
1995 ds_sub_rtn_u64 v
[5:6], v1
, v
[2:3] offset
:4
1996 // CHECK
: [0x04,0x00,0xc2,0xd8,0x01,0x02,0x00,0x05]
1998 ds_sub_rtn_u64 v
[5:6], v1
, v
[2:3] offset
:65535 gds
1999 // CHECK
: [0xff,0xff,0xc3,0xd8,0x01,0x02,0x00,0x05]
2001 ds_rsub_rtn_u64 v
[5:6], v1
, v
[2:3] offset
:65535
2002 // CHECK
: [0xff,0xff,0xc4,0xd8,0x01,0x02,0x00,0x05]
2004 ds_rsub_rtn_u64 v
[254:255], v1
, v
[2:3] offset
:65535
2005 // CHECK
: [0xff,0xff,0xc4,0xd8,0x01,0x02,0x00,0xfe]
2007 ds_rsub_rtn_u64 v
[5:6], v255
, v
[2:3] offset
:65535
2008 // CHECK
: [0xff,0xff,0xc4,0xd8,0xff,0x02,0x00,0x05]
2010 ds_rsub_rtn_u64 v
[5:6], v1
, v
[254:255] offset
:65535
2011 // CHECK
: [0xff,0xff,0xc4,0xd8,0x01,0xfe,0x00,0x05]
2013 ds_rsub_rtn_u64 v
[5:6], v1
, v
[2:3]
2014 // CHECK
: [0x00,0x00,0xc4,0xd8,0x01,0x02,0x00,0x05]
2016 ds_rsub_rtn_u64 v
[5:6], v1
, v
[2:3] offset
:0
2017 // CHECK
: [0x00,0x00,0xc4,0xd8,0x01,0x02,0x00,0x05]
2019 ds_rsub_rtn_u64 v
[5:6], v1
, v
[2:3] offset
:4
2020 // CHECK
: [0x04,0x00,0xc4,0xd8,0x01,0x02,0x00,0x05]
2022 ds_rsub_rtn_u64 v
[5:6], v1
, v
[2:3] offset
:65535 gds
2023 // CHECK
: [0xff,0xff,0xc5,0xd8,0x01,0x02,0x00,0x05]
2025 ds_inc_rtn_u64 v
[5:6], v1
, v
[2:3] offset
:65535
2026 // CHECK
: [0xff,0xff,0xc6,0xd8,0x01,0x02,0x00,0x05]
2028 ds_inc_rtn_u64 v
[254:255], v1
, v
[2:3] offset
:65535
2029 // CHECK
: [0xff,0xff,0xc6,0xd8,0x01,0x02,0x00,0xfe]
2031 ds_inc_rtn_u64 v
[5:6], v255
, v
[2:3] offset
:65535
2032 // CHECK
: [0xff,0xff,0xc6,0xd8,0xff,0x02,0x00,0x05]
2034 ds_inc_rtn_u64 v
[5:6], v1
, v
[254:255] offset
:65535
2035 // CHECK
: [0xff,0xff,0xc6,0xd8,0x01,0xfe,0x00,0x05]
2037 ds_inc_rtn_u64 v
[5:6], v1
, v
[2:3]
2038 // CHECK
: [0x00,0x00,0xc6,0xd8,0x01,0x02,0x00,0x05]
2040 ds_inc_rtn_u64 v
[5:6], v1
, v
[2:3] offset
:0
2041 // CHECK
: [0x00,0x00,0xc6,0xd8,0x01,0x02,0x00,0x05]
2043 ds_inc_rtn_u64 v
[5:6], v1
, v
[2:3] offset
:4
2044 // CHECK
: [0x04,0x00,0xc6,0xd8,0x01,0x02,0x00,0x05]
2046 ds_inc_rtn_u64 v
[5:6], v1
, v
[2:3] offset
:65535 gds
2047 // CHECK
: [0xff,0xff,0xc7,0xd8,0x01,0x02,0x00,0x05]
2049 ds_dec_rtn_u64 v
[5:6], v1
, v
[2:3] offset
:65535
2050 // CHECK
: [0xff,0xff,0xc8,0xd8,0x01,0x02,0x00,0x05]
2052 ds_dec_rtn_u64 v
[254:255], v1
, v
[2:3] offset
:65535
2053 // CHECK
: [0xff,0xff,0xc8,0xd8,0x01,0x02,0x00,0xfe]
2055 ds_dec_rtn_u64 v
[5:6], v255
, v
[2:3] offset
:65535
2056 // CHECK
: [0xff,0xff,0xc8,0xd8,0xff,0x02,0x00,0x05]
2058 ds_dec_rtn_u64 v
[5:6], v1
, v
[254:255] offset
:65535
2059 // CHECK
: [0xff,0xff,0xc8,0xd8,0x01,0xfe,0x00,0x05]
2061 ds_dec_rtn_u64 v
[5:6], v1
, v
[2:3]
2062 // CHECK
: [0x00,0x00,0xc8,0xd8,0x01,0x02,0x00,0x05]
2064 ds_dec_rtn_u64 v
[5:6], v1
, v
[2:3] offset
:0
2065 // CHECK
: [0x00,0x00,0xc8,0xd8,0x01,0x02,0x00,0x05]
2067 ds_dec_rtn_u64 v
[5:6], v1
, v
[2:3] offset
:4
2068 // CHECK
: [0x04,0x00,0xc8,0xd8,0x01,0x02,0x00,0x05]
2070 ds_dec_rtn_u64 v
[5:6], v1
, v
[2:3] offset
:65535 gds
2071 // CHECK
: [0xff,0xff,0xc9,0xd8,0x01,0x02,0x00,0x05]
2073 ds_min_rtn_i64 v
[5:6], v1
, v
[2:3] offset
:65535
2074 // CHECK
: [0xff,0xff,0xca,0xd8,0x01,0x02,0x00,0x05]
2076 ds_min_rtn_i64 v
[254:255], v1
, v
[2:3] offset
:65535
2077 // CHECK
: [0xff,0xff,0xca,0xd8,0x01,0x02,0x00,0xfe]
2079 ds_min_rtn_i64 v
[5:6], v255
, v
[2:3] offset
:65535
2080 // CHECK
: [0xff,0xff,0xca,0xd8,0xff,0x02,0x00,0x05]
2082 ds_min_rtn_i64 v
[5:6], v1
, v
[254:255] offset
:65535
2083 // CHECK
: [0xff,0xff,0xca,0xd8,0x01,0xfe,0x00,0x05]
2085 ds_min_rtn_i64 v
[5:6], v1
, v
[2:3]
2086 // CHECK
: [0x00,0x00,0xca,0xd8,0x01,0x02,0x00,0x05]
2088 ds_min_rtn_i64 v
[5:6], v1
, v
[2:3] offset
:0
2089 // CHECK
: [0x00,0x00,0xca,0xd8,0x01,0x02,0x00,0x05]
2091 ds_min_rtn_i64 v
[5:6], v1
, v
[2:3] offset
:4
2092 // CHECK
: [0x04,0x00,0xca,0xd8,0x01,0x02,0x00,0x05]
2094 ds_min_rtn_i64 v
[5:6], v1
, v
[2:3] offset
:65535 gds
2095 // CHECK
: [0xff,0xff,0xcb,0xd8,0x01,0x02,0x00,0x05]
2097 ds_max_rtn_i64 v
[5:6], v1
, v
[2:3] offset
:65535
2098 // CHECK
: [0xff,0xff,0xcc,0xd8,0x01,0x02,0x00,0x05]
2100 ds_max_rtn_i64 v
[254:255], v1
, v
[2:3] offset
:65535
2101 // CHECK
: [0xff,0xff,0xcc,0xd8,0x01,0x02,0x00,0xfe]
2103 ds_max_rtn_i64 v
[5:6], v255
, v
[2:3] offset
:65535
2104 // CHECK
: [0xff,0xff,0xcc,0xd8,0xff,0x02,0x00,0x05]
2106 ds_max_rtn_i64 v
[5:6], v1
, v
[254:255] offset
:65535
2107 // CHECK
: [0xff,0xff,0xcc,0xd8,0x01,0xfe,0x00,0x05]
2109 ds_max_rtn_i64 v
[5:6], v1
, v
[2:3]
2110 // CHECK
: [0x00,0x00,0xcc,0xd8,0x01,0x02,0x00,0x05]
2112 ds_max_rtn_i64 v
[5:6], v1
, v
[2:3] offset
:0
2113 // CHECK
: [0x00,0x00,0xcc,0xd8,0x01,0x02,0x00,0x05]
2115 ds_max_rtn_i64 v
[5:6], v1
, v
[2:3] offset
:4
2116 // CHECK
: [0x04,0x00,0xcc,0xd8,0x01,0x02,0x00,0x05]
2118 ds_max_rtn_i64 v
[5:6], v1
, v
[2:3] offset
:65535 gds
2119 // CHECK
: [0xff,0xff,0xcd,0xd8,0x01,0x02,0x00,0x05]
2121 ds_min_rtn_u64 v
[5:6], v1
, v
[2:3] offset
:65535
2122 // CHECK
: [0xff,0xff,0xce,0xd8,0x01,0x02,0x00,0x05]
2124 ds_min_rtn_u64 v
[254:255], v1
, v
[2:3] offset
:65535
2125 // CHECK
: [0xff,0xff,0xce,0xd8,0x01,0x02,0x00,0xfe]
2127 ds_min_rtn_u64 v
[5:6], v255
, v
[2:3] offset
:65535
2128 // CHECK
: [0xff,0xff,0xce,0xd8,0xff,0x02,0x00,0x05]
2130 ds_min_rtn_u64 v
[5:6], v1
, v
[254:255] offset
:65535
2131 // CHECK
: [0xff,0xff,0xce,0xd8,0x01,0xfe,0x00,0x05]
2133 ds_min_rtn_u64 v
[5:6], v1
, v
[2:3]
2134 // CHECK
: [0x00,0x00,0xce,0xd8,0x01,0x02,0x00,0x05]
2136 ds_min_rtn_u64 v
[5:6], v1
, v
[2:3] offset
:0
2137 // CHECK
: [0x00,0x00,0xce,0xd8,0x01,0x02,0x00,0x05]
2139 ds_min_rtn_u64 v
[5:6], v1
, v
[2:3] offset
:4
2140 // CHECK
: [0x04,0x00,0xce,0xd8,0x01,0x02,0x00,0x05]
2142 ds_min_rtn_u64 v
[5:6], v1
, v
[2:3] offset
:65535 gds
2143 // CHECK
: [0xff,0xff,0xcf,0xd8,0x01,0x02,0x00,0x05]
2145 ds_max_rtn_u64 v
[5:6], v1
, v
[2:3] offset
:65535
2146 // CHECK
: [0xff,0xff,0xd0,0xd8,0x01,0x02,0x00,0x05]
2148 ds_max_rtn_u64 v
[254:255], v1
, v
[2:3] offset
:65535
2149 // CHECK
: [0xff,0xff,0xd0,0xd8,0x01,0x02,0x00,0xfe]
2151 ds_max_rtn_u64 v
[5:6], v255
, v
[2:3] offset
:65535
2152 // CHECK
: [0xff,0xff,0xd0,0xd8,0xff,0x02,0x00,0x05]
2154 ds_max_rtn_u64 v
[5:6], v1
, v
[254:255] offset
:65535
2155 // CHECK
: [0xff,0xff,0xd0,0xd8,0x01,0xfe,0x00,0x05]
2157 ds_max_rtn_u64 v
[5:6], v1
, v
[2:3]
2158 // CHECK
: [0x00,0x00,0xd0,0xd8,0x01,0x02,0x00,0x05]
2160 ds_max_rtn_u64 v
[5:6], v1
, v
[2:3] offset
:0
2161 // CHECK
: [0x00,0x00,0xd0,0xd8,0x01,0x02,0x00,0x05]
2163 ds_max_rtn_u64 v
[5:6], v1
, v
[2:3] offset
:4
2164 // CHECK
: [0x04,0x00,0xd0,0xd8,0x01,0x02,0x00,0x05]
2166 ds_max_rtn_u64 v
[5:6], v1
, v
[2:3] offset
:65535 gds
2167 // CHECK
: [0xff,0xff,0xd1,0xd8,0x01,0x02,0x00,0x05]
2169 ds_and_rtn_b64 v
[5:6], v1
, v
[2:3] offset
:65535
2170 // CHECK
: [0xff,0xff,0xd2,0xd8,0x01,0x02,0x00,0x05]
2172 ds_and_rtn_b64 v
[254:255], v1
, v
[2:3] offset
:65535
2173 // CHECK
: [0xff,0xff,0xd2,0xd8,0x01,0x02,0x00,0xfe]
2175 ds_and_rtn_b64 v
[5:6], v255
, v
[2:3] offset
:65535
2176 // CHECK
: [0xff,0xff,0xd2,0xd8,0xff,0x02,0x00,0x05]
2178 ds_and_rtn_b64 v
[5:6], v1
, v
[254:255] offset
:65535
2179 // CHECK
: [0xff,0xff,0xd2,0xd8,0x01,0xfe,0x00,0x05]
2181 ds_and_rtn_b64 v
[5:6], v1
, v
[2:3]
2182 // CHECK
: [0x00,0x00,0xd2,0xd8,0x01,0x02,0x00,0x05]
2184 ds_and_rtn_b64 v
[5:6], v1
, v
[2:3] offset
:0
2185 // CHECK
: [0x00,0x00,0xd2,0xd8,0x01,0x02,0x00,0x05]
2187 ds_and_rtn_b64 v
[5:6], v1
, v
[2:3] offset
:4
2188 // CHECK
: [0x04,0x00,0xd2,0xd8,0x01,0x02,0x00,0x05]
2190 ds_and_rtn_b64 v
[5:6], v1
, v
[2:3] offset
:65535 gds
2191 // CHECK
: [0xff,0xff,0xd3,0xd8,0x01,0x02,0x00,0x05]
2193 ds_or_rtn_b64 v
[5:6], v1
, v
[2:3] offset
:65535
2194 // CHECK
: [0xff,0xff,0xd4,0xd8,0x01,0x02,0x00,0x05]
2196 ds_or_rtn_b64 v
[254:255], v1
, v
[2:3] offset
:65535
2197 // CHECK
: [0xff,0xff,0xd4,0xd8,0x01,0x02,0x00,0xfe]
2199 ds_or_rtn_b64 v
[5:6], v255
, v
[2:3] offset
:65535
2200 // CHECK
: [0xff,0xff,0xd4,0xd8,0xff,0x02,0x00,0x05]
2202 ds_or_rtn_b64 v
[5:6], v1
, v
[254:255] offset
:65535
2203 // CHECK
: [0xff,0xff,0xd4,0xd8,0x01,0xfe,0x00,0x05]
2205 ds_or_rtn_b64 v
[5:6], v1
, v
[2:3]
2206 // CHECK
: [0x00,0x00,0xd4,0xd8,0x01,0x02,0x00,0x05]
2208 ds_or_rtn_b64 v
[5:6], v1
, v
[2:3] offset
:0
2209 // CHECK
: [0x00,0x00,0xd4,0xd8,0x01,0x02,0x00,0x05]
2211 ds_or_rtn_b64 v
[5:6], v1
, v
[2:3] offset
:4
2212 // CHECK
: [0x04,0x00,0xd4,0xd8,0x01,0x02,0x00,0x05]
2214 ds_or_rtn_b64 v
[5:6], v1
, v
[2:3] offset
:65535 gds
2215 // CHECK
: [0xff,0xff,0xd5,0xd8,0x01,0x02,0x00,0x05]
2217 ds_xor_rtn_b64 v
[5:6], v1
, v
[2:3] offset
:65535
2218 // CHECK
: [0xff,0xff,0xd6,0xd8,0x01,0x02,0x00,0x05]
2220 ds_xor_rtn_b64 v
[254:255], v1
, v
[2:3] offset
:65535
2221 // CHECK
: [0xff,0xff,0xd6,0xd8,0x01,0x02,0x00,0xfe]
2223 ds_xor_rtn_b64 v
[5:6], v255
, v
[2:3] offset
:65535
2224 // CHECK
: [0xff,0xff,0xd6,0xd8,0xff,0x02,0x00,0x05]
2226 ds_xor_rtn_b64 v
[5:6], v1
, v
[254:255] offset
:65535
2227 // CHECK
: [0xff,0xff,0xd6,0xd8,0x01,0xfe,0x00,0x05]
2229 ds_xor_rtn_b64 v
[5:6], v1
, v
[2:3]
2230 // CHECK
: [0x00,0x00,0xd6,0xd8,0x01,0x02,0x00,0x05]
2232 ds_xor_rtn_b64 v
[5:6], v1
, v
[2:3] offset
:0
2233 // CHECK
: [0x00,0x00,0xd6,0xd8,0x01,0x02,0x00,0x05]
2235 ds_xor_rtn_b64 v
[5:6], v1
, v
[2:3] offset
:4
2236 // CHECK
: [0x04,0x00,0xd6,0xd8,0x01,0x02,0x00,0x05]
2238 ds_xor_rtn_b64 v
[5:6], v1
, v
[2:3] offset
:65535 gds
2239 // CHECK
: [0xff,0xff,0xd7,0xd8,0x01,0x02,0x00,0x05]
2241 ds_mskor_rtn_b64 v
[5:6], v1
, v
[2:3], v
[3:4] offset
:65535
2242 // CHECK
: [0xff,0xff,0xd8,0xd8,0x01,0x02,0x03,0x05]
2244 ds_mskor_rtn_b64 v
[254:255], v1
, v
[2:3], v
[3:4] offset
:65535
2245 // CHECK
: [0xff,0xff,0xd8,0xd8,0x01,0x02,0x03,0xfe]
2247 ds_mskor_rtn_b64 v
[5:6], v255
, v
[2:3], v
[3:4] offset
:65535
2248 // CHECK
: [0xff,0xff,0xd8,0xd8,0xff,0x02,0x03,0x05]
2250 ds_mskor_rtn_b64 v
[5:6], v1
, v
[254:255], v
[3:4] offset
:65535
2251 // CHECK
: [0xff,0xff,0xd8,0xd8,0x01,0xfe,0x03,0x05]
2253 ds_mskor_rtn_b64 v
[5:6], v1
, v
[2:3], v
[254:255] offset
:65535
2254 // CHECK
: [0xff,0xff,0xd8,0xd8,0x01,0x02,0xfe,0x05]
2256 ds_mskor_rtn_b64 v
[5:6], v1
, v
[2:3], v
[3:4]
2257 // CHECK
: [0x00,0x00,0xd8,0xd8,0x01,0x02,0x03,0x05]
2259 ds_mskor_rtn_b64 v
[5:6], v1
, v
[2:3], v
[3:4] offset
:0
2260 // CHECK
: [0x00,0x00,0xd8,0xd8,0x01,0x02,0x03,0x05]
2262 ds_mskor_rtn_b64 v
[5:6], v1
, v
[2:3], v
[3:4] offset
:4
2263 // CHECK
: [0x04,0x00,0xd8,0xd8,0x01,0x02,0x03,0x05]
2265 ds_mskor_rtn_b64 v
[5:6], v1
, v
[2:3], v
[3:4] offset
:65535 gds
2266 // CHECK
: [0xff,0xff,0xd9,0xd8,0x01,0x02,0x03,0x05]
2268 ds_wrxchg_rtn_b64 v
[5:6], v1
, v
[2:3] offset
:65535
2269 // CHECK
: [0xff,0xff,0xda,0xd8,0x01,0x02,0x00,0x05]
2271 ds_wrxchg_rtn_b64 v
[254:255], v1
, v
[2:3] offset
:65535
2272 // CHECK
: [0xff,0xff,0xda,0xd8,0x01,0x02,0x00,0xfe]
2274 ds_wrxchg_rtn_b64 v
[5:6], v255
, v
[2:3] offset
:65535
2275 // CHECK
: [0xff,0xff,0xda,0xd8,0xff,0x02,0x00,0x05]
2277 ds_wrxchg_rtn_b64 v
[5:6], v1
, v
[254:255] offset
:65535
2278 // CHECK
: [0xff,0xff,0xda,0xd8,0x01,0xfe,0x00,0x05]
2280 ds_wrxchg_rtn_b64 v
[5:6], v1
, v
[2:3]
2281 // CHECK
: [0x00,0x00,0xda,0xd8,0x01,0x02,0x00,0x05]
2283 ds_wrxchg_rtn_b64 v
[5:6], v1
, v
[2:3] offset
:0
2284 // CHECK
: [0x00,0x00,0xda,0xd8,0x01,0x02,0x00,0x05]
2286 ds_wrxchg_rtn_b64 v
[5:6], v1
, v
[2:3] offset
:4
2287 // CHECK
: [0x04,0x00,0xda,0xd8,0x01,0x02,0x00,0x05]
2289 ds_wrxchg_rtn_b64 v
[5:6], v1
, v
[2:3] offset
:65535 gds
2290 // CHECK
: [0xff,0xff,0xdb,0xd8,0x01,0x02,0x00,0x05]
2292 ds_wrxchg2_rtn_b64 v
[5:8], v1
, v
[2:3], v
[3:4] offset0
:127 offset1
:255
2293 // CHECK
: [0x7f,0xff,0xdc,0xd8,0x01,0x02,0x03,0x05]
2295 ds_wrxchg2_rtn_b64 v
[252:255], v1
, v
[2:3], v
[3:4] offset0
:127 offset1
:255
2296 // CHECK
: [0x7f,0xff,0xdc,0xd8,0x01,0x02,0x03,0xfc]
2298 ds_wrxchg2_rtn_b64 v
[5:8], v255
, v
[2:3], v
[3:4] offset0
:127 offset1
:255
2299 // CHECK
: [0x7f,0xff,0xdc,0xd8,0xff,0x02,0x03,0x05]
2301 ds_wrxchg2_rtn_b64 v
[5:8], v1
, v
[254:255], v
[3:4] offset0
:127 offset1
:255
2302 // CHECK
: [0x7f,0xff,0xdc,0xd8,0x01,0xfe,0x03,0x05]
2304 ds_wrxchg2_rtn_b64 v
[5:8], v1
, v
[2:3], v
[254:255] offset0
:127 offset1
:255
2305 // CHECK
: [0x7f,0xff,0xdc,0xd8,0x01,0x02,0xfe,0x05]
2307 ds_wrxchg2_rtn_b64 v
[5:8], v1
, v
[2:3], v
[3:4] offset1
:255
2308 // CHECK
: [0x00,0xff,0xdc,0xd8,0x01,0x02,0x03,0x05]
2310 ds_wrxchg2_rtn_b64 v
[5:8], v1
, v
[2:3], v
[3:4] offset0
:0 offset1
:255
2311 // CHECK
: [0x00,0xff,0xdc,0xd8,0x01,0x02,0x03,0x05]
2313 ds_wrxchg2_rtn_b64 v
[5:8], v1
, v
[2:3], v
[3:4] offset0
:16 offset1
:255
2314 // CHECK
: [0x10,0xff,0xdc,0xd8,0x01,0x02,0x03,0x05]
2316 ds_wrxchg2_rtn_b64 v
[5:8], v1
, v
[2:3], v
[3:4] offset0
:127
2317 // CHECK
: [0x7f,0x00,0xdc,0xd8,0x01,0x02,0x03,0x05]
2319 ds_wrxchg2_rtn_b64 v
[5:8], v1
, v
[2:3], v
[3:4] offset0
:127 offset1
:0
2320 // CHECK
: [0x7f,0x00,0xdc,0xd8,0x01,0x02,0x03,0x05]
2322 ds_wrxchg2_rtn_b64 v
[5:8], v1
, v
[2:3], v
[3:4] offset0
:127 offset1
:1
2323 // CHECK
: [0x7f,0x01,0xdc,0xd8,0x01,0x02,0x03,0x05]
2325 ds_wrxchg2_rtn_b64 v
[5:8], v1
, v
[2:3], v
[3:4] offset0
:127 offset1
:255 gds
2326 // CHECK
: [0x7f,0xff,0xdd,0xd8,0x01,0x02,0x03,0x05]
2328 ds_wrxchg2st64_rtn_b64 v
[5:8], v1
, v
[2:3], v
[3:4] offset0
:127 offset1
:255
2329 // CHECK
: [0x7f,0xff,0xde,0xd8,0x01,0x02,0x03,0x05]
2331 ds_wrxchg2st64_rtn_b64 v
[252:255], v1
, v
[2:3], v
[3:4] offset0
:127 offset1
:255
2332 // CHECK
: [0x7f,0xff,0xde,0xd8,0x01,0x02,0x03,0xfc]
2334 ds_wrxchg2st64_rtn_b64 v
[5:8], v255
, v
[2:3], v
[3:4] offset0
:127 offset1
:255
2335 // CHECK
: [0x7f,0xff,0xde,0xd8,0xff,0x02,0x03,0x05]
2337 ds_wrxchg2st64_rtn_b64 v
[5:8], v1
, v
[254:255], v
[3:4] offset0
:127 offset1
:255
2338 // CHECK
: [0x7f,0xff,0xde,0xd8,0x01,0xfe,0x03,0x05]
2340 ds_wrxchg2st64_rtn_b64 v
[5:8], v1
, v
[2:3], v
[254:255] offset0
:127 offset1
:255
2341 // CHECK
: [0x7f,0xff,0xde,0xd8,0x01,0x02,0xfe,0x05]
2343 ds_wrxchg2st64_rtn_b64 v
[5:8], v1
, v
[2:3], v
[3:4] offset1
:255
2344 // CHECK
: [0x00,0xff,0xde,0xd8,0x01,0x02,0x03,0x05]
2346 ds_wrxchg2st64_rtn_b64 v
[5:8], v1
, v
[2:3], v
[3:4] offset0
:0 offset1
:255
2347 // CHECK
: [0x00,0xff,0xde,0xd8,0x01,0x02,0x03,0x05]
2349 ds_wrxchg2st64_rtn_b64 v
[5:8], v1
, v
[2:3], v
[3:4] offset0
:16 offset1
:255
2350 // CHECK
: [0x10,0xff,0xde,0xd8,0x01,0x02,0x03,0x05]
2352 ds_wrxchg2st64_rtn_b64 v
[5:8], v1
, v
[2:3], v
[3:4] offset0
:127
2353 // CHECK
: [0x7f,0x00,0xde,0xd8,0x01,0x02,0x03,0x05]
2355 ds_wrxchg2st64_rtn_b64 v
[5:8], v1
, v
[2:3], v
[3:4] offset0
:127 offset1
:0
2356 // CHECK
: [0x7f,0x00,0xde,0xd8,0x01,0x02,0x03,0x05]
2358 ds_wrxchg2st64_rtn_b64 v
[5:8], v1
, v
[2:3], v
[3:4] offset0
:127 offset1
:1
2359 // CHECK
: [0x7f,0x01,0xde,0xd8,0x01,0x02,0x03,0x05]
2361 ds_wrxchg2st64_rtn_b64 v
[5:8], v1
, v
[2:3], v
[3:4] offset0
:127 offset1
:255 gds
2362 // CHECK
: [0x7f,0xff,0xdf,0xd8,0x01,0x02,0x03,0x05]
2364 ds_cmpst_rtn_b64 v
[5:6], v1
, v
[2:3], v
[3:4] offset
:65535
2365 // CHECK
: [0xff,0xff,0xe0,0xd8,0x01,0x02,0x03,0x05]
2367 ds_cmpst_rtn_b64 v
[254:255], v1
, v
[2:3], v
[3:4] offset
:65535
2368 // CHECK
: [0xff,0xff,0xe0,0xd8,0x01,0x02,0x03,0xfe]
2370 ds_cmpst_rtn_b64 v
[5:6], v255
, v
[2:3], v
[3:4] offset
:65535
2371 // CHECK
: [0xff,0xff,0xe0,0xd8,0xff,0x02,0x03,0x05]
2373 ds_cmpst_rtn_b64 v
[5:6], v1
, v
[254:255], v
[3:4] offset
:65535
2374 // CHECK
: [0xff,0xff,0xe0,0xd8,0x01,0xfe,0x03,0x05]
2376 ds_cmpst_rtn_b64 v
[5:6], v1
, v
[2:3], v
[254:255] offset
:65535
2377 // CHECK
: [0xff,0xff,0xe0,0xd8,0x01,0x02,0xfe,0x05]
2379 ds_cmpst_rtn_b64 v
[5:6], v1
, v
[2:3], v
[3:4]
2380 // CHECK
: [0x00,0x00,0xe0,0xd8,0x01,0x02,0x03,0x05]
2382 ds_cmpst_rtn_b64 v
[5:6], v1
, v
[2:3], v
[3:4] offset
:0
2383 // CHECK
: [0x00,0x00,0xe0,0xd8,0x01,0x02,0x03,0x05]
2385 ds_cmpst_rtn_b64 v
[5:6], v1
, v
[2:3], v
[3:4] offset
:4
2386 // CHECK
: [0x04,0x00,0xe0,0xd8,0x01,0x02,0x03,0x05]
2388 ds_cmpst_rtn_b64 v
[5:6], v1
, v
[2:3], v
[3:4] offset
:65535 gds
2389 // CHECK
: [0xff,0xff,0xe1,0xd8,0x01,0x02,0x03,0x05]
2391 ds_cmpst_rtn_f64 v
[5:6], v1
, v
[2:3], v
[3:4] offset
:65535
2392 // CHECK
: [0xff,0xff,0xe2,0xd8,0x01,0x02,0x03,0x05]
2394 ds_cmpst_rtn_f64 v
[254:255], v1
, v
[2:3], v
[3:4] offset
:65535
2395 // CHECK
: [0xff,0xff,0xe2,0xd8,0x01,0x02,0x03,0xfe]
2397 ds_cmpst_rtn_f64 v
[5:6], v255
, v
[2:3], v
[3:4] offset
:65535
2398 // CHECK
: [0xff,0xff,0xe2,0xd8,0xff,0x02,0x03,0x05]
2400 ds_cmpst_rtn_f64 v
[5:6], v1
, v
[254:255], v
[3:4] offset
:65535
2401 // CHECK
: [0xff,0xff,0xe2,0xd8,0x01,0xfe,0x03,0x05]
2403 ds_cmpst_rtn_f64 v
[5:6], v1
, v
[2:3], v
[254:255] offset
:65535
2404 // CHECK
: [0xff,0xff,0xe2,0xd8,0x01,0x02,0xfe,0x05]
2406 ds_cmpst_rtn_f64 v
[5:6], v1
, v
[2:3], v
[3:4]
2407 // CHECK
: [0x00,0x00,0xe2,0xd8,0x01,0x02,0x03,0x05]
2409 ds_cmpst_rtn_f64 v
[5:6], v1
, v
[2:3], v
[3:4] offset
:0
2410 // CHECK
: [0x00,0x00,0xe2,0xd8,0x01,0x02,0x03,0x05]
2412 ds_cmpst_rtn_f64 v
[5:6], v1
, v
[2:3], v
[3:4] offset
:4
2413 // CHECK
: [0x04,0x00,0xe2,0xd8,0x01,0x02,0x03,0x05]
2415 ds_cmpst_rtn_f64 v
[5:6], v1
, v
[2:3], v
[3:4] offset
:65535 gds
2416 // CHECK
: [0xff,0xff,0xe3,0xd8,0x01,0x02,0x03,0x05]
2418 ds_min_rtn_f64 v
[5:6], v1
, v
[2:3] offset
:65535
2419 // CHECK
: [0xff,0xff,0xe4,0xd8,0x01,0x02,0x00,0x05]
2421 ds_min_rtn_f64 v
[254:255], v1
, v
[2:3] offset
:65535
2422 // CHECK
: [0xff,0xff,0xe4,0xd8,0x01,0x02,0x00,0xfe]
2424 ds_min_rtn_f64 v
[5:6], v255
, v
[2:3] offset
:65535
2425 // CHECK
: [0xff,0xff,0xe4,0xd8,0xff,0x02,0x00,0x05]
2427 ds_min_rtn_f64 v
[5:6], v1
, v
[254:255] offset
:65535
2428 // CHECK
: [0xff,0xff,0xe4,0xd8,0x01,0xfe,0x00,0x05]
2430 ds_min_rtn_f64 v
[5:6], v1
, v
[2:3]
2431 // CHECK
: [0x00,0x00,0xe4,0xd8,0x01,0x02,0x00,0x05]
2433 ds_min_rtn_f64 v
[5:6], v1
, v
[2:3] offset
:0
2434 // CHECK
: [0x00,0x00,0xe4,0xd8,0x01,0x02,0x00,0x05]
2436 ds_min_rtn_f64 v
[5:6], v1
, v
[2:3] offset
:4
2437 // CHECK
: [0x04,0x00,0xe4,0xd8,0x01,0x02,0x00,0x05]
2439 ds_min_rtn_f64 v
[5:6], v1
, v
[2:3] offset
:65535 gds
2440 // CHECK
: [0xff,0xff,0xe5,0xd8,0x01,0x02,0x00,0x05]
2442 ds_max_rtn_f64 v
[5:6], v1
, v
[2:3] offset
:65535
2443 // CHECK
: [0xff,0xff,0xe6,0xd8,0x01,0x02,0x00,0x05]
2445 ds_max_rtn_f64 v
[254:255], v1
, v
[2:3] offset
:65535
2446 // CHECK
: [0xff,0xff,0xe6,0xd8,0x01,0x02,0x00,0xfe]
2448 ds_max_rtn_f64 v
[5:6], v255
, v
[2:3] offset
:65535
2449 // CHECK
: [0xff,0xff,0xe6,0xd8,0xff,0x02,0x00,0x05]
2451 ds_max_rtn_f64 v
[5:6], v1
, v
[254:255] offset
:65535
2452 // CHECK
: [0xff,0xff,0xe6,0xd8,0x01,0xfe,0x00,0x05]
2454 ds_max_rtn_f64 v
[5:6], v1
, v
[2:3]
2455 // CHECK
: [0x00,0x00,0xe6,0xd8,0x01,0x02,0x00,0x05]
2457 ds_max_rtn_f64 v
[5:6], v1
, v
[2:3] offset
:0
2458 // CHECK
: [0x00,0x00,0xe6,0xd8,0x01,0x02,0x00,0x05]
2460 ds_max_rtn_f64 v
[5:6], v1
, v
[2:3] offset
:4
2461 // CHECK
: [0x04,0x00,0xe6,0xd8,0x01,0x02,0x00,0x05]
2463 ds_max_rtn_f64 v
[5:6], v1
, v
[2:3] offset
:65535 gds
2464 // CHECK
: [0xff,0xff,0xe7,0xd8,0x01,0x02,0x00,0x05]
2466 ds_read_b64 v
[5:6], v1 offset
:65535
2467 // CHECK
: [0xff,0xff,0xec,0xd8,0x01,0x00,0x00,0x05]
2469 ds_read_b64 v
[254:255], v1 offset
:65535
2470 // CHECK
: [0xff,0xff,0xec,0xd8,0x01,0x00,0x00,0xfe]
2472 ds_read_b64 v
[5:6], v255 offset
:65535
2473 // CHECK
: [0xff,0xff,0xec,0xd8,0xff,0x00,0x00,0x05]
2475 ds_read_b64 v
[5:6], v1
2476 // CHECK
: [0x00,0x00,0xec,0xd8,0x01,0x00,0x00,0x05]
2478 ds_read_b64 v
[5:6], v1 offset
:0
2479 // CHECK
: [0x00,0x00,0xec,0xd8,0x01,0x00,0x00,0x05]
2481 ds_read_b64 v
[5:6], v1 offset
:4
2482 // CHECK
: [0x04,0x00,0xec,0xd8,0x01,0x00,0x00,0x05]
2484 ds_read_b64 v
[5:6], v1 offset
:65535 gds
2485 // CHECK
: [0xff,0xff,0xed,0xd8,0x01,0x00,0x00,0x05]
2487 ds_read2_b64 v
[5:8], v1 offset0
:127 offset1
:255
2488 // CHECK
: [0x7f,0xff,0xee,0xd8,0x01,0x00,0x00,0x05]
2490 ds_read2_b64 v
[252:255], v1 offset0
:127 offset1
:255
2491 // CHECK
: [0x7f,0xff,0xee,0xd8,0x01,0x00,0x00,0xfc]
2493 ds_read2_b64 v
[5:8], v255 offset0
:127 offset1
:255
2494 // CHECK
: [0x7f,0xff,0xee,0xd8,0xff,0x00,0x00,0x05]
2496 ds_read2_b64 v
[5:8], v1 offset1
:255
2497 // CHECK
: [0x00,0xff,0xee,0xd8,0x01,0x00,0x00,0x05]
2499 ds_read2_b64 v
[5:8], v1 offset0
:0 offset1
:255
2500 // CHECK
: [0x00,0xff,0xee,0xd8,0x01,0x00,0x00,0x05]
2502 ds_read2_b64 v
[5:8], v1 offset0
:16 offset1
:255
2503 // CHECK
: [0x10,0xff,0xee,0xd8,0x01,0x00,0x00,0x05]
2505 ds_read2_b64 v
[5:8], v1 offset0
:127
2506 // CHECK
: [0x7f,0x00,0xee,0xd8,0x01,0x00,0x00,0x05]
2508 ds_read2_b64 v
[5:8], v1 offset0
:127 offset1
:0
2509 // CHECK
: [0x7f,0x00,0xee,0xd8,0x01,0x00,0x00,0x05]
2511 ds_read2_b64 v
[5:8], v1 offset0
:127 offset1
:1
2512 // CHECK
: [0x7f,0x01,0xee,0xd8,0x01,0x00,0x00,0x05]
2514 ds_read2_b64 v
[5:8], v1 offset0
:127 offset1
:255 gds
2515 // CHECK
: [0x7f,0xff,0xef,0xd8,0x01,0x00,0x00,0x05]
2517 ds_read2st64_b64 v
[5:8], v1 offset0
:127 offset1
:255
2518 // CHECK
: [0x7f,0xff,0xf0,0xd8,0x01,0x00,0x00,0x05]
2520 ds_read2st64_b64 v
[252:255], v1 offset0
:127 offset1
:255
2521 // CHECK
: [0x7f,0xff,0xf0,0xd8,0x01,0x00,0x00,0xfc]
2523 ds_read2st64_b64 v
[5:8], v255 offset0
:127 offset1
:255
2524 // CHECK
: [0x7f,0xff,0xf0,0xd8,0xff,0x00,0x00,0x05]
2526 ds_read2st64_b64 v
[5:8], v1 offset1
:255
2527 // CHECK
: [0x00,0xff,0xf0,0xd8,0x01,0x00,0x00,0x05]
2529 ds_read2st64_b64 v
[5:8], v1 offset0
:0 offset1
:255
2530 // CHECK
: [0x00,0xff,0xf0,0xd8,0x01,0x00,0x00,0x05]
2532 ds_read2st64_b64 v
[5:8], v1 offset0
:16 offset1
:255
2533 // CHECK
: [0x10,0xff,0xf0,0xd8,0x01,0x00,0x00,0x05]
2535 ds_read2st64_b64 v
[5:8], v1 offset0
:127
2536 // CHECK
: [0x7f,0x00,0xf0,0xd8,0x01,0x00,0x00,0x05]
2538 ds_read2st64_b64 v
[5:8], v1 offset0
:127 offset1
:0
2539 // CHECK
: [0x7f,0x00,0xf0,0xd8,0x01,0x00,0x00,0x05]
2541 ds_read2st64_b64 v
[5:8], v1 offset0
:127 offset1
:1
2542 // CHECK
: [0x7f,0x01,0xf0,0xd8,0x01,0x00,0x00,0x05]
2544 ds_read2st64_b64 v
[5:8], v1 offset0
:127 offset1
:255 gds
2545 // CHECK
: [0x7f,0xff,0xf1,0xd8,0x01,0x00,0x00,0x05]
2547 ds_condxchg32_rtn_b64 v
[5:6], v1
, v
[2:3] offset
:65535
2548 // CHECK
: [0xff,0xff,0xfc,0xd8,0x01,0x02,0x00,0x05]
2550 ds_condxchg32_rtn_b64 v
[254:255], v1
, v
[2:3] offset
:65535
2551 // CHECK
: [0xff,0xff,0xfc,0xd8,0x01,0x02,0x00,0xfe]
2553 ds_condxchg32_rtn_b64 v
[5:6], v255
, v
[2:3] offset
:65535
2554 // CHECK
: [0xff,0xff,0xfc,0xd8,0xff,0x02,0x00,0x05]
2556 ds_condxchg32_rtn_b64 v
[5:6], v1
, v
[254:255] offset
:65535
2557 // CHECK
: [0xff,0xff,0xfc,0xd8,0x01,0xfe,0x00,0x05]
2559 ds_condxchg32_rtn_b64 v
[5:6], v1
, v
[2:3]
2560 // CHECK
: [0x00,0x00,0xfc,0xd8,0x01,0x02,0x00,0x05]
2562 ds_condxchg32_rtn_b64 v
[5:6], v1
, v
[2:3] offset
:0
2563 // CHECK
: [0x00,0x00,0xfc,0xd8,0x01,0x02,0x00,0x05]
2565 ds_condxchg32_rtn_b64 v
[5:6], v1
, v
[2:3] offset
:4
2566 // CHECK
: [0x04,0x00,0xfc,0xd8,0x01,0x02,0x00,0x05]
2568 ds_condxchg32_rtn_b64 v
[5:6], v1
, v
[2:3] offset
:65535 gds
2569 // CHECK
: [0xff,0xff,0xfd,0xd8,0x01,0x02,0x00,0x05]
2571 ds_add_src2_u32 v1 offset
:65535
2572 // CHECK
: [0xff,0xff,0x00,0xd9,0x01,0x00,0x00,0x00]
2574 ds_add_src2_u32 v255 offset
:65535
2575 // CHECK
: [0xff,0xff,0x00,0xd9,0xff,0x00,0x00,0x00]
2578 // CHECK
: [0x00,0x00,0x00,0xd9,0x01,0x00,0x00,0x00]
2580 ds_add_src2_u32 v1 offset
:0
2581 // CHECK
: [0x00,0x00,0x00,0xd9,0x01,0x00,0x00,0x00]
2583 ds_add_src2_u32 v1 offset
:4
2584 // CHECK
: [0x04,0x00,0x00,0xd9,0x01,0x00,0x00,0x00]
2586 ds_add_src2_u32 v1 offset
:65535 gds
2587 // CHECK
: [0xff,0xff,0x01,0xd9,0x01,0x00,0x00,0x00]
2589 ds_sub_src2_u32 v1 offset
:65535
2590 // CHECK
: [0xff,0xff,0x02,0xd9,0x01,0x00,0x00,0x00]
2592 ds_sub_src2_u32 v255 offset
:65535
2593 // CHECK
: [0xff,0xff,0x02,0xd9,0xff,0x00,0x00,0x00]
2596 // CHECK
: [0x00,0x00,0x02,0xd9,0x01,0x00,0x00,0x00]
2598 ds_sub_src2_u32 v1 offset
:0
2599 // CHECK
: [0x00,0x00,0x02,0xd9,0x01,0x00,0x00,0x00]
2601 ds_sub_src2_u32 v1 offset
:4
2602 // CHECK
: [0x04,0x00,0x02,0xd9,0x01,0x00,0x00,0x00]
2604 ds_sub_src2_u32 v1 offset
:65535 gds
2605 // CHECK
: [0xff,0xff,0x03,0xd9,0x01,0x00,0x00,0x00]
2607 ds_rsub_src2_u32 v1 offset
:65535
2608 // CHECK
: [0xff,0xff,0x04,0xd9,0x01,0x00,0x00,0x00]
2610 ds_rsub_src2_u32 v255 offset
:65535
2611 // CHECK
: [0xff,0xff,0x04,0xd9,0xff,0x00,0x00,0x00]
2614 // CHECK
: [0x00,0x00,0x04,0xd9,0x01,0x00,0x00,0x00]
2616 ds_rsub_src2_u32 v1 offset
:0
2617 // CHECK
: [0x00,0x00,0x04,0xd9,0x01,0x00,0x00,0x00]
2619 ds_rsub_src2_u32 v1 offset
:4
2620 // CHECK
: [0x04,0x00,0x04,0xd9,0x01,0x00,0x00,0x00]
2622 ds_rsub_src2_u32 v1 offset
:65535 gds
2623 // CHECK
: [0xff,0xff,0x05,0xd9,0x01,0x00,0x00,0x00]
2625 ds_inc_src2_u32 v1 offset
:65535
2626 // CHECK
: [0xff,0xff,0x06,0xd9,0x01,0x00,0x00,0x00]
2628 ds_inc_src2_u32 v255 offset
:65535
2629 // CHECK
: [0xff,0xff,0x06,0xd9,0xff,0x00,0x00,0x00]
2632 // CHECK
: [0x00,0x00,0x06,0xd9,0x01,0x00,0x00,0x00]
2634 ds_inc_src2_u32 v1 offset
:0
2635 // CHECK
: [0x00,0x00,0x06,0xd9,0x01,0x00,0x00,0x00]
2637 ds_inc_src2_u32 v1 offset
:4
2638 // CHECK
: [0x04,0x00,0x06,0xd9,0x01,0x00,0x00,0x00]
2640 ds_inc_src2_u32 v1 offset
:65535 gds
2641 // CHECK
: [0xff,0xff,0x07,0xd9,0x01,0x00,0x00,0x00]
2643 ds_dec_src2_u32 v1 offset
:65535
2644 // CHECK
: [0xff,0xff,0x08,0xd9,0x01,0x00,0x00,0x00]
2646 ds_dec_src2_u32 v255 offset
:65535
2647 // CHECK
: [0xff,0xff,0x08,0xd9,0xff,0x00,0x00,0x00]
2650 // CHECK
: [0x00,0x00,0x08,0xd9,0x01,0x00,0x00,0x00]
2652 ds_dec_src2_u32 v1 offset
:0
2653 // CHECK
: [0x00,0x00,0x08,0xd9,0x01,0x00,0x00,0x00]
2655 ds_dec_src2_u32 v1 offset
:4
2656 // CHECK
: [0x04,0x00,0x08,0xd9,0x01,0x00,0x00,0x00]
2658 ds_dec_src2_u32 v1 offset
:65535 gds
2659 // CHECK
: [0xff,0xff,0x09,0xd9,0x01,0x00,0x00,0x00]
2661 ds_min_src2_i32 v1 offset
:65535
2662 // CHECK
: [0xff,0xff,0x0a,0xd9,0x01,0x00,0x00,0x00]
2664 ds_min_src2_i32 v255 offset
:65535
2665 // CHECK
: [0xff,0xff,0x0a,0xd9,0xff,0x00,0x00,0x00]
2668 // CHECK
: [0x00,0x00,0x0a,0xd9,0x01,0x00,0x00,0x00]
2670 ds_min_src2_i32 v1 offset
:0
2671 // CHECK
: [0x00,0x00,0x0a,0xd9,0x01,0x00,0x00,0x00]
2673 ds_min_src2_i32 v1 offset
:4
2674 // CHECK
: [0x04,0x00,0x0a,0xd9,0x01,0x00,0x00,0x00]
2676 ds_min_src2_i32 v1 offset
:65535 gds
2677 // CHECK
: [0xff,0xff,0x0b,0xd9,0x01,0x00,0x00,0x00]
2679 ds_max_src2_i32 v1 offset
:65535
2680 // CHECK
: [0xff,0xff,0x0c,0xd9,0x01,0x00,0x00,0x00]
2682 ds_max_src2_i32 v255 offset
:65535
2683 // CHECK
: [0xff,0xff,0x0c,0xd9,0xff,0x00,0x00,0x00]
2686 // CHECK
: [0x00,0x00,0x0c,0xd9,0x01,0x00,0x00,0x00]
2688 ds_max_src2_i32 v1 offset
:0
2689 // CHECK
: [0x00,0x00,0x0c,0xd9,0x01,0x00,0x00,0x00]
2691 ds_max_src2_i32 v1 offset
:4
2692 // CHECK
: [0x04,0x00,0x0c,0xd9,0x01,0x00,0x00,0x00]
2694 ds_max_src2_i32 v1 offset
:65535 gds
2695 // CHECK
: [0xff,0xff,0x0d,0xd9,0x01,0x00,0x00,0x00]
2697 ds_min_src2_u32 v1 offset
:65535
2698 // CHECK
: [0xff,0xff,0x0e,0xd9,0x01,0x00,0x00,0x00]
2700 ds_min_src2_u32 v255 offset
:65535
2701 // CHECK
: [0xff,0xff,0x0e,0xd9,0xff,0x00,0x00,0x00]
2704 // CHECK
: [0x00,0x00,0x0e,0xd9,0x01,0x00,0x00,0x00]
2706 ds_min_src2_u32 v1 offset
:0
2707 // CHECK
: [0x00,0x00,0x0e,0xd9,0x01,0x00,0x00,0x00]
2709 ds_min_src2_u32 v1 offset
:4
2710 // CHECK
: [0x04,0x00,0x0e,0xd9,0x01,0x00,0x00,0x00]
2712 ds_min_src2_u32 v1 offset
:65535 gds
2713 // CHECK
: [0xff,0xff,0x0f,0xd9,0x01,0x00,0x00,0x00]
2715 ds_max_src2_u32 v1 offset
:65535
2716 // CHECK
: [0xff,0xff,0x10,0xd9,0x01,0x00,0x00,0x00]
2718 ds_max_src2_u32 v255 offset
:65535
2719 // CHECK
: [0xff,0xff,0x10,0xd9,0xff,0x00,0x00,0x00]
2722 // CHECK
: [0x00,0x00,0x10,0xd9,0x01,0x00,0x00,0x00]
2724 ds_max_src2_u32 v1 offset
:0
2725 // CHECK
: [0x00,0x00,0x10,0xd9,0x01,0x00,0x00,0x00]
2727 ds_max_src2_u32 v1 offset
:4
2728 // CHECK
: [0x04,0x00,0x10,0xd9,0x01,0x00,0x00,0x00]
2730 ds_max_src2_u32 v1 offset
:65535 gds
2731 // CHECK
: [0xff,0xff,0x11,0xd9,0x01,0x00,0x00,0x00]
2733 ds_and_src2_b32 v1 offset
:65535
2734 // CHECK
: [0xff,0xff,0x12,0xd9,0x01,0x00,0x00,0x00]
2736 ds_and_src2_b32 v255 offset
:65535
2737 // CHECK
: [0xff,0xff,0x12,0xd9,0xff,0x00,0x00,0x00]
2740 // CHECK
: [0x00,0x00,0x12,0xd9,0x01,0x00,0x00,0x00]
2742 ds_and_src2_b32 v1 offset
:0
2743 // CHECK
: [0x00,0x00,0x12,0xd9,0x01,0x00,0x00,0x00]
2745 ds_and_src2_b32 v1 offset
:4
2746 // CHECK
: [0x04,0x00,0x12,0xd9,0x01,0x00,0x00,0x00]
2748 ds_and_src2_b32 v1 offset
:65535 gds
2749 // CHECK
: [0xff,0xff,0x13,0xd9,0x01,0x00,0x00,0x00]
2751 ds_or_src2_b32 v1 offset
:65535
2752 // CHECK
: [0xff,0xff,0x14,0xd9,0x01,0x00,0x00,0x00]
2754 ds_or_src2_b32 v255 offset
:65535
2755 // CHECK
: [0xff,0xff,0x14,0xd9,0xff,0x00,0x00,0x00]
2758 // CHECK
: [0x00,0x00,0x14,0xd9,0x01,0x00,0x00,0x00]
2760 ds_or_src2_b32 v1 offset
:0
2761 // CHECK
: [0x00,0x00,0x14,0xd9,0x01,0x00,0x00,0x00]
2763 ds_or_src2_b32 v1 offset
:4
2764 // CHECK
: [0x04,0x00,0x14,0xd9,0x01,0x00,0x00,0x00]
2766 ds_or_src2_b32 v1 offset
:65535 gds
2767 // CHECK
: [0xff,0xff,0x15,0xd9,0x01,0x00,0x00,0x00]
2769 ds_xor_src2_b32 v1 offset
:65535
2770 // CHECK
: [0xff,0xff,0x16,0xd9,0x01,0x00,0x00,0x00]
2772 ds_xor_src2_b32 v255 offset
:65535
2773 // CHECK
: [0xff,0xff,0x16,0xd9,0xff,0x00,0x00,0x00]
2776 // CHECK
: [0x00,0x00,0x16,0xd9,0x01,0x00,0x00,0x00]
2778 ds_xor_src2_b32 v1 offset
:0
2779 // CHECK
: [0x00,0x00,0x16,0xd9,0x01,0x00,0x00,0x00]
2781 ds_xor_src2_b32 v1 offset
:4
2782 // CHECK
: [0x04,0x00,0x16,0xd9,0x01,0x00,0x00,0x00]
2784 ds_xor_src2_b32 v1 offset
:65535 gds
2785 // CHECK
: [0xff,0xff,0x17,0xd9,0x01,0x00,0x00,0x00]
2787 ds_write_src2_b32 v1 offset
:65535
2788 // CHECK
: [0xff,0xff,0x1a,0xd9,0x01,0x00,0x00,0x00]
2790 ds_write_src2_b32 v255 offset
:65535
2791 // CHECK
: [0xff,0xff,0x1a,0xd9,0xff,0x00,0x00,0x00]
2793 ds_write_src2_b32 v1
2794 // CHECK
: [0x00,0x00,0x1a,0xd9,0x01,0x00,0x00,0x00]
2796 ds_write_src2_b32 v1 offset
:0
2797 // CHECK
: [0x00,0x00,0x1a,0xd9,0x01,0x00,0x00,0x00]
2799 ds_write_src2_b32 v1 offset
:4
2800 // CHECK
: [0x04,0x00,0x1a,0xd9,0x01,0x00,0x00,0x00]
2802 ds_write_src2_b32 v1 offset
:65535 gds
2803 // CHECK
: [0xff,0xff,0x1b,0xd9,0x01,0x00,0x00,0x00]
2805 ds_min_src2_f32 v1 offset
:65535
2806 // CHECK
: [0xff,0xff,0x24,0xd9,0x01,0x00,0x00,0x00]
2808 ds_min_src2_f32 v255 offset
:65535
2809 // CHECK
: [0xff,0xff,0x24,0xd9,0xff,0x00,0x00,0x00]
2812 // CHECK
: [0x00,0x00,0x24,0xd9,0x01,0x00,0x00,0x00]
2814 ds_min_src2_f32 v1 offset
:0
2815 // CHECK
: [0x00,0x00,0x24,0xd9,0x01,0x00,0x00,0x00]
2817 ds_min_src2_f32 v1 offset
:4
2818 // CHECK
: [0x04,0x00,0x24,0xd9,0x01,0x00,0x00,0x00]
2820 ds_min_src2_f32 v1 offset
:65535 gds
2821 // CHECK
: [0xff,0xff,0x25,0xd9,0x01,0x00,0x00,0x00]
2823 ds_max_src2_f32 v1 offset
:65535
2824 // CHECK
: [0xff,0xff,0x26,0xd9,0x01,0x00,0x00,0x00]
2826 ds_max_src2_f32 v255 offset
:65535
2827 // CHECK
: [0xff,0xff,0x26,0xd9,0xff,0x00,0x00,0x00]
2830 // CHECK
: [0x00,0x00,0x26,0xd9,0x01,0x00,0x00,0x00]
2832 ds_max_src2_f32 v1 offset
:0
2833 // CHECK
: [0x00,0x00,0x26,0xd9,0x01,0x00,0x00,0x00]
2835 ds_max_src2_f32 v1 offset
:4
2836 // CHECK
: [0x04,0x00,0x26,0xd9,0x01,0x00,0x00,0x00]
2838 ds_max_src2_f32 v1 offset
:65535 gds
2839 // CHECK
: [0xff,0xff,0x27,0xd9,0x01,0x00,0x00,0x00]
2841 ds_add_src2_f32 v1 offset
:65535
2842 // CHECK
: [0xff,0xff,0x2a,0xd9,0x01,0x00,0x00,0x00]
2844 ds_add_src2_f32 v255 offset
:65535
2845 // CHECK
: [0xff,0xff,0x2a,0xd9,0xff,0x00,0x00,0x00]
2848 // CHECK
: [0x00,0x00,0x2a,0xd9,0x01,0x00,0x00,0x00]
2850 ds_add_src2_f32 v1 offset
:0
2851 // CHECK
: [0x00,0x00,0x2a,0xd9,0x01,0x00,0x00,0x00]
2853 ds_add_src2_f32 v1 offset
:4
2854 // CHECK
: [0x04,0x00,0x2a,0xd9,0x01,0x00,0x00,0x00]
2856 ds_add_src2_f32 v1 offset
:65535 gds
2857 // CHECK
: [0xff,0xff,0x2b,0xd9,0x01,0x00,0x00,0x00]
2859 ds_gws_sema_release_all offset
:65535 gds
2860 // CHECK
: [0xff,0xff,0x31,0xd9,0x00,0x00,0x00,0x00]
2862 ds_gws_sema_release_all gds
2863 // CHECK
: [0x00,0x00,0x31,0xd9,0x00,0x00,0x00,0x00]
2865 ds_gws_sema_release_all offset
:0 gds
2866 // CHECK
: [0x00,0x00,0x31,0xd9,0x00,0x00,0x00,0x00]
2868 ds_gws_sema_release_all offset
:4 gds
2869 // CHECK
: [0x04,0x00,0x31,0xd9,0x00,0x00,0x00,0x00]
2871 ds_gws_init v1 offset
:65535 gds
2872 // CHECK
: [0xff,0xff,0x33,0xd9,0x01,0x00,0x00,0x00]
2874 ds_gws_init v255 offset
:65535 gds
2875 // CHECK
: [0xff,0xff,0x33,0xd9,0xff,0x00,0x00,0x00]
2878 // CHECK
: [0x00,0x00,0x33,0xd9,0x01,0x00,0x00,0x00]
2880 ds_gws_init v1 offset
:0 gds
2881 // CHECK
: [0x00,0x00,0x33,0xd9,0x01,0x00,0x00,0x00]
2883 ds_gws_init v1 offset
:4 gds
2884 // CHECK
: [0x04,0x00,0x33,0xd9,0x01,0x00,0x00,0x00]
2886 ds_gws_sema_v offset
:65535 gds
2887 // CHECK
: [0xff,0xff,0x35,0xd9,0x00,0x00,0x00,0x00]
2890 // CHECK
: [0x00,0x00,0x35,0xd9,0x00,0x00,0x00,0x00]
2892 ds_gws_sema_v offset
:0 gds
2893 // CHECK
: [0x00,0x00,0x35,0xd9,0x00,0x00,0x00,0x00]
2895 ds_gws_sema_v offset
:4 gds
2896 // CHECK
: [0x04,0x00,0x35,0xd9,0x00,0x00,0x00,0x00]
2898 ds_gws_sema_br v1 offset
:65535 gds
2899 // CHECK
: [0xff,0xff,0x37,0xd9,0x01,0x00,0x00,0x00]
2901 ds_gws_sema_br v255 offset
:65535 gds
2902 // CHECK
: [0xff,0xff,0x37,0xd9,0xff,0x00,0x00,0x00]
2904 ds_gws_sema_br v1 gds
2905 // CHECK
: [0x00,0x00,0x37,0xd9,0x01,0x00,0x00,0x00]
2907 ds_gws_sema_br v1 offset
:0 gds
2908 // CHECK
: [0x00,0x00,0x37,0xd9,0x01,0x00,0x00,0x00]
2910 ds_gws_sema_br v1 offset
:4 gds
2911 // CHECK
: [0x04,0x00,0x37,0xd9,0x01,0x00,0x00,0x00]
2913 ds_gws_sema_p offset
:65535 gds
2914 // CHECK
: [0xff,0xff,0x39,0xd9,0x00,0x00,0x00,0x00]
2917 // CHECK
: [0x00,0x00,0x39,0xd9,0x00,0x00,0x00,0x00]
2919 ds_gws_sema_p offset
:0 gds
2920 // CHECK
: [0x00,0x00,0x39,0xd9,0x00,0x00,0x00,0x00]
2922 ds_gws_sema_p offset
:4 gds
2923 // CHECK
: [0x04,0x00,0x39,0xd9,0x00,0x00,0x00,0x00]
2925 ds_gws_barrier v1 offset
:65535 gds
2926 // CHECK
: [0xff,0xff,0x3b,0xd9,0x01,0x00,0x00,0x00]
2928 ds_gws_barrier v255 offset
:65535 gds
2929 // CHECK
: [0xff,0xff,0x3b,0xd9,0xff,0x00,0x00,0x00]
2931 ds_gws_barrier v1 gds
2932 // CHECK
: [0x00,0x00,0x3b,0xd9,0x01,0x00,0x00,0x00]
2934 ds_gws_barrier v1 offset
:0 gds
2935 // CHECK
: [0x00,0x00,0x3b,0xd9,0x01,0x00,0x00,0x00]
2937 ds_gws_barrier v1 offset
:4 gds
2938 // CHECK
: [0x04,0x00,0x3b,0xd9,0x01,0x00,0x00,0x00]
2940 ds_read_addtid_b32 v5 offset
:65535
2941 // CHECK
: [0xff,0xff,0x6c,0xd9,0x00,0x00,0x00,0x05]
2943 ds_read_addtid_b32 v255 offset
:65535
2944 // CHECK
: [0xff,0xff,0x6c,0xd9,0x00,0x00,0x00,0xff]
2946 ds_read_addtid_b32 v5
2947 // CHECK
: [0x00,0x00,0x6c,0xd9,0x00,0x00,0x00,0x05]
2949 ds_read_addtid_b32 v5 offset
:0
2950 // CHECK
: [0x00,0x00,0x6c,0xd9,0x00,0x00,0x00,0x05]
2952 ds_read_addtid_b32 v5 offset
:4
2953 // CHECK
: [0x04,0x00,0x6c,0xd9,0x00,0x00,0x00,0x05]
2955 ds_read_addtid_b32 v5 offset
:65535 gds
2956 // CHECK
: [0xff,0xff,0x6d,0xd9,0x00,0x00,0x00,0x05]
2958 ds_consume v5 offset
:65535
2959 // CHECK
: [0xff,0xff,0x7a,0xd9,0x00,0x00,0x00,0x05]
2961 ds_consume v255 offset
:65535
2962 // CHECK
: [0xff,0xff,0x7a,0xd9,0x00,0x00,0x00,0xff]
2965 // CHECK
: [0x00,0x00,0x7a,0xd9,0x00,0x00,0x00,0x05]
2967 ds_consume v5 offset
:0
2968 // CHECK
: [0x00,0x00,0x7a,0xd9,0x00,0x00,0x00,0x05]
2970 ds_consume v5 offset
:4
2971 // CHECK
: [0x04,0x00,0x7a,0xd9,0x00,0x00,0x00,0x05]
2973 ds_consume v5 offset
:65535 gds
2974 // CHECK
: [0xff,0xff,0x7b,0xd9,0x00,0x00,0x00,0x05]
2976 ds_append v5 offset
:65535
2977 // CHECK
: [0xff,0xff,0x7c,0xd9,0x00,0x00,0x00,0x05]
2979 ds_append v255 offset
:65535
2980 // CHECK
: [0xff,0xff,0x7c,0xd9,0x00,0x00,0x00,0xff]
2983 // CHECK
: [0x00,0x00,0x7c,0xd9,0x00,0x00,0x00,0x05]
2985 ds_append v5 offset
:0
2986 // CHECK
: [0x00,0x00,0x7c,0xd9,0x00,0x00,0x00,0x05]
2988 ds_append v5 offset
:4
2989 // CHECK
: [0x04,0x00,0x7c,0xd9,0x00,0x00,0x00,0x05]
2991 ds_append v5 offset
:65535 gds
2992 // CHECK
: [0xff,0xff,0x7d,0xd9,0x00,0x00,0x00,0x05]
2994 ds_ordered_count v5
, v1 offset
:65535 gds
2995 // CHECK
: [0xff,0xff,0x7f,0xd9,0x01,0x00,0x00,0x05]
2997 ds_ordered_count v255
, v1 offset
:65535 gds
2998 // CHECK
: [0xff,0xff,0x7f,0xd9,0x01,0x00,0x00,0xff]
3000 ds_ordered_count v5
, v255 offset
:65535 gds
3001 // CHECK
: [0xff,0xff,0x7f,0xd9,0xff,0x00,0x00,0x05]
3003 ds_ordered_count v5
, v1 gds
3004 // CHECK
: [0x00,0x00,0x7f,0xd9,0x01,0x00,0x00,0x05]
3006 ds_ordered_count v5
, v1 offset
:0 gds
3007 // CHECK
: [0x00,0x00,0x7f,0xd9,0x01,0x00,0x00,0x05]
3009 ds_ordered_count v5
, v1 offset
:4 gds
3010 // CHECK
: [0x04,0x00,0x7f,0xd9,0x01,0x00,0x00,0x05]
3012 ds_add_src2_u64 v1 offset
:65535
3013 // CHECK
: [0xff,0xff,0x80,0xd9,0x01,0x00,0x00,0x00]
3015 ds_add_src2_u64 v255 offset
:65535
3016 // CHECK
: [0xff,0xff,0x80,0xd9,0xff,0x00,0x00,0x00]
3019 // CHECK
: [0x00,0x00,0x80,0xd9,0x01,0x00,0x00,0x00]
3021 ds_add_src2_u64 v1 offset
:0
3022 // CHECK
: [0x00,0x00,0x80,0xd9,0x01,0x00,0x00,0x00]
3024 ds_add_src2_u64 v1 offset
:4
3025 // CHECK
: [0x04,0x00,0x80,0xd9,0x01,0x00,0x00,0x00]
3027 ds_add_src2_u64 v1 offset
:65535 gds
3028 // CHECK
: [0xff,0xff,0x81,0xd9,0x01,0x00,0x00,0x00]
3030 ds_sub_src2_u64 v1 offset
:65535
3031 // CHECK
: [0xff,0xff,0x82,0xd9,0x01,0x00,0x00,0x00]
3033 ds_sub_src2_u64 v255 offset
:65535
3034 // CHECK
: [0xff,0xff,0x82,0xd9,0xff,0x00,0x00,0x00]
3037 // CHECK
: [0x00,0x00,0x82,0xd9,0x01,0x00,0x00,0x00]
3039 ds_sub_src2_u64 v1 offset
:0
3040 // CHECK
: [0x00,0x00,0x82,0xd9,0x01,0x00,0x00,0x00]
3042 ds_sub_src2_u64 v1 offset
:4
3043 // CHECK
: [0x04,0x00,0x82,0xd9,0x01,0x00,0x00,0x00]
3045 ds_sub_src2_u64 v1 offset
:65535 gds
3046 // CHECK
: [0xff,0xff,0x83,0xd9,0x01,0x00,0x00,0x00]
3048 ds_rsub_src2_u64 v1 offset
:65535
3049 // CHECK
: [0xff,0xff,0x84,0xd9,0x01,0x00,0x00,0x00]
3051 ds_rsub_src2_u64 v255 offset
:65535
3052 // CHECK
: [0xff,0xff,0x84,0xd9,0xff,0x00,0x00,0x00]
3055 // CHECK
: [0x00,0x00,0x84,0xd9,0x01,0x00,0x00,0x00]
3057 ds_rsub_src2_u64 v1 offset
:0
3058 // CHECK
: [0x00,0x00,0x84,0xd9,0x01,0x00,0x00,0x00]
3060 ds_rsub_src2_u64 v1 offset
:4
3061 // CHECK
: [0x04,0x00,0x84,0xd9,0x01,0x00,0x00,0x00]
3063 ds_rsub_src2_u64 v1 offset
:65535 gds
3064 // CHECK
: [0xff,0xff,0x85,0xd9,0x01,0x00,0x00,0x00]
3066 ds_inc_src2_u64 v1 offset
:65535
3067 // CHECK
: [0xff,0xff,0x86,0xd9,0x01,0x00,0x00,0x00]
3069 ds_inc_src2_u64 v255 offset
:65535
3070 // CHECK
: [0xff,0xff,0x86,0xd9,0xff,0x00,0x00,0x00]
3073 // CHECK
: [0x00,0x00,0x86,0xd9,0x01,0x00,0x00,0x00]
3075 ds_inc_src2_u64 v1 offset
:0
3076 // CHECK
: [0x00,0x00,0x86,0xd9,0x01,0x00,0x00,0x00]
3078 ds_inc_src2_u64 v1 offset
:4
3079 // CHECK
: [0x04,0x00,0x86,0xd9,0x01,0x00,0x00,0x00]
3081 ds_inc_src2_u64 v1 offset
:65535 gds
3082 // CHECK
: [0xff,0xff,0x87,0xd9,0x01,0x00,0x00,0x00]
3084 ds_dec_src2_u64 v1 offset
:65535
3085 // CHECK
: [0xff,0xff,0x88,0xd9,0x01,0x00,0x00,0x00]
3087 ds_dec_src2_u64 v255 offset
:65535
3088 // CHECK
: [0xff,0xff,0x88,0xd9,0xff,0x00,0x00,0x00]
3091 // CHECK
: [0x00,0x00,0x88,0xd9,0x01,0x00,0x00,0x00]
3093 ds_dec_src2_u64 v1 offset
:0
3094 // CHECK
: [0x00,0x00,0x88,0xd9,0x01,0x00,0x00,0x00]
3096 ds_dec_src2_u64 v1 offset
:4
3097 // CHECK
: [0x04,0x00,0x88,0xd9,0x01,0x00,0x00,0x00]
3099 ds_dec_src2_u64 v1 offset
:65535 gds
3100 // CHECK
: [0xff,0xff,0x89,0xd9,0x01,0x00,0x00,0x00]
3102 ds_min_src2_i64 v1 offset
:65535
3103 // CHECK
: [0xff,0xff,0x8a,0xd9,0x01,0x00,0x00,0x00]
3105 ds_min_src2_i64 v255 offset
:65535
3106 // CHECK
: [0xff,0xff,0x8a,0xd9,0xff,0x00,0x00,0x00]
3109 // CHECK
: [0x00,0x00,0x8a,0xd9,0x01,0x00,0x00,0x00]
3111 ds_min_src2_i64 v1 offset
:0
3112 // CHECK
: [0x00,0x00,0x8a,0xd9,0x01,0x00,0x00,0x00]
3114 ds_min_src2_i64 v1 offset
:4
3115 // CHECK
: [0x04,0x00,0x8a,0xd9,0x01,0x00,0x00,0x00]
3117 ds_min_src2_i64 v1 offset
:65535 gds
3118 // CHECK
: [0xff,0xff,0x8b,0xd9,0x01,0x00,0x00,0x00]
3120 ds_max_src2_i64 v1 offset
:65535
3121 // CHECK
: [0xff,0xff,0x8c,0xd9,0x01,0x00,0x00,0x00]
3123 ds_max_src2_i64 v255 offset
:65535
3124 // CHECK
: [0xff,0xff,0x8c,0xd9,0xff,0x00,0x00,0x00]
3127 // CHECK
: [0x00,0x00,0x8c,0xd9,0x01,0x00,0x00,0x00]
3129 ds_max_src2_i64 v1 offset
:0
3130 // CHECK
: [0x00,0x00,0x8c,0xd9,0x01,0x00,0x00,0x00]
3132 ds_max_src2_i64 v1 offset
:4
3133 // CHECK
: [0x04,0x00,0x8c,0xd9,0x01,0x00,0x00,0x00]
3135 ds_max_src2_i64 v1 offset
:65535 gds
3136 // CHECK
: [0xff,0xff,0x8d,0xd9,0x01,0x00,0x00,0x00]
3138 ds_min_src2_u64 v1 offset
:65535
3139 // CHECK
: [0xff,0xff,0x8e,0xd9,0x01,0x00,0x00,0x00]
3141 ds_min_src2_u64 v255 offset
:65535
3142 // CHECK
: [0xff,0xff,0x8e,0xd9,0xff,0x00,0x00,0x00]
3145 // CHECK
: [0x00,0x00,0x8e,0xd9,0x01,0x00,0x00,0x00]
3147 ds_min_src2_u64 v1 offset
:0
3148 // CHECK
: [0x00,0x00,0x8e,0xd9,0x01,0x00,0x00,0x00]
3150 ds_min_src2_u64 v1 offset
:4
3151 // CHECK
: [0x04,0x00,0x8e,0xd9,0x01,0x00,0x00,0x00]
3153 ds_min_src2_u64 v1 offset
:65535 gds
3154 // CHECK
: [0xff,0xff,0x8f,0xd9,0x01,0x00,0x00,0x00]
3156 ds_max_src2_u64 v1 offset
:65535
3157 // CHECK
: [0xff,0xff,0x90,0xd9,0x01,0x00,0x00,0x00]
3159 ds_max_src2_u64 v255 offset
:65535
3160 // CHECK
: [0xff,0xff,0x90,0xd9,0xff,0x00,0x00,0x00]
3163 // CHECK
: [0x00,0x00,0x90,0xd9,0x01,0x00,0x00,0x00]
3165 ds_max_src2_u64 v1 offset
:0
3166 // CHECK
: [0x00,0x00,0x90,0xd9,0x01,0x00,0x00,0x00]
3168 ds_max_src2_u64 v1 offset
:4
3169 // CHECK
: [0x04,0x00,0x90,0xd9,0x01,0x00,0x00,0x00]
3171 ds_max_src2_u64 v1 offset
:65535 gds
3172 // CHECK
: [0xff,0xff,0x91,0xd9,0x01,0x00,0x00,0x00]
3174 ds_and_src2_b64 v1 offset
:65535
3175 // CHECK
: [0xff,0xff,0x92,0xd9,0x01,0x00,0x00,0x00]
3177 ds_and_src2_b64 v255 offset
:65535
3178 // CHECK
: [0xff,0xff,0x92,0xd9,0xff,0x00,0x00,0x00]
3181 // CHECK
: [0x00,0x00,0x92,0xd9,0x01,0x00,0x00,0x00]
3183 ds_and_src2_b64 v1 offset
:0
3184 // CHECK
: [0x00,0x00,0x92,0xd9,0x01,0x00,0x00,0x00]
3186 ds_and_src2_b64 v1 offset
:4
3187 // CHECK
: [0x04,0x00,0x92,0xd9,0x01,0x00,0x00,0x00]
3189 ds_and_src2_b64 v1 offset
:65535 gds
3190 // CHECK
: [0xff,0xff,0x93,0xd9,0x01,0x00,0x00,0x00]
3192 ds_or_src2_b64 v1 offset
:65535
3193 // CHECK
: [0xff,0xff,0x94,0xd9,0x01,0x00,0x00,0x00]
3195 ds_or_src2_b64 v255 offset
:65535
3196 // CHECK
: [0xff,0xff,0x94,0xd9,0xff,0x00,0x00,0x00]
3199 // CHECK
: [0x00,0x00,0x94,0xd9,0x01,0x00,0x00,0x00]
3201 ds_or_src2_b64 v1 offset
:0
3202 // CHECK
: [0x00,0x00,0x94,0xd9,0x01,0x00,0x00,0x00]
3204 ds_or_src2_b64 v1 offset
:4
3205 // CHECK
: [0x04,0x00,0x94,0xd9,0x01,0x00,0x00,0x00]
3207 ds_or_src2_b64 v1 offset
:65535 gds
3208 // CHECK
: [0xff,0xff,0x95,0xd9,0x01,0x00,0x00,0x00]
3210 ds_xor_src2_b64 v1 offset
:65535
3211 // CHECK
: [0xff,0xff,0x96,0xd9,0x01,0x00,0x00,0x00]
3213 ds_xor_src2_b64 v255 offset
:65535
3214 // CHECK
: [0xff,0xff,0x96,0xd9,0xff,0x00,0x00,0x00]
3217 // CHECK
: [0x00,0x00,0x96,0xd9,0x01,0x00,0x00,0x00]
3219 ds_xor_src2_b64 v1 offset
:0
3220 // CHECK
: [0x00,0x00,0x96,0xd9,0x01,0x00,0x00,0x00]
3222 ds_xor_src2_b64 v1 offset
:4
3223 // CHECK
: [0x04,0x00,0x96,0xd9,0x01,0x00,0x00,0x00]
3225 ds_xor_src2_b64 v1 offset
:65535 gds
3226 // CHECK
: [0xff,0xff,0x97,0xd9,0x01,0x00,0x00,0x00]
3228 ds_write_src2_b64 v1 offset
:65535
3229 // CHECK
: [0xff,0xff,0x9a,0xd9,0x01,0x00,0x00,0x00]
3231 ds_write_src2_b64 v255 offset
:65535
3232 // CHECK
: [0xff,0xff,0x9a,0xd9,0xff,0x00,0x00,0x00]
3234 ds_write_src2_b64 v1
3235 // CHECK
: [0x00,0x00,0x9a,0xd9,0x01,0x00,0x00,0x00]
3237 ds_write_src2_b64 v1 offset
:0
3238 // CHECK
: [0x00,0x00,0x9a,0xd9,0x01,0x00,0x00,0x00]
3240 ds_write_src2_b64 v1 offset
:4
3241 // CHECK
: [0x04,0x00,0x9a,0xd9,0x01,0x00,0x00,0x00]
3243 ds_write_src2_b64 v1 offset
:65535 gds
3244 // CHECK
: [0xff,0xff,0x9b,0xd9,0x01,0x00,0x00,0x00]
3246 ds_min_src2_f64 v1 offset
:65535
3247 // CHECK
: [0xff,0xff,0xa4,0xd9,0x01,0x00,0x00,0x00]
3249 ds_min_src2_f64 v255 offset
:65535
3250 // CHECK
: [0xff,0xff,0xa4,0xd9,0xff,0x00,0x00,0x00]
3253 // CHECK
: [0x00,0x00,0xa4,0xd9,0x01,0x00,0x00,0x00]
3255 ds_min_src2_f64 v1 offset
:0
3256 // CHECK
: [0x00,0x00,0xa4,0xd9,0x01,0x00,0x00,0x00]
3258 ds_min_src2_f64 v1 offset
:4
3259 // CHECK
: [0x04,0x00,0xa4,0xd9,0x01,0x00,0x00,0x00]
3261 ds_min_src2_f64 v1 offset
:65535 gds
3262 // CHECK
: [0xff,0xff,0xa5,0xd9,0x01,0x00,0x00,0x00]
3264 ds_max_src2_f64 v1 offset
:65535
3265 // CHECK
: [0xff,0xff,0xa6,0xd9,0x01,0x00,0x00,0x00]
3267 ds_max_src2_f64 v255 offset
:65535
3268 // CHECK
: [0xff,0xff,0xa6,0xd9,0xff,0x00,0x00,0x00]
3271 // CHECK
: [0x00,0x00,0xa6,0xd9,0x01,0x00,0x00,0x00]
3273 ds_max_src2_f64 v1 offset
:0
3274 // CHECK
: [0x00,0x00,0xa6,0xd9,0x01,0x00,0x00,0x00]
3276 ds_max_src2_f64 v1 offset
:4
3277 // CHECK
: [0x04,0x00,0xa6,0xd9,0x01,0x00,0x00,0x00]
3279 ds_max_src2_f64 v1 offset
:65535 gds
3280 // CHECK
: [0xff,0xff,0xa7,0xd9,0x01,0x00,0x00,0x00]
3282 ds_write_b96 v1
, v
[2:4] offset
:65535
3283 // CHECK
: [0xff,0xff,0xbc,0xd9,0x01,0x02,0x00,0x00]
3285 ds_write_b96 v255
, v
[2:4] offset
:65535
3286 // CHECK
: [0xff,0xff,0xbc,0xd9,0xff,0x02,0x00,0x00]
3288 ds_write_b96 v1
, v
[253:255] offset
:65535
3289 // CHECK
: [0xff,0xff,0xbc,0xd9,0x01,0xfd,0x00,0x00]
3291 ds_write_b96 v1
, v
[2:4]
3292 // CHECK
: [0x00,0x00,0xbc,0xd9,0x01,0x02,0x00,0x00]
3294 ds_write_b96 v1
, v
[2:4] offset
:0
3295 // CHECK
: [0x00,0x00,0xbc,0xd9,0x01,0x02,0x00,0x00]
3297 ds_write_b96 v1
, v
[2:4] offset
:4
3298 // CHECK
: [0x04,0x00,0xbc,0xd9,0x01,0x02,0x00,0x00]
3300 ds_write_b96 v1
, v
[2:4] offset
:65535 gds
3301 // CHECK
: [0xff,0xff,0xbd,0xd9,0x01,0x02,0x00,0x00]
3303 ds_write_b128 v1
, v
[2:5] offset
:65535
3304 // CHECK
: [0xff,0xff,0xbe,0xd9,0x01,0x02,0x00,0x00]
3306 ds_write_b128 v255
, v
[2:5] offset
:65535
3307 // CHECK
: [0xff,0xff,0xbe,0xd9,0xff,0x02,0x00,0x00]
3309 ds_write_b128 v1
, v
[252:255] offset
:65535
3310 // CHECK
: [0xff,0xff,0xbe,0xd9,0x01,0xfc,0x00,0x00]
3312 ds_write_b128 v1
, v
[2:5]
3313 // CHECK
: [0x00,0x00,0xbe,0xd9,0x01,0x02,0x00,0x00]
3315 ds_write_b128 v1
, v
[2:5] offset
:0
3316 // CHECK
: [0x00,0x00,0xbe,0xd9,0x01,0x02,0x00,0x00]
3318 ds_write_b128 v1
, v
[2:5] offset
:4
3319 // CHECK
: [0x04,0x00,0xbe,0xd9,0x01,0x02,0x00,0x00]
3321 ds_write_b128 v1
, v
[2:5] offset
:65535 gds
3322 // CHECK
: [0xff,0xff,0xbf,0xd9,0x01,0x02,0x00,0x00]
3324 ds_read_b96 v
[5:7], v1 offset
:65535
3325 // CHECK
: [0xff,0xff,0xfc,0xd9,0x01,0x00,0x00,0x05]
3327 ds_read_b96 v
[253:255], v1 offset
:65535
3328 // CHECK
: [0xff,0xff,0xfc,0xd9,0x01,0x00,0x00,0xfd]
3330 ds_read_b96 v
[5:7], v255 offset
:65535
3331 // CHECK
: [0xff,0xff,0xfc,0xd9,0xff,0x00,0x00,0x05]
3333 ds_read_b96 v
[5:7], v1
3334 // CHECK
: [0x00,0x00,0xfc,0xd9,0x01,0x00,0x00,0x05]
3336 ds_read_b96 v
[5:7], v1 offset
:0
3337 // CHECK
: [0x00,0x00,0xfc,0xd9,0x01,0x00,0x00,0x05]
3339 ds_read_b96 v
[5:7], v1 offset
:4
3340 // CHECK
: [0x04,0x00,0xfc,0xd9,0x01,0x00,0x00,0x05]
3342 ds_read_b96 v
[5:7], v1 offset
:65535 gds
3343 // CHECK
: [0xff,0xff,0xfd,0xd9,0x01,0x00,0x00,0x05]
3345 ds_read_b128 v
[5:8], v1 offset
:65535
3346 // CHECK
: [0xff,0xff,0xfe,0xd9,0x01,0x00,0x00,0x05]
3348 ds_read_b128 v
[252:255], v1 offset
:65535
3349 // CHECK
: [0xff,0xff,0xfe,0xd9,0x01,0x00,0x00,0xfc]
3351 ds_read_b128 v
[5:8], v255 offset
:65535
3352 // CHECK
: [0xff,0xff,0xfe,0xd9,0xff,0x00,0x00,0x05]
3354 ds_read_b128 v
[5:8], v1
3355 // CHECK
: [0x00,0x00,0xfe,0xd9,0x01,0x00,0x00,0x05]
3357 ds_read_b128 v
[5:8], v1 offset
:0
3358 // CHECK
: [0x00,0x00,0xfe,0xd9,0x01,0x00,0x00,0x05]
3360 ds_read_b128 v
[5:8], v1 offset
:4
3361 // CHECK
: [0x04,0x00,0xfe,0xd9,0x01,0x00,0x00,0x05]
3363 ds_read_b128 v
[5:8], v1 offset
:65535 gds
3364 // CHECK
: [0xff,0xff,0xff,0xd9,0x01,0x00,0x00,0x05]