llvm.org GIT mirror llvm / c7a2269
* [AMDGPU][mc][tests] Updated coverage/smoke tests for gfx7 and gfx8; minor test corrections. NB: several old tests have been corrected because they violated constant bus limitations git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@295834 91177308-0d34-0410-b5e6-96231b3b80d8 Dmitry Preobrazhensky 3 years ago
4 changed file(s) with 164942 addition(s) and 151112 deletion(s). Raw diff Collapse all Expand all
11
22 // *** GENERATED BY TESTGEN, DO NOT EDIT! ***
33
4 ds_add_u32 v0, v0 offset:65535
5 // CHECK: [0xff,0xff,0x00,0xd8,0x00,0x00,0x00,0x00]
6
7 ds_add_u32 v255, v0 offset:65535
8 // CHECK: [0xff,0xff,0x00,0xd8,0xff,0x00,0x00,0x00]
9
10 ds_add_u32 v0, v255 offset:65535
11 // CHECK: [0xff,0xff,0x00,0xd8,0x00,0xff,0x00,0x00]
12
13 ds_add_u32 v0, v0
14 // CHECK: [0x00,0x00,0x00,0xd8,0x00,0x00,0x00,0x00]
15
16 ds_add_u32 v0, v0 offset:0
17 // CHECK: [0x00,0x00,0x00,0xd8,0x00,0x00,0x00,0x00]
18
19 ds_add_u32 v0, v0 offset:4
20 // CHECK: [0x04,0x00,0x00,0xd8,0x00,0x00,0x00,0x00]
21
22 ds_add_u32 v0, v0 offset:65535 gds
23 // CHECK: [0xff,0xff,0x02,0xd8,0x00,0x00,0x00,0x00]
24
25 ds_sub_u32 v0, v0 offset:65535
26 // CHECK: [0xff,0xff,0x04,0xd8,0x00,0x00,0x00,0x00]
27
28 ds_sub_u32 v255, v0 offset:65535
29 // CHECK: [0xff,0xff,0x04,0xd8,0xff,0x00,0x00,0x00]
30
31 ds_sub_u32 v0, v255 offset:65535
32 // CHECK: [0xff,0xff,0x04,0xd8,0x00,0xff,0x00,0x00]
33
34 ds_sub_u32 v0, v0
35 // CHECK: [0x00,0x00,0x04,0xd8,0x00,0x00,0x00,0x00]
36
37 ds_sub_u32 v0, v0 offset:0
38 // CHECK: [0x00,0x00,0x04,0xd8,0x00,0x00,0x00,0x00]
39
40 ds_sub_u32 v0, v0 offset:4
41 // CHECK: [0x04,0x00,0x04,0xd8,0x00,0x00,0x00,0x00]
42
43 ds_sub_u32 v0, v0 offset:65535 gds
44 // CHECK: [0xff,0xff,0x06,0xd8,0x00,0x00,0x00,0x00]
45
46 ds_rsub_u32 v0, v0 offset:65535
47 // CHECK: [0xff,0xff,0x08,0xd8,0x00,0x00,0x00,0x00]
48
49 ds_rsub_u32 v255, v0 offset:65535
50 // CHECK: [0xff,0xff,0x08,0xd8,0xff,0x00,0x00,0x00]
51
52 ds_rsub_u32 v0, v255 offset:65535
53 // CHECK: [0xff,0xff,0x08,0xd8,0x00,0xff,0x00,0x00]
54
55 ds_rsub_u32 v0, v0
56 // CHECK: [0x00,0x00,0x08,0xd8,0x00,0x00,0x00,0x00]
57
58 ds_rsub_u32 v0, v0 offset:0
59 // CHECK: [0x00,0x00,0x08,0xd8,0x00,0x00,0x00,0x00]
60
61 ds_rsub_u32 v0, v0 offset:4
62 // CHECK: [0x04,0x00,0x08,0xd8,0x00,0x00,0x00,0x00]
63
64 ds_rsub_u32 v0, v0 offset:65535 gds
65 // CHECK: [0xff,0xff,0x0a,0xd8,0x00,0x00,0x00,0x00]
66
67 ds_inc_u32 v0, v0 offset:65535
68 // CHECK: [0xff,0xff,0x0c,0xd8,0x00,0x00,0x00,0x00]
69
70 ds_inc_u32 v255, v0 offset:65535
71 // CHECK: [0xff,0xff,0x0c,0xd8,0xff,0x00,0x00,0x00]
72
73 ds_inc_u32 v0, v255 offset:65535
74 // CHECK: [0xff,0xff,0x0c,0xd8,0x00,0xff,0x00,0x00]
75
76 ds_inc_u32 v0, v0
77 // CHECK: [0x00,0x00,0x0c,0xd8,0x00,0x00,0x00,0x00]
78
79 ds_inc_u32 v0, v0 offset:0
80 // CHECK: [0x00,0x00,0x0c,0xd8,0x00,0x00,0x00,0x00]
81
82 ds_inc_u32 v0, v0 offset:4
83 // CHECK: [0x04,0x00,0x0c,0xd8,0x00,0x00,0x00,0x00]
84
85 ds_inc_u32 v0, v0 offset:65535 gds
86 // CHECK: [0xff,0xff,0x0e,0xd8,0x00,0x00,0x00,0x00]
87
88 ds_dec_u32 v0, v0 offset:65535
89 // CHECK: [0xff,0xff,0x10,0xd8,0x00,0x00,0x00,0x00]
90
91 ds_dec_u32 v255, v0 offset:65535
92 // CHECK: [0xff,0xff,0x10,0xd8,0xff,0x00,0x00,0x00]
93
94 ds_dec_u32 v0, v255 offset:65535
95 // CHECK: [0xff,0xff,0x10,0xd8,0x00,0xff,0x00,0x00]
96
97 ds_dec_u32 v0, v0
98 // CHECK: [0x00,0x00,0x10,0xd8,0x00,0x00,0x00,0x00]
99
100 ds_dec_u32 v0, v0 offset:0
101 // CHECK: [0x00,0x00,0x10,0xd8,0x00,0x00,0x00,0x00]
102
103 ds_dec_u32 v0, v0 offset:4
104 // CHECK: [0x04,0x00,0x10,0xd8,0x00,0x00,0x00,0x00]
105
106 ds_dec_u32 v0, v0 offset:65535 gds
107 // CHECK: [0xff,0xff,0x12,0xd8,0x00,0x00,0x00,0x00]
108
109 ds_min_i32 v0, v0 offset:65535
110 // CHECK: [0xff,0xff,0x14,0xd8,0x00,0x00,0x00,0x00]
111
112 ds_min_i32 v255, v0 offset:65535
113 // CHECK: [0xff,0xff,0x14,0xd8,0xff,0x00,0x00,0x00]
114
115 ds_min_i32 v0, v255 offset:65535
116 // CHECK: [0xff,0xff,0x14,0xd8,0x00,0xff,0x00,0x00]
117
118 ds_min_i32 v0, v0
119 // CHECK: [0x00,0x00,0x14,0xd8,0x00,0x00,0x00,0x00]
120
121 ds_min_i32 v0, v0 offset:0
122 // CHECK: [0x00,0x00,0x14,0xd8,0x00,0x00,0x00,0x00]
123
124 ds_min_i32 v0, v0 offset:4
125 // CHECK: [0x04,0x00,0x14,0xd8,0x00,0x00,0x00,0x00]
126
127 ds_min_i32 v0, v0 offset:65535 gds
128 // CHECK: [0xff,0xff,0x16,0xd8,0x00,0x00,0x00,0x00]
129
130 ds_max_i32 v0, v0 offset:65535
131 // CHECK: [0xff,0xff,0x18,0xd8,0x00,0x00,0x00,0x00]
132
133 ds_max_i32 v255, v0 offset:65535
134 // CHECK: [0xff,0xff,0x18,0xd8,0xff,0x00,0x00,0x00]
135
136 ds_max_i32 v0, v255 offset:65535
137 // CHECK: [0xff,0xff,0x18,0xd8,0x00,0xff,0x00,0x00]
138
139 ds_max_i32 v0, v0
140 // CHECK: [0x00,0x00,0x18,0xd8,0x00,0x00,0x00,0x00]
141
142 ds_max_i32 v0, v0 offset:0
143 // CHECK: [0x00,0x00,0x18,0xd8,0x00,0x00,0x00,0x00]
144
145 ds_max_i32 v0, v0 offset:4
146 // CHECK: [0x04,0x00,0x18,0xd8,0x00,0x00,0x00,0x00]
147
148 ds_max_i32 v0, v0 offset:65535 gds
149 // CHECK: [0xff,0xff,0x1a,0xd8,0x00,0x00,0x00,0x00]
150
151 ds_min_u32 v0, v0 offset:65535
152 // CHECK: [0xff,0xff,0x1c,0xd8,0x00,0x00,0x00,0x00]
153
154 ds_min_u32 v255, v0 offset:65535
155 // CHECK: [0xff,0xff,0x1c,0xd8,0xff,0x00,0x00,0x00]
156
157 ds_min_u32 v0, v255 offset:65535
158 // CHECK: [0xff,0xff,0x1c,0xd8,0x00,0xff,0x00,0x00]
159
160 ds_min_u32 v0, v0
161 // CHECK: [0x00,0x00,0x1c,0xd8,0x00,0x00,0x00,0x00]
162
163 ds_min_u32 v0, v0 offset:0
164 // CHECK: [0x00,0x00,0x1c,0xd8,0x00,0x00,0x00,0x00]
165
166 ds_min_u32 v0, v0 offset:4
167 // CHECK: [0x04,0x00,0x1c,0xd8,0x00,0x00,0x00,0x00]
168
169 ds_min_u32 v0, v0 offset:65535 gds
170 // CHECK: [0xff,0xff,0x1e,0xd8,0x00,0x00,0x00,0x00]
171
172 ds_max_u32 v0, v0 offset:65535
173 // CHECK: [0xff,0xff,0x20,0xd8,0x00,0x00,0x00,0x00]
174
175 ds_max_u32 v255, v0 offset:65535
176 // CHECK: [0xff,0xff,0x20,0xd8,0xff,0x00,0x00,0x00]
177
178 ds_max_u32 v0, v255 offset:65535
179 // CHECK: [0xff,0xff,0x20,0xd8,0x00,0xff,0x00,0x00]
180
181 ds_max_u32 v0, v0
182 // CHECK: [0x00,0x00,0x20,0xd8,0x00,0x00,0x00,0x00]
183
184 ds_max_u32 v0, v0 offset:0
185 // CHECK: [0x00,0x00,0x20,0xd8,0x00,0x00,0x00,0x00]
186
187 ds_max_u32 v0, v0 offset:4
188 // CHECK: [0x04,0x00,0x20,0xd8,0x00,0x00,0x00,0x00]
189
190 ds_max_u32 v0, v0 offset:65535 gds
191 // CHECK: [0xff,0xff,0x22,0xd8,0x00,0x00,0x00,0x00]
192
193 ds_and_b32 v0, v0 offset:65535
194 // CHECK: [0xff,0xff,0x24,0xd8,0x00,0x00,0x00,0x00]
195
196 ds_and_b32 v255, v0 offset:65535
197 // CHECK: [0xff,0xff,0x24,0xd8,0xff,0x00,0x00,0x00]
198
199 ds_and_b32 v0, v255 offset:65535
200 // CHECK: [0xff,0xff,0x24,0xd8,0x00,0xff,0x00,0x00]
201
202 ds_and_b32 v0, v0
203 // CHECK: [0x00,0x00,0x24,0xd8,0x00,0x00,0x00,0x00]
204
205 ds_and_b32 v0, v0 offset:0
206 // CHECK: [0x00,0x00,0x24,0xd8,0x00,0x00,0x00,0x00]
207
208 ds_and_b32 v0, v0 offset:4
209 // CHECK: [0x04,0x00,0x24,0xd8,0x00,0x00,0x00,0x00]
210
211 ds_and_b32 v0, v0 offset:65535 gds
212 // CHECK: [0xff,0xff,0x26,0xd8,0x00,0x00,0x00,0x00]
213
214 ds_or_b32 v0, v0 offset:65535
215 // CHECK: [0xff,0xff,0x28,0xd8,0x00,0x00,0x00,0x00]
216
217 ds_or_b32 v255, v0 offset:65535
218 // CHECK: [0xff,0xff,0x28,0xd8,0xff,0x00,0x00,0x00]
219
220 ds_or_b32 v0, v255 offset:65535
221 // CHECK: [0xff,0xff,0x28,0xd8,0x00,0xff,0x00,0x00]
222
223 ds_or_b32 v0, v0
224 // CHECK: [0x00,0x00,0x28,0xd8,0x00,0x00,0x00,0x00]
225
226 ds_or_b32 v0, v0 offset:0
227 // CHECK: [0x00,0x00,0x28,0xd8,0x00,0x00,0x00,0x00]
228
229 ds_or_b32 v0, v0 offset:4
230 // CHECK: [0x04,0x00,0x28,0xd8,0x00,0x00,0x00,0x00]
231
232 ds_or_b32 v0, v0 offset:65535 gds
233 // CHECK: [0xff,0xff,0x2a,0xd8,0x00,0x00,0x00,0x00]
234
235 ds_xor_b32 v0, v0 offset:65535
236 // CHECK: [0xff,0xff,0x2c,0xd8,0x00,0x00,0x00,0x00]
237
238 ds_xor_b32 v255, v0 offset:65535
239 // CHECK: [0xff,0xff,0x2c,0xd8,0xff,0x00,0x00,0x00]
240
241 ds_xor_b32 v0, v255 offset:65535
242 // CHECK: [0xff,0xff,0x2c,0xd8,0x00,0xff,0x00,0x00]
243
244 ds_xor_b32 v0, v0
245 // CHECK: [0x00,0x00,0x2c,0xd8,0x00,0x00,0x00,0x00]
246
247 ds_xor_b32 v0, v0 offset:0
248 // CHECK: [0x00,0x00,0x2c,0xd8,0x00,0x00,0x00,0x00]
249
250 ds_xor_b32 v0, v0 offset:4
251 // CHECK: [0x04,0x00,0x2c,0xd8,0x00,0x00,0x00,0x00]
252
253 ds_xor_b32 v0, v0 offset:65535 gds
254 // CHECK: [0xff,0xff,0x2e,0xd8,0x00,0x00,0x00,0x00]
255
256 ds_mskor_b32 v0, v0, v0 offset:65535
257 // CHECK: [0xff,0xff,0x30,0xd8,0x00,0x00,0x00,0x00]
258
259 ds_mskor_b32 v255, v0, v0 offset:65535
260 // CHECK: [0xff,0xff,0x30,0xd8,0xff,0x00,0x00,0x00]
261
262 ds_mskor_b32 v0, v255, v0 offset:65535
263 // CHECK: [0xff,0xff,0x30,0xd8,0x00,0xff,0x00,0x00]
264
265 ds_mskor_b32 v0, v0, v255 offset:65535
266 // CHECK: [0xff,0xff,0x30,0xd8,0x00,0x00,0xff,0x00]
267
268 ds_mskor_b32 v0, v0, v0
269 // CHECK: [0x00,0x00,0x30,0xd8,0x00,0x00,0x00,0x00]
270
271 ds_mskor_b32 v0, v0, v0 offset:0
272 // CHECK: [0x00,0x00,0x30,0xd8,0x00,0x00,0x00,0x00]
273
274 ds_mskor_b32 v0, v0, v0 offset:4
275 // CHECK: [0x04,0x00,0x30,0xd8,0x00,0x00,0x00,0x00]
276
277 ds_mskor_b32 v0, v0, v0 offset:65535 gds
278 // CHECK: [0xff,0xff,0x32,0xd8,0x00,0x00,0x00,0x00]
279
280 ds_write_b32 v0, v0 offset:65535
281 // CHECK: [0xff,0xff,0x34,0xd8,0x00,0x00,0x00,0x00]
282
283 ds_write_b32 v255, v0 offset:65535
284 // CHECK: [0xff,0xff,0x34,0xd8,0xff,0x00,0x00,0x00]
285
286 ds_write_b32 v0, v255 offset:65535
287 // CHECK: [0xff,0xff,0x34,0xd8,0x00,0xff,0x00,0x00]
288
289 ds_write_b32 v0, v0
290 // CHECK: [0x00,0x00,0x34,0xd8,0x00,0x00,0x00,0x00]
291
292 ds_write_b32 v0, v0 offset:0
293 // CHECK: [0x00,0x00,0x34,0xd8,0x00,0x00,0x00,0x00]
294
295 ds_write_b32 v0, v0 offset:4
296 // CHECK: [0x04,0x00,0x34,0xd8,0x00,0x00,0x00,0x00]
297
298 ds_write_b32 v0, v0 offset:65535 gds
299 // CHECK: [0xff,0xff,0x36,0xd8,0x00,0x00,0x00,0x00]
300
301 ds_write2_b32 v0, v0, v0 offset0:127 offset1:255
302 // CHECK: [0x7f,0xff,0x38,0xd8,0x00,0x00,0x00,0x00]
303
304 ds_write2_b32 v255, v0, v0 offset0:127 offset1:255
305 // CHECK: [0x7f,0xff,0x38,0xd8,0xff,0x00,0x00,0x00]
306
307 ds_write2_b32 v0, v255, v0 offset0:127 offset1:255
308 // CHECK: [0x7f,0xff,0x38,0xd8,0x00,0xff,0x00,0x00]
309
310 ds_write2_b32 v0, v0, v255 offset0:127 offset1:255
311 // CHECK: [0x7f,0xff,0x38,0xd8,0x00,0x00,0xff,0x00]
312
313 ds_write2_b32 v0, v0, v0 offset1:255
314 // CHECK: [0x00,0xff,0x38,0xd8,0x00,0x00,0x00,0x00]
315
316 ds_write2_b32 v0, v0, v0 offset0:0 offset1:255
317 // CHECK: [0x00,0xff,0x38,0xd8,0x00,0x00,0x00,0x00]
318
319 ds_write2_b32 v0, v0, v0 offset0:16 offset1:255
320 // CHECK: [0x10,0xff,0x38,0xd8,0x00,0x00,0x00,0x00]
321
322 ds_write2_b32 v0, v0, v0 offset0:127
323 // CHECK: [0x7f,0x00,0x38,0xd8,0x00,0x00,0x00,0x00]
324
325 ds_write2_b32 v0, v0, v0 offset0:127 offset1:0
326 // CHECK: [0x7f,0x00,0x38,0xd8,0x00,0x00,0x00,0x00]
327
328 ds_write2_b32 v0, v0, v0 offset0:127 offset1:1
329 // CHECK: [0x7f,0x01,0x38,0xd8,0x00,0x00,0x00,0x00]
330
331 ds_write2_b32 v0, v0, v0 offset0:127 offset1:255 gds
332 // CHECK: [0x7f,0xff,0x3a,0xd8,0x00,0x00,0x00,0x00]
333
334 ds_write2st64_b32 v0, v0, v0 offset0:127 offset1:255
335 // CHECK: [0x7f,0xff,0x3c,0xd8,0x00,0x00,0x00,0x00]
336
337 ds_write2st64_b32 v255, v0, v0 offset0:127 offset1:255
338 // CHECK: [0x7f,0xff,0x3c,0xd8,0xff,0x00,0x00,0x00]
339
340 ds_write2st64_b32 v0, v255, v0 offset0:127 offset1:255
341 // CHECK: [0x7f,0xff,0x3c,0xd8,0x00,0xff,0x00,0x00]
342
343 ds_write2st64_b32 v0, v0, v255 offset0:127 offset1:255
344 // CHECK: [0x7f,0xff,0x3c,0xd8,0x00,0x00,0xff,0x00]
345
346 ds_write2st64_b32 v0, v0, v0 offset1:255
347 // CHECK: [0x00,0xff,0x3c,0xd8,0x00,0x00,0x00,0x00]
348
349 ds_write2st64_b32 v0, v0, v0 offset0:0 offset1:255
350 // CHECK: [0x00,0xff,0x3c,0xd8,0x00,0x00,0x00,0x00]
351
352 ds_write2st64_b32 v0, v0, v0 offset0:16 offset1:255
353 // CHECK: [0x10,0xff,0x3c,0xd8,0x00,0x00,0x00,0x00]
354
355 ds_write2st64_b32 v0, v0, v0 offset0:127
356 // CHECK: [0x7f,0x00,0x3c,0xd8,0x00,0x00,0x00,0x00]
357
358 ds_write2st64_b32 v0, v0, v0 offset0:127 offset1:0
359 // CHECK: [0x7f,0x00,0x3c,0xd8,0x00,0x00,0x00,0x00]
360
361 ds_write2st64_b32 v0, v0, v0 offset0:127 offset1:1
362 // CHECK: [0x7f,0x01,0x3c,0xd8,0x00,0x00,0x00,0x00]
363
364 ds_write2st64_b32 v0, v0, v0 offset0:127 offset1:255 gds
365 // CHECK: [0x7f,0xff,0x3e,0xd8,0x00,0x00,0x00,0x00]
366
367 ds_cmpst_b32 v0, v0, v0 offset:65535
368 // CHECK: [0xff,0xff,0x40,0xd8,0x00,0x00,0x00,0x00]
369
370 ds_cmpst_b32 v255, v0, v0 offset:65535
371 // CHECK: [0xff,0xff,0x40,0xd8,0xff,0x00,0x00,0x00]
372
373 ds_cmpst_b32 v0, v255, v0 offset:65535
374 // CHECK: [0xff,0xff,0x40,0xd8,0x00,0xff,0x00,0x00]
375
376 ds_cmpst_b32 v0, v0, v255 offset:65535
377 // CHECK: [0xff,0xff,0x40,0xd8,0x00,0x00,0xff,0x00]
378
379 ds_cmpst_b32 v0, v0, v0
380 // CHECK: [0x00,0x00,0x40,0xd8,0x00,0x00,0x00,0x00]
381
382 ds_cmpst_b32 v0, v0, v0 offset:0
383 // CHECK: [0x00,0x00,0x40,0xd8,0x00,0x00,0x00,0x00]
384
385 ds_cmpst_b32 v0, v0, v0 offset:4
386 // CHECK: [0x04,0x00,0x40,0xd8,0x00,0x00,0x00,0x00]
387
388 ds_cmpst_b32 v0, v0, v0 offset:65535 gds
389 // CHECK: [0xff,0xff,0x42,0xd8,0x00,0x00,0x00,0x00]
390
391 ds_cmpst_f32 v0, v0, v0 offset:65535
392 // CHECK: [0xff,0xff,0x44,0xd8,0x00,0x00,0x00,0x00]
393
394 ds_cmpst_f32 v255, v0, v0 offset:65535
395 // CHECK: [0xff,0xff,0x44,0xd8,0xff,0x00,0x00,0x00]
396
397 ds_cmpst_f32 v0, v255, v0 offset:65535
398 // CHECK: [0xff,0xff,0x44,0xd8,0x00,0xff,0x00,0x00]
399
400 ds_cmpst_f32 v0, v0, v255 offset:65535
401 // CHECK: [0xff,0xff,0x44,0xd8,0x00,0x00,0xff,0x00]
402
403 ds_cmpst_f32 v0, v0, v0
404 // CHECK: [0x00,0x00,0x44,0xd8,0x00,0x00,0x00,0x00]
405
406 ds_cmpst_f32 v0, v0, v0 offset:0
407 // CHECK: [0x00,0x00,0x44,0xd8,0x00,0x00,0x00,0x00]
408
409 ds_cmpst_f32 v0, v0, v0 offset:4
410 // CHECK: [0x04,0x00,0x44,0xd8,0x00,0x00,0x00,0x00]
411
412 ds_cmpst_f32 v0, v0, v0 offset:65535 gds
413 // CHECK: [0xff,0xff,0x46,0xd8,0x00,0x00,0x00,0x00]
414
415 ds_min_f32 v0, v0 offset:65535
416 // CHECK: [0xff,0xff,0x48,0xd8,0x00,0x00,0x00,0x00]
417
418 ds_min_f32 v255, v0 offset:65535
419 // CHECK: [0xff,0xff,0x48,0xd8,0xff,0x00,0x00,0x00]
420
421 ds_min_f32 v0, v255 offset:65535
422 // CHECK: [0xff,0xff,0x48,0xd8,0x00,0xff,0x00,0x00]
423
424 ds_min_f32 v0, v0
425 // CHECK: [0x00,0x00,0x48,0xd8,0x00,0x00,0x00,0x00]
426
427 ds_min_f32 v0, v0 offset:0
428 // CHECK: [0x00,0x00,0x48,0xd8,0x00,0x00,0x00,0x00]
429
430 ds_min_f32 v0, v0 offset:4
431 // CHECK: [0x04,0x00,0x48,0xd8,0x00,0x00,0x00,0x00]
432
433 ds_min_f32 v0, v0 offset:65535 gds
434 // CHECK: [0xff,0xff,0x4a,0xd8,0x00,0x00,0x00,0x00]
435
436 ds_max_f32 v0, v0 offset:65535
437 // CHECK: [0xff,0xff,0x4c,0xd8,0x00,0x00,0x00,0x00]
438
439 ds_max_f32 v255, v0 offset:65535
440 // CHECK: [0xff,0xff,0x4c,0xd8,0xff,0x00,0x00,0x00]
441
442 ds_max_f32 v0, v255 offset:65535
443 // CHECK: [0xff,0xff,0x4c,0xd8,0x00,0xff,0x00,0x00]
444
445 ds_max_f32 v0, v0
446 // CHECK: [0x00,0x00,0x4c,0xd8,0x00,0x00,0x00,0x00]
447
448 ds_max_f32 v0, v0 offset:0
449 // CHECK: [0x00,0x00,0x4c,0xd8,0x00,0x00,0x00,0x00]
450
451 ds_max_f32 v0, v0 offset:4
452 // CHECK: [0x04,0x00,0x4c,0xd8,0x00,0x00,0x00,0x00]
453
454 ds_max_f32 v0, v0 offset:65535 gds
455 // CHECK: [0xff,0xff,0x4e,0xd8,0x00,0x00,0x00,0x00]
456
457 ds_gws_init v0 gds
458 // CHECK: [0x00,0x00,0x66,0xd8,0x00,0x00,0x00,0x00]
459
460 ds_gws_sema_v v0 gds
461 // CHECK: [0x00,0x00,0x6a,0xd8,0x00,0x00,0x00,0x00]
462
463 ds_gws_sema_br v0 gds
464 // CHECK: [0x00,0x00,0x6e,0xd8,0x00,0x00,0x00,0x00]
465
466 ds_gws_sema_p v0 gds
467 // CHECK: [0x00,0x00,0x72,0xd8,0x00,0x00,0x00,0x00]
468
469 ds_gws_barrier v0 gds
470 // CHECK: [0x00,0x00,0x76,0xd8,0x00,0x00,0x00,0x00]
471
472 ds_write_b8 v0, v0 offset:65535
473 // CHECK: [0xff,0xff,0x78,0xd8,0x00,0x00,0x00,0x00]
474
475 ds_write_b8 v255, v0 offset:65535
476 // CHECK: [0xff,0xff,0x78,0xd8,0xff,0x00,0x00,0x00]
477
478 ds_write_b8 v0, v255 offset:65535
479 // CHECK: [0xff,0xff,0x78,0xd8,0x00,0xff,0x00,0x00]
480
481 ds_write_b8 v0, v0
482 // CHECK: [0x00,0x00,0x78,0xd8,0x00,0x00,0x00,0x00]
483
484 ds_write_b8 v0, v0 offset:0
485 // CHECK: [0x00,0x00,0x78,0xd8,0x00,0x00,0x00,0x00]
486
487 ds_write_b8 v0, v0 offset:4
488 // CHECK: [0x04,0x00,0x78,0xd8,0x00,0x00,0x00,0x00]
489
490 ds_write_b8 v0, v0 offset:65535 gds
491 // CHECK: [0xff,0xff,0x7a,0xd8,0x00,0x00,0x00,0x00]
492
493 ds_write_b16 v0, v0 offset:65535
494 // CHECK: [0xff,0xff,0x7c,0xd8,0x00,0x00,0x00,0x00]
495
496 ds_write_b16 v255, v0 offset:65535
497 // CHECK: [0xff,0xff,0x7c,0xd8,0xff,0x00,0x00,0x00]
498
499 ds_write_b16 v0, v255 offset:65535
500 // CHECK: [0xff,0xff,0x7c,0xd8,0x00,0xff,0x00,0x00]
501
502 ds_write_b16 v0, v0
503 // CHECK: [0x00,0x00,0x7c,0xd8,0x00,0x00,0x00,0x00]
504
505 ds_write_b16 v0, v0 offset:0
506 // CHECK: [0x00,0x00,0x7c,0xd8,0x00,0x00,0x00,0x00]
507
508 ds_write_b16 v0, v0 offset:4
509 // CHECK: [0x04,0x00,0x7c,0xd8,0x00,0x00,0x00,0x00]
510
511 ds_write_b16 v0, v0 offset:65535 gds
512 // CHECK: [0xff,0xff,0x7e,0xd8,0x00,0x00,0x00,0x00]
513
514 ds_add_rtn_u32 v0, v0, v0 offset:65535
515 // CHECK: [0xff,0xff,0x80,0xd8,0x00,0x00,0x00,0x00]
516
517 ds_add_rtn_u32 v255, v0, v0 offset:65535
518 // CHECK: [0xff,0xff,0x80,0xd8,0x00,0x00,0x00,0xff]
519
520 ds_add_rtn_u32 v0, v255, v0 offset:65535
521 // CHECK: [0xff,0xff,0x80,0xd8,0xff,0x00,0x00,0x00]
522
523 ds_add_rtn_u32 v0, v0, v255 offset:65535
524 // CHECK: [0xff,0xff,0x80,0xd8,0x00,0xff,0x00,0x00]
525
526 ds_add_rtn_u32 v0, v0, v0
527 // CHECK: [0x00,0x00,0x80,0xd8,0x00,0x00,0x00,0x00]
528
529 ds_add_rtn_u32 v0, v0, v0 offset:0
530 // CHECK: [0x00,0x00,0x80,0xd8,0x00,0x00,0x00,0x00]
531
532 ds_add_rtn_u32 v0, v0, v0 offset:4
533 // CHECK: [0x04,0x00,0x80,0xd8,0x00,0x00,0x00,0x00]
534
535 ds_add_rtn_u32 v0, v0, v0 offset:65535 gds
536 // CHECK: [0xff,0xff,0x82,0xd8,0x00,0x00,0x00,0x00]
537
538 ds_sub_rtn_u32 v0, v0, v0 offset:65535
539 // CHECK: [0xff,0xff,0x84,0xd8,0x00,0x00,0x00,0x00]
540
541 ds_sub_rtn_u32 v255, v0, v0 offset:65535
542 // CHECK: [0xff,0xff,0x84,0xd8,0x00,0x00,0x00,0xff]
543
544 ds_sub_rtn_u32 v0, v255, v0 offset:65535
545 // CHECK: [0xff,0xff,0x84,0xd8,0xff,0x00,0x00,0x00]
546
547 ds_sub_rtn_u32 v0, v0, v255 offset:65535
548 // CHECK: [0xff,0xff,0x84,0xd8,0x00,0xff,0x00,0x00]
549
550 ds_sub_rtn_u32 v0, v0, v0
551 // CHECK: [0x00,0x00,0x84,0xd8,0x00,0x00,0x00,0x00]
552
553 ds_sub_rtn_u32 v0, v0, v0 offset:0
554 // CHECK: [0x00,0x00,0x84,0xd8,0x00,0x00,0x00,0x00]
555
556 ds_sub_rtn_u32 v0, v0, v0 offset:4
557 // CHECK: [0x04,0x00,0x84,0xd8,0x00,0x00,0x00,0x00]
558
559 ds_sub_rtn_u32 v0, v0, v0 offset:65535 gds
560 // CHECK: [0xff,0xff,0x86,0xd8,0x00,0x00,0x00,0x00]
561
562 ds_rsub_rtn_u32 v0, v0, v0 offset:65535
563 // CHECK: [0xff,0xff,0x88,0xd8,0x00,0x00,0x00,0x00]
564
565 ds_rsub_rtn_u32 v255, v0, v0 offset:65535
566 // CHECK: [0xff,0xff,0x88,0xd8,0x00,0x00,0x00,0xff]
567
568 ds_rsub_rtn_u32 v0, v255, v0 offset:65535
569 // CHECK: [0xff,0xff,0x88,0xd8,0xff,0x00,0x00,0x00]
570
571 ds_rsub_rtn_u32 v0, v0, v255 offset:65535
572 // CHECK: [0xff,0xff,0x88,0xd8,0x00,0xff,0x00,0x00]
573
574 ds_rsub_rtn_u32 v0, v0, v0
575 // CHECK: [0x00,0x00,0x88,0xd8,0x00,0x00,0x00,0x00]
576
577 ds_rsub_rtn_u32 v0, v0, v0 offset:0
578 // CHECK: [0x00,0x00,0x88,0xd8,0x00,0x00,0x00,0x00]
579
580 ds_rsub_rtn_u32 v0, v0, v0 offset:4
581 // CHECK: [0x04,0x00,0x88,0xd8,0x00,0x00,0x00,0x00]
582
583 ds_rsub_rtn_u32 v0, v0, v0 offset:65535 gds
584 // CHECK: [0xff,0xff,0x8a,0xd8,0x00,0x00,0x00,0x00]
585
586 ds_inc_rtn_u32 v0, v0, v0 offset:65535
587 // CHECK: [0xff,0xff,0x8c,0xd8,0x00,0x00,0x00,0x00]
588
589 ds_inc_rtn_u32 v255, v0, v0 offset:65535
590 // CHECK: [0xff,0xff,0x8c,0xd8,0x00,0x00,0x00,0xff]
591
592 ds_inc_rtn_u32 v0, v255, v0 offset:65535
593 // CHECK: [0xff,0xff,0x8c,0xd8,0xff,0x00,0x00,0x00]
594
595 ds_inc_rtn_u32 v0, v0, v255 offset:65535
596 // CHECK: [0xff,0xff,0x8c,0xd8,0x00,0xff,0x00,0x00]
597
598 ds_inc_rtn_u32 v0, v0, v0
599 // CHECK: [0x00,0x00,0x8c,0xd8,0x00,0x00,0x00,0x00]
600
601 ds_inc_rtn_u32 v0, v0, v0 offset:0
602 // CHECK: [0x00,0x00,0x8c,0xd8,0x00,0x00,0x00,0x00]
603
604 ds_inc_rtn_u32 v0, v0, v0 offset:4
605 // CHECK: [0x04,0x00,0x8c,0xd8,0x00,0x00,0x00,0x00]
606
607 ds_inc_rtn_u32 v0, v0, v0 offset:65535 gds
608 // CHECK: [0xff,0xff,0x8e,0xd8,0x00,0x00,0x00,0x00]
609
610 ds_dec_rtn_u32 v0, v0, v0 offset:65535
611 // CHECK: [0xff,0xff,0x90,0xd8,0x00,0x00,0x00,0x00]
612
613 ds_dec_rtn_u32 v255, v0, v0 offset:65535
614 // CHECK: [0xff,0xff,0x90,0xd8,0x00,0x00,0x00,0xff]
615
616 ds_dec_rtn_u32 v0, v255, v0 offset:65535
617 // CHECK: [0xff,0xff,0x90,0xd8,0xff,0x00,0x00,0x00]
618
619 ds_dec_rtn_u32 v0, v0, v255 offset:65535
620 // CHECK: [0xff,0xff,0x90,0xd8,0x00,0xff,0x00,0x00]
621
622 ds_dec_rtn_u32 v0, v0, v0
623 // CHECK: [0x00,0x00,0x90,0xd8,0x00,0x00,0x00,0x00]
624
625 ds_dec_rtn_u32 v0, v0, v0 offset:0
626 // CHECK: [0x00,0x00,0x90,0xd8,0x00,0x00,0x00,0x00]
627
628 ds_dec_rtn_u32 v0, v0, v0 offset:4
629 // CHECK: [0x04,0x00,0x90,0xd8,0x00,0x00,0x00,0x00]
630
631 ds_dec_rtn_u32 v0, v0, v0 offset:65535 gds
632 // CHECK: [0xff,0xff,0x92,0xd8,0x00,0x00,0x00,0x00]
633
634 ds_min_rtn_i32 v0, v0, v0 offset:65535
635 // CHECK: [0xff,0xff,0x94,0xd8,0x00,0x00,0x00,0x00]
636
637 ds_min_rtn_i32 v255, v0, v0 offset:65535
638 // CHECK: [0xff,0xff,0x94,0xd8,0x00,0x00,0x00,0xff]
639
640 ds_min_rtn_i32 v0, v255, v0 offset:65535
641 // CHECK: [0xff,0xff,0x94,0xd8,0xff,0x00,0x00,0x00]
642
643 ds_min_rtn_i32 v0, v0, v255 offset:65535
644 // CHECK: [0xff,0xff,0x94,0xd8,0x00,0xff,0x00,0x00]
645
646 ds_min_rtn_i32 v0, v0, v0
647 // CHECK: [0x00,0x00,0x94,0xd8,0x00,0x00,0x00,0x00]
648
649 ds_min_rtn_i32 v0, v0, v0 offset:0
650 // CHECK: [0x00,0x00,0x94,0xd8,0x00,0x00,0x00,0x00]
651
652 ds_min_rtn_i32 v0, v0, v0 offset:4
653 // CHECK: [0x04,0x00,0x94,0xd8,0x00,0x00,0x00,0x00]
654
655 ds_min_rtn_i32 v0, v0, v0 offset:65535 gds
656 // CHECK: [0xff,0xff,0x96,0xd8,0x00,0x00,0x00,0x00]
657
658 ds_max_rtn_i32 v0, v0, v0 offset:65535
659 // CHECK: [0xff,0xff,0x98,0xd8,0x00,0x00,0x00,0x00]
660
661 ds_max_rtn_i32 v255, v0, v0 offset:65535
662 // CHECK: [0xff,0xff,0x98,0xd8,0x00,0x00,0x00,0xff]
663
664 ds_max_rtn_i32 v0, v255, v0 offset:65535
665 // CHECK: [0xff,0xff,0x98,0xd8,0xff,0x00,0x00,0x00]
666
667 ds_max_rtn_i32 v0, v0, v255 offset:65535
668 // CHECK: [0xff,0xff,0x98,0xd8,0x00,0xff,0x00,0x00]
669
670 ds_max_rtn_i32 v0, v0, v0
671 // CHECK: [0x00,0x00,0x98,0xd8,0x00,0x00,0x00,0x00]
672
673 ds_max_rtn_i32 v0, v0, v0 offset:0
674 // CHECK: [0x00,0x00,0x98,0xd8,0x00,0x00,0x00,0x00]
675
676 ds_max_rtn_i32 v0, v0, v0 offset:4
677 // CHECK: [0x04,0x00,0x98,0xd8,0x00,0x00,0x00,0x00]
678
679 ds_max_rtn_i32 v0, v0, v0 offset:65535 gds
680 // CHECK: [0xff,0xff,0x9a,0xd8,0x00,0x00,0x00,0x00]
681
682 ds_min_rtn_u32 v0, v0, v0 offset:65535
683 // CHECK: [0xff,0xff,0x9c,0xd8,0x00,0x00,0x00,0x00]
684
685 ds_min_rtn_u32 v255, v0, v0 offset:65535
686 // CHECK: [0xff,0xff,0x9c,0xd8,0x00,0x00,0x00,0xff]
687
688 ds_min_rtn_u32 v0, v255, v0 offset:65535
689 // CHECK: [0xff,0xff,0x9c,0xd8,0xff,0x00,0x00,0x00]
690
691 ds_min_rtn_u32 v0, v0, v255 offset:65535
692 // CHECK: [0xff,0xff,0x9c,0xd8,0x00,0xff,0x00,0x00]
693
694 ds_min_rtn_u32 v0, v0, v0
695 // CHECK: [0x00,0x00,0x9c,0xd8,0x00,0x00,0x00,0x00]
696
697 ds_min_rtn_u32 v0, v0, v0 offset:0
698 // CHECK: [0x00,0x00,0x9c,0xd8,0x00,0x00,0x00,0x00]
699
700 ds_min_rtn_u32 v0, v0, v0 offset:4
701 // CHECK: [0x04,0x00,0x9c,0xd8,0x00,0x00,0x00,0x00]
702
703 ds_min_rtn_u32 v0, v0, v0 offset:65535 gds
704 // CHECK: [0xff,0xff,0x9e,0xd8,0x00,0x00,0x00,0x00]
705
706 ds_max_rtn_u32 v0, v0, v0 offset:65535
707 // CHECK: [0xff,0xff,0xa0,0xd8,0x00,0x00,0x00,0x00]
708
709 ds_max_rtn_u32 v255, v0, v0 offset:65535
710 // CHECK: [0xff,0xff,0xa0,0xd8,0x00,0x00,0x00,0xff]
711
712 ds_max_rtn_u32 v0, v255, v0 offset:65535
713 // CHECK: [0xff,0xff,0xa0,0xd8,0xff,0x00,0x00,0x00]
714
715 ds_max_rtn_u32 v0, v0, v255 offset:65535
716 // CHECK: [0xff,0xff,0xa0,0xd8,0x00,0xff,0x00,0x00]
717
718 ds_max_rtn_u32 v0, v0, v0
719 // CHECK: [0x00,0x00,0xa0,0xd8,0x00,0x00,0x00,0x00]
720
721 ds_max_rtn_u32 v0, v0, v0 offset:0
722 // CHECK: [0x00,0x00,0xa0,0xd8,0x00,0x00,0x00,0x00]
723
724 ds_max_rtn_u32 v0, v0, v0 offset:4
725 // CHECK: [0x04,0x00,0xa0,0xd8,0x00,0x00,0x00,0x00]
726
727 ds_max_rtn_u32 v0, v0, v0 offset:65535 gds
728 // CHECK: [0xff,0xff,0xa2,0xd8,0x00,0x00,0x00,0x00]
729
730 ds_and_rtn_b32 v0, v0, v0 offset:65535
731 // CHECK: [0xff,0xff,0xa4,0xd8,0x00,0x00,0x00,0x00]
732
733 ds_and_rtn_b32 v255, v0, v0 offset:65535
734 // CHECK: [0xff,0xff,0xa4,0xd8,0x00,0x00,0x00,0xff]
735
736 ds_and_rtn_b32 v0, v255, v0 offset:65535
737 // CHECK: [0xff,0xff,0xa4,0xd8,0xff,0x00,0x00,0x00]
738
739 ds_and_rtn_b32 v0, v0, v255 offset:65535
740 // CHECK: [0xff,0xff,0xa4,0xd8,0x00,0xff,0x00,0x00]
741
742 ds_and_rtn_b32 v0, v0, v0
743 // CHECK: [0x00,0x00,0xa4,0xd8,0x00,0x00,0x00,0x00]
744
745 ds_and_rtn_b32 v0, v0, v0 offset:0
746 // CHECK: [0x00,0x00,0xa4,0xd8,0x00,0x00,0x00,0x00]
747
748 ds_and_rtn_b32 v0, v0, v0 offset:4
749 // CHECK: [0x04,0x00,0xa4,0xd8,0x00,0x00,0x00,0x00]
750
751 ds_and_rtn_b32 v0, v0, v0 offset:65535 gds
752 // CHECK: [0xff,0xff,0xa6,0xd8,0x00,0x00,0x00,0x00]
753
754 ds_or_rtn_b32 v0, v0, v0 offset:65535
755 // CHECK: [0xff,0xff,0xa8,0xd8,0x00,0x00,0x00,0x00]
756
757 ds_or_rtn_b32 v255, v0, v0 offset:65535
758 // CHECK: [0xff,0xff,0xa8,0xd8,0x00,0x00,0x00,0xff]
759
760 ds_or_rtn_b32 v0, v255, v0 offset:65535
761 // CHECK: [0xff,0xff,0xa8,0xd8,0xff,0x00,0x00,0x00]
762
763 ds_or_rtn_b32 v0, v0, v255 offset:65535
764 // CHECK: [0xff,0xff,0xa8,0xd8,0x00,0xff,0x00,0x00]
765
766 ds_or_rtn_b32 v0, v0, v0
767 // CHECK: [0x00,0x00,0xa8,0xd8,0x00,0x00,0x00,0x00]
768
769 ds_or_rtn_b32 v0, v0, v0 offset:0
770 // CHECK: [0x00,0x00,0xa8,0xd8,0x00,0x00,0x00,0x00]
771
772 ds_or_rtn_b32 v0, v0, v0 offset:4
773 // CHECK: [0x04,0x00,0xa8,0xd8,0x00,0x00,0x00,0x00]
774
775 ds_or_rtn_b32 v0, v0, v0 offset:65535 gds
776 // CHECK: [0xff,0xff,0xaa,0xd8,0x00,0x00,0x00,0x00]
777
778 ds_xor_rtn_b32 v0, v0, v0 offset:65535
779 // CHECK: [0xff,0xff,0xac,0xd8,0x00,0x00,0x00,0x00]
780
781 ds_xor_rtn_b32 v255, v0, v0 offset:65535
782 // CHECK: [0xff,0xff,0xac,0xd8,0x00,0x00,0x00,0xff]
783
784 ds_xor_rtn_b32 v0, v255, v0 offset:65535
785 // CHECK: [0xff,0xff,0xac,0xd8,0xff,0x00,0x00,0x00]
786
787 ds_xor_rtn_b32 v0, v0, v255 offset:65535
788 // CHECK: [0xff,0xff,0xac,0xd8,0x00,0xff,0x00,0x00]
789
790 ds_xor_rtn_b32 v0, v0, v0
791 // CHECK: [0x00,0x00,0xac,0xd8,0x00,0x00,0x00,0x00]
792
793 ds_xor_rtn_b32 v0, v0, v0 offset:0
794 // CHECK: [0x00,0x00,0xac,0xd8,0x00,0x00,0x00,0x00]
795
796 ds_xor_rtn_b32 v0, v0, v0 offset:4
797 // CHECK: [0x04,0x00,0xac,0xd8,0x00,0x00,0x00,0x00]
798
799 ds_xor_rtn_b32 v0, v0, v0 offset:65535 gds
800 // CHECK: [0xff,0xff,0xae,0xd8,0x00,0x00,0x00,0x00]
801
802 ds_mskor_rtn_b32 v0, v0, v0, v0 offset:65535
803 // CHECK: [0xff,0xff,0xb0,0xd8,0x00,0x00,0x00,0x00]
804
805 ds_mskor_rtn_b32 v255, v0, v0, v0 offset:65535
806 // CHECK: [0xff,0xff,0xb0,0xd8,0x00,0x00,0x00,0xff]
807
808 ds_mskor_rtn_b32 v0, v255, v0, v0 offset:65535
809 // CHECK: [0xff,0xff,0xb0,0xd8,0xff,0x00,0x00,0x00]
810
811 ds_mskor_rtn_b32 v0, v0, v255, v0 offset:65535
812 // CHECK: [0xff,0xff,0xb0,0xd8,0x00,0xff,0x00,0x00]
813
814 ds_mskor_rtn_b32 v0, v0, v0, v255 offset:65535
815 // CHECK: [0xff,0xff,0xb0,0xd8,0x00,0x00,0xff,0x00]
816
817 ds_mskor_rtn_b32 v0, v0, v0, v0
818 // CHECK: [0x00,0x00,0xb0,0xd8,0x00,0x00,0x00,0x00]
819
820 ds_mskor_rtn_b32 v0, v0, v0, v0 offset:0
821 // CHECK: [0x00,0x00,0xb0,0xd8,0x00,0x00,0x00,0x00]
822
823 ds_mskor_rtn_b32 v0, v0, v0, v0 offset:4
824 // CHECK: [0x04,0x00,0xb0,0xd8,0x00,0x00,0x00,0x00]
825
826 ds_mskor_rtn_b32 v0, v0, v0, v0 offset:65535 gds
827 // CHECK: [0xff,0xff,0xb2,0xd8,0x00,0x00,0x00,0x00]
828
829 ds_wrxchg_rtn_b32 v0, v0, v0 offset:65535
830 // CHECK: [0xff,0xff,0xb4,0xd8,0x00,0x00,0x00,0x00]
831
832 ds_wrxchg_rtn_b32 v255, v0, v0 offset:65535
833 // CHECK: [0xff,0xff,0xb4,0xd8,0x00,0x00,0x00,0xff]
834
835 ds_wrxchg_rtn_b32 v0, v255, v0 offset:65535
836 // CHECK: [0xff,0xff,0xb4,0xd8,0xff,0x00,0x00,0x00]
837
838 ds_wrxchg_rtn_b32 v0, v0, v255 offset:65535
839 // CHECK: [0xff,0xff,0xb4,0xd8,0x00,0xff,0x00,0x00]
840
841 ds_wrxchg_rtn_b32 v0, v0, v0
842 // CHECK: [0x00,0x00,0xb4,0xd8,0x00,0x00,0x00,0x00]
843
844 ds_wrxchg_rtn_b32 v0, v0, v0 offset:0
845 // CHECK: [0x00,0x00,0xb4,0xd8,0x00,0x00,0x00,0x00]
846
847 ds_wrxchg_rtn_b32 v0, v0, v0 offset:4
848 // CHECK: [0x04,0x00,0xb4,0xd8,0x00,0x00,0x00,0x00]
849
850 ds_wrxchg_rtn_b32 v0, v0, v0 offset:65535 gds
851 // CHECK: [0xff,0xff,0xb6,0xd8,0x00,0x00,0x00,0x00]
852
853 ds_cmpst_rtn_b32 v0, v0, v0, v0 offset:65535
854 // CHECK: [0xff,0xff,0xc0,0xd8,0x00,0x00,0x00,0x00]
855
856 ds_cmpst_rtn_b32 v255, v0, v0, v0 offset:65535
857 // CHECK: [0xff,0xff,0xc0,0xd8,0x00,0x00,0x00,0xff]
858
859 ds_cmpst_rtn_b32 v0, v255, v0, v0 offset:65535
860 // CHECK: [0xff,0xff,0xc0,0xd8,0xff,0x00,0x00,0x00]
861
862 ds_cmpst_rtn_b32 v0, v0, v255, v0 offset:65535
863 // CHECK: [0xff,0xff,0xc0,0xd8,0x00,0xff,0x00,0x00]
864
865 ds_cmpst_rtn_b32 v0, v0, v0, v255 offset:65535
866 // CHECK: [0xff,0xff,0xc0,0xd8,0x00,0x00,0xff,0x00]
867
868 ds_cmpst_rtn_b32 v0, v0, v0, v0
869 // CHECK: [0x00,0x00,0xc0,0xd8,0x00,0x00,0x00,0x00]
870
871 ds_cmpst_rtn_b32 v0, v0, v0, v0 offset:0
872 // CHECK: [0x00,0x00,0xc0,0xd8,0x00,0x00,0x00,0x00]
873
874 ds_cmpst_rtn_b32 v0, v0, v0, v0 offset:4
875 // CHECK: [0x04,0x00,0xc0,0xd8,0x00,0x00,0x00,0x00]
876
877 ds_cmpst_rtn_b32 v0, v0, v0, v0 offset:65535 gds
878 // CHECK: [0xff,0xff,0xc2,0xd8,0x00,0x00,0x00,0x00]
879
880 ds_cmpst_rtn_f32 v0, v0, v0, v0 offset:65535
881 // CHECK: [0xff,0xff,0xc4,0xd8,0x00,0x00,0x00,0x00]
882
883 ds_cmpst_rtn_f32 v255, v0, v0, v0 offset:65535
884 // CHECK: [0xff,0xff,0xc4,0xd8,0x00,0x00,0x00,0xff]
885
886 ds_cmpst_rtn_f32 v0, v255, v0, v0 offset:65535
887 // CHECK: [0xff,0xff,0xc4,0xd8,0xff,0x00,0x00,0x00]
888
889 ds_cmpst_rtn_f32 v0, v0, v255, v0 offset:65535
890 // CHECK: [0xff,0xff,0xc4,0xd8,0x00,0xff,0x00,0x00]
891
892 ds_cmpst_rtn_f32 v0, v0, v0, v255 offset:65535
893 // CHECK: [0xff,0xff,0xc4,0xd8,0x00,0x00,0xff,0x00]
894
895 ds_cmpst_rtn_f32 v0, v0, v0, v0
896 // CHECK: [0x00,0x00,0xc4,0xd8,0x00,0x00,0x00,0x00]
897
898 ds_cmpst_rtn_f32 v0, v0, v0, v0 offset:0
899 // CHECK: [0x00,0x00,0xc4,0xd8,0x00,0x00,0x00,0x00]
900
901 ds_cmpst_rtn_f32 v0, v0, v0, v0 offset:4
902 // CHECK: [0x04,0x00,0xc4,0xd8,0x00,0x00,0x00,0x00]
903
904 ds_cmpst_rtn_f32 v0, v0, v0, v0 offset:65535 gds
905 // CHECK: [0xff,0xff,0xc6,0xd8,0x00,0x00,0x00,0x00]
906
907 ds_min_rtn_f32 v0, v0, v0 offset:65535
908 // CHECK: [0xff,0xff,0xc8,0xd8,0x00,0x00,0x00,0x00]
909
910 ds_min_rtn_f32 v255, v0, v0 offset:65535
911 // CHECK: [0xff,0xff,0xc8,0xd8,0x00,0x00,0x00,0xff]
912
913 ds_min_rtn_f32 v0, v255, v0 offset:65535
914 // CHECK: [0xff,0xff,0xc8,0xd8,0xff,0x00,0x00,0x00]
915
916 ds_min_rtn_f32 v0, v0, v255 offset:65535
917 // CHECK: [0xff,0xff,0xc8,0xd8,0x00,0xff,0x00,0x00]
918
919 ds_min_rtn_f32 v0, v0, v0
920 // CHECK: [0x00,0x00,0xc8,0xd8,0x00,0x00,0x00,0x00]
921
922 ds_min_rtn_f32 v0, v0, v0 offset:0
923 // CHECK: [0x00,0x00,0xc8,0xd8,0x00,0x00,0x00,0x00]
924
925 ds_min_rtn_f32 v0, v0, v0 offset:4
926 // CHECK: [0x04,0x00,0xc8,0xd8,0x00,0x00,0x00,0x00]
927
928 ds_min_rtn_f32 v0, v0, v0 offset:65535 gds
929 // CHECK: [0xff,0xff,0xca,0xd8,0x00,0x00,0x00,0x00]
930
931 ds_max_rtn_f32 v0, v0, v0 offset:65535
932 // CHECK: [0xff,0xff,0xcc,0xd8,0x00,0x00,0x00,0x00]
933
934 ds_max_rtn_f32 v255, v0, v0 offset:65535
935 // CHECK: [0xff,0xff,0xcc,0xd8,0x00,0x00,0x00,0xff]
936
937 ds_max_rtn_f32 v0, v255, v0 offset:65535
938 // CHECK: [0xff,0xff,0xcc,0xd8,0xff,0x00,0x00,0x00]
939
940 ds_max_rtn_f32 v0, v0, v255 offset:65535
941 // CHECK: [0xff,0xff,0xcc,0xd8,0x00,0xff,0x00,0x00]
942
943 ds_max_rtn_f32 v0, v0, v0
944 // CHECK: [0x00,0x00,0xcc,0xd8,0x00,0x00,0x00,0x00]
945
946 ds_max_rtn_f32 v0, v0, v0 offset:0
947 // CHECK: [0x00,0x00,0xcc,0xd8,0x00,0x00,0x00,0x00]
948
949 ds_max_rtn_f32 v0, v0, v0 offset:4
950 // CHECK: [0x04,0x00,0xcc,0xd8,0x00,0x00,0x00,0x00]
951
952 ds_max_rtn_f32 v0, v0, v0 offset:65535 gds
953 // CHECK: [0xff,0xff,0xce,0xd8,0x00,0x00,0x00,0x00]
954
955 ds_swizzle_b32 v0, v0 offset:65535
956 // CHECK: [0xff,0xff,0xd4,0xd8,0x00,0x00,0x00,0x00]
957
958 ds_swizzle_b32 v255, v0 offset:65535
959 // CHECK: [0xff,0xff,0xd4,0xd8,0x00,0x00,0x00,0xff]
960
961 ds_swizzle_b32 v0, v255 offset:65535
962 // CHECK: [0xff,0xff,0xd4,0xd8,0xff,0x00,0x00,0x00]
963
964 ds_swizzle_b32 v0, v0
965 // CHECK: [0x00,0x00,0xd4,0xd8,0x00,0x00,0x00,0x00]
966
967 ds_swizzle_b32 v0, v0 offset:0
968 // CHECK: [0x00,0x00,0xd4,0xd8,0x00,0x00,0x00,0x00]
969
970 ds_swizzle_b32 v0, v0 offset:4
971 // CHECK: [0x04,0x00,0xd4,0xd8,0x00,0x00,0x00,0x00]
972
973 ds_swizzle_b32 v0, v0 offset:65535 gds
974 // CHECK: [0xff,0xff,0xd6,0xd8,0x00,0x00,0x00,0x00]
975
976 ds_read_b32 v0, v0 offset:65535
977 // CHECK: [0xff,0xff,0xd8,0xd8,0x00,0x00,0x00,0x00]
978
979 ds_read_b32 v255, v0 offset:65535
980 // CHECK: [0xff,0xff,0xd8,0xd8,0x00,0x00,0x00,0xff]
981
982 ds_read_b32 v0, v255 offset:65535
983 // CHECK: [0xff,0xff,0xd8,0xd8,0xff,0x00,0x00,0x00]
984
985 ds_read_b32 v0, v0
986 // CHECK: [0x00,0x00,0xd8,0xd8,0x00,0x00,0x00,0x00]
987
988 ds_read_b32 v0, v0 offset:0
989 // CHECK: [0x00,0x00,0xd8,0xd8,0x00,0x00,0x00,0x00]
990
991 ds_read_b32 v0, v0 offset:4
992 // CHECK: [0x04,0x00,0xd8,0xd8,0x00,0x00,0x00,0x00]
993
994 ds_read_b32 v0, v0 offset:65535 gds
995 // CHECK: [0xff,0xff,0xda,0xd8,0x00,0x00,0x00,0x00]
996
997 ds_read2_b32 v[0:1], v0 offset0:127 offset1:255
998 // CHECK: [0x7f,0xff,0xdc,0xd8,0x00,0x00,0x00,0x00]
999
1000 ds_read2_b32 v[254:255], v0 offset0:127 offset1:255
1001 // CHECK: [0x7f,0xff,0xdc,0xd8,0x00,0x00,0x00,0xfe]
1002
1003 ds_read2_b32 v[0:1], v255 offset0:127 offset1:255
1004 // CHECK: [0x7f,0xff,0xdc,0xd8,0xff,0x00,0x00,0x00]
1005
1006 ds_read2_b32 v[0:1], v0 offset1:255
1007 // CHECK: [0x00,0xff,0xdc,0xd8,0x00,0x00,0x00,0x00]
1008
1009 ds_read2_b32 v[0:1], v0 offset0:0 offset1:255
1010 // CHECK: [0x00,0xff,0xdc,0xd8,0x00,0x00,0x00,0x00]
1011
1012 ds_read2_b32 v[0:1], v0 offset0:16 offset1:255
1013 // CHECK: [0x10,0xff,0xdc,0xd8,0x00,0x00,0x00,0x00]
1014
1015 ds_read2_b32 v[0:1], v0 offset0:127
1016 // CHECK: [0x7f,0x00,0xdc,0xd8,0x00,0x00,0x00,0x00]
1017
1018 ds_read2_b32 v[0:1], v0 offset0:127 offset1:0
1019 // CHECK: [0x7f,0x00,0xdc,0xd8,0x00,0x00,0x00,0x00]
1020
1021 ds_read2_b32 v[0:1], v0 offset0:127 offset1:1
1022 // CHECK: [0x7f,0x01,0xdc,0xd8,0x00,0x00,0x00,0x00]
1023
1024 ds_read2_b32 v[0:1], v0 offset0:127 offset1:255 gds
1025 // CHECK: [0x7f,0xff,0xde,0xd8,0x00,0x00,0x00,0x00]
1026
1027 ds_read2st64_b32 v[0:1], v0 offset0:127 offset1:255
1028 // CHECK: [0x7f,0xff,0xe0,0xd8,0x00,0x00,0x00,0x00]
1029
1030 ds_read2st64_b32 v[254:255], v0 offset0:127 offset1:255
1031 // CHECK: [0x7f,0xff,0xe0,0xd8,0x00,0x00,0x00,0xfe]
1032
1033 ds_read2st64_b32 v[0:1], v255 offset0:127 offset1:255
1034 // CHECK: [0x7f,0xff,0xe0,0xd8,0xff,0x00,0x00,0x00]
1035
1036 ds_read2st64_b32 v[0:1], v0 offset1:255
1037 // CHECK: [0x00,0xff,0xe0,0xd8,0x00,0x00,0x00,0x00]
1038
1039 ds_read2st64_b32 v[0:1], v0 offset0:0 offset1:255
1040 // CHECK: [0x00,0xff,0xe0,0xd8,0x00,0x00,0x00,0x00]
1041
1042 ds_read2st64_b32 v[0:1], v0 offset0:16 offset1:255
1043 // CHECK: [0x10,0xff,0xe0,0xd8,0x00,0x00,0x00,0x00]
1044
1045 ds_read2st64_b32 v[0:1], v0 offset0:127
1046 // CHECK: [0x7f,0x00,0xe0,0xd8,0x00,0x00,0x00,0x00]
1047
1048 ds_read2st64_b32 v[0:1], v0 offset0:127 offset1:0
1049 // CHECK: [0x7f,0x00,0xe0,0xd8,0x00,0x00,0x00,0x00]
1050
1051 ds_read2st64_b32 v[0:1], v0 offset0:127 offset1:1
1052 // CHECK: [0x7f,0x01,0xe0,0xd8,0x00,0x00,0x00,0x00]
1053
1054 ds_read2st64_b32 v[0:1], v0 offset0:127 offset1:255 gds
1055 // CHECK: [0x7f,0xff,0xe2,0xd8,0x00,0x00,0x00,0x00]
1056
1057 ds_read_i8 v0, v0 offset:65535
1058 // CHECK: [0xff,0xff,0xe4,0xd8,0x00,0x00,0x00,0x00]
1059
1060 ds_read_i8 v255, v0 offset:65535
1061 // CHECK: [0xff,0xff,0xe4,0xd8,0x00,0x00,0x00,0xff]
1062
1063 ds_read_i8 v0, v255 offset:65535
1064 // CHECK: [0xff,0xff,0xe4,0xd8,0xff,0x00,0x00,0x00]
1065
1066 ds_read_i8 v0, v0
1067 // CHECK: [0x00,0x00,0xe4,0xd8,0x00,0x00,0x00,0x00]
1068
1069 ds_read_i8 v0, v0 offset:0
1070 // CHECK: [0x00,0x00,0xe4,0xd8,0x00,0x00,0x00,0x00]
1071
1072 ds_read_i8 v0, v0 offset:4
1073 // CHECK: [0x04,0x00,0xe4,0xd8,0x00,0x00,0x00,0x00]
1074
1075 ds_read_i8 v0, v0 offset:65535 gds
1076 // CHECK: [0xff,0xff,0xe6,0xd8,0x00,0x00,0x00,0x00]
1077
1078 ds_read_u8 v0, v0 offset:65535
1079 // CHECK: [0xff,0xff,0xe8,0xd8,0x00,0x00,0x00,0x00]
1080
1081 ds_read_u8 v255, v0 offset:65535
1082 // CHECK: [0xff,0xff,0xe8,0xd8,0x00,0x00,0x00,0xff]
1083
1084 ds_read_u8 v0, v255 offset:65535
1085 // CHECK: [0xff,0xff,0xe8,0xd8,0xff,0x00,0x00,0x00]
1086
1087 ds_read_u8 v0, v0
1088 // CHECK: [0x00,0x00,0xe8,0xd8,0x00,0x00,0x00,0x00]
1089
1090 ds_read_u8 v0, v0 offset:0
1091 // CHECK: [0x00,0x00,0xe8,0xd8,0x00,0x00,0x00,0x00]
1092
1093 ds_read_u8 v0, v0 offset:4
1094 // CHECK: [0x04,0x00,0xe8,0xd8,0x00,0x00,0x00,0x00]
1095
1096 ds_read_u8 v0, v0 offset:65535 gds
1097 // CHECK: [0xff,0xff,0xea,0xd8,0x00,0x00,0x00,0x00]
1098
1099 ds_read_i16 v0, v0 offset:65535
1100 // CHECK: [0xff,0xff,0xec,0xd8,0x00,0x00,0x00,0x00]
1101
1102 ds_read_i16 v255, v0 offset:65535
1103 // CHECK: [0xff,0xff,0xec,0xd8,0x00,0x00,0x00,0xff]
1104
1105 ds_read_i16 v0, v255 offset:65535
1106 // CHECK: [0xff,0xff,0xec,0xd8,0xff,0x00,0x00,0x00]
1107
1108 ds_read_i16 v0, v0
1109 // CHECK: [0x00,0x00,0xec,0xd8,0x00,0x00,0x00,0x00]
1110
1111 ds_read_i16 v0, v0 offset:0
1112 // CHECK: [0x00,0x00,0xec,0xd8,0x00,0x00,0x00,0x00]
1113
1114 ds_read_i16 v0, v0 offset:4
1115 // CHECK: [0x04,0x00,0xec,0xd8,0x00,0x00,0x00,0x00]
1116
1117 ds_read_i16 v0, v0 offset:65535 gds
1118 // CHECK: [0xff,0xff,0xee,0xd8,0x00,0x00,0x00,0x00]
1119
1120 ds_read_u16 v0, v0 offset:65535
1121 // CHECK: [0xff,0xff,0xf0,0xd8,0x00,0x00,0x00,0x00]
1122
1123 ds_read_u16 v255, v0 offset:65535
1124 // CHECK: [0xff,0xff,0xf0,0xd8,0x00,0x00,0x00,0xff]
1125
1126 ds_read_u16 v0, v255 offset:65535
1127 // CHECK: [0xff,0xff,0xf0,0xd8,0xff,0x00,0x00,0x00]
1128
1129 ds_read_u16 v0, v0
1130 // CHECK: [0x00,0x00,0xf0,0xd8,0x00,0x00,0x00,0x00]
1131
1132 ds_read_u16 v0, v0 offset:0
1133 // CHECK: [0x00,0x00,0xf0,0xd8,0x00,0x00,0x00,0x00]
1134
1135 ds_read_u16 v0, v0 offset:4
1136 // CHECK: [0x04,0x00,0xf0,0xd8,0x00,0x00,0x00,0x00]
1137
1138 ds_read_u16 v0, v0 offset:65535 gds
1139 // CHECK: [0xff,0xff,0xf2,0xd8,0x00,0x00,0x00,0x00]
1140
1141 ds_consume v0 offset:65535
1142 // CHECK: [0xff,0xff,0xf4,0xd8,0x00,0x00,0x00,0x00]
4 ds_add_u32 v1, v2 offset:65535
5 // CHECK: [0xff,0xff,0x00,0xd8,0x01,0x02,0x00,0x00]
6
7 ds_add_u32 v255, v2 offset:65535
8 // CHECK: [0xff,0xff,0x00,0xd8,0xff,0x02,0x00,0x00]
9
10 ds_add_u32 v1, v255 offset:65535
11 // CHECK: [0xff,0xff,0x00,0xd8,0x01,0xff,0x00,0x00]
12
13 ds_add_u32 v1, v2
14 // CHECK: [0x00,0x00,0x00,0xd8,0x01,0x02,0x00,0x00]
15
16 ds_add_u32 v1, v2 offset:0
17 // CHECK: [0x00,0x00,0x00,0xd8,0x01,0x02,0x00,0x00]
18
19 ds_add_u32 v1, v2 offset:4
20 // CHECK: [0x04,0x00,0x00,0xd8,0x01,0x02,0x00,0x00]
21
22 ds_add_u32 v1, v2 offset:65535 gds
23 // CHECK: [0xff,0xff,0x02,0xd8,0x01,0x02,0x00,0x00]
24
25 ds_sub_u32 v1, v2 offset:65535
26 // CHECK: [0xff,0xff,0x04,0xd8,0x01,0x02,0x00,0x00]
27
28 ds_sub_u32 v255, v2 offset:65535
29 // CHECK: [0xff,0xff,0x04,0xd8,0xff,0x02,0x00,0x00]
30
31 ds_sub_u32 v1, v255 offset:65535
32 // CHECK: [0xff,0xff,0x04,0xd8,0x01,0xff,0x00,0x00]
33
34 ds_sub_u32 v1, v2
35 // CHECK: [0x00,0x00,0x04,0xd8,0x01,0x02,0x00,0x00]
36
37 ds_sub_u32 v1, v2 offset:0
38 // CHECK: [0x00,0x00,0x04,0xd8,0x01,0x02,0x00,0x00]
39
40 ds_sub_u32 v1, v2 offset:4
41 // CHECK: [0x04,0x00,0x04,0xd8,0x01,0x02,0x00,0x00]
42
43 ds_sub_u32 v1, v2 offset:65535 gds
44 // CHECK: [0xff,0xff,0x06,0xd8,0x01,0x02,0x00,0x00]
45
46 ds_rsub_u32 v1, v2 offset:65535
47 // CHECK: [0xff,0xff,0x08,0xd8,0x01,0x02,0x00,0x00]
48
49 ds_rsub_u32 v255, v2 offset:65535
50 // CHECK: [0xff,0xff,0x08,0xd8,0xff,0x02,0x00,0x00]
51
52 ds_rsub_u32 v1, v255 offset:65535
53 // CHECK: [0xff,0xff,0x08,0xd8,0x01,0xff,0x00,0x00]
54
55 ds_rsub_u32 v1, v2
56 // CHECK: [0x00,0x00,0x08,0xd8,0x01,0x02,0x00,0x00]
57
58 ds_rsub_u32 v1, v2 offset:0
59 // CHECK: [0x00,0x00,0x08,0xd8,0x01,0x02,0x00,0x00]
60
61 ds_rsub_u32 v1, v2 offset:4
62 // CHECK: [0x04,0x00,0x08,0xd8,0x01,0x02,0x00,0x00]
63
64 ds_rsub_u32 v1, v2 offset:65535 gds
65 // CHECK: [0xff,0xff,0x0a,0xd8,0x01,0x02,0x00,0x00]
66
67 ds_inc_u32 v1, v2 offset:65535
68 // CHECK: [0xff,0xff,0x0c,0xd8,0x01,0x02,0x00,0x00]
69
70 ds_inc_u32 v255, v2 offset:65535
71 // CHECK: [0xff,0xff,0x0c,0xd8,0xff,0x02,0x00,0x00]
72
73 ds_inc_u32 v1, v255 offset:65535
74 // CHECK: [0xff,0xff,0x0c,0xd8,0x01,0xff,0x00,0x00]
75
76 ds_inc_u32 v1, v2
77 // CHECK: [0x00,0x00,0x0c,0xd8,0x01,0x02,0x00,0x00]
78
79 ds_inc_u32 v1, v2 offset:0
80 // CHECK: [0x00,0x00,0x0c,0xd8,0x01,0x02,0x00,0x00]
81
82 ds_inc_u32 v1, v2 offset:4
83 // CHECK: [0x04,0x00,0x0c,0xd8,0x01,0x02,0x00,0x00]
84
85 ds_inc_u32 v1, v2 offset:65535 gds
86 // CHECK: [0xff,0xff,0x0e,0xd8,0x01,0x02,0x00,0x00]
87
88 ds_dec_u32 v1, v2 offset:65535
89 // CHECK: [0xff,0xff,0x10,0xd8,0x01,0x02,0x00,0x00]
90
91 ds_dec_u32 v255, v2 offset:65535
92 // CHECK: [0xff,0xff,0x10,0xd8,0xff,0x02,0x00,0x00]
93
94 ds_dec_u32 v1, v255 offset:65535
95 // CHECK: [0xff,0xff,0x10,0xd8,0x01,0xff,0x00,0x00]
96
97 ds_dec_u32 v1, v2
98 // CHECK: [0x00,0x00,0x10,0xd8,0x01,0x02,0x00,0x00]
99
100 ds_dec_u32 v1, v2 offset:0
101 // CHECK: [0x00,0x00,0x10,0xd8,0x01,0x02,0x00,0x00]
102
103 ds_dec_u32 v1, v2 offset:4
104 // CHECK: [0x04,0x00,0x10,0xd8,0x01,0x02,0x00,0x00]
105
106 ds_dec_u32 v1, v2 offset:65535 gds
107 // CHECK: [0xff,0xff,0x12,0xd8,0x01,0x02,0x00,0x00]
108
109 ds_min_i32 v1, v2 offset:65535
110 // CHECK: [0xff,0xff,0x14,0xd8,0x01,0x02,0x00,0x00]
111
112 ds_min_i32 v255, v2 offset:65535
113 // CHECK: [0xff,0xff,0x14,0xd8,0xff,0x02,0x00,0x00]
114
115 ds_min_i32 v1, v255 offset:65535
116 // CHECK: [0xff,0xff,0x14,0xd8,0x01,0xff,0x00,0x00]
117
118 ds_min_i32 v1, v2
119 // CHECK: [0x00,0x00,0x14,0xd8,0x01,0x02,0x00,0x00]
120
121 ds_min_i32 v1, v2 offset:0
122 // CHECK: [0x00,0x00,0x14,0xd8,0x01,0x02,0x00,0x00]
123
124 ds_min_i32 v1, v2 offset:4
125 // CHECK: [0x04,0x00,0x14,0xd8,0x01,0x02,0x00,0x00]
126
127 ds_min_i32 v1, v2 offset:65535 gds
128 // CHECK: [0xff,0xff,0x16,0xd8,0x01,0x02,0x00,0x00]
129
130 ds_max_i32 v1, v2 offset:65535
131 // CHECK: [0xff,0xff,0x18,0xd8,0x01,0x02,0x00,0x00]
132
133 ds_max_i32 v255, v2 offset:65535
134 // CHECK: [0xff,0xff,0x18,0xd8,0xff,0x02,0x00,0x00]
135
136 ds_max_i32 v1, v255 offset:65535
137 // CHECK: [0xff,0xff,0x18,0xd8,0x01,0xff,0x00,0x00]
138
139 ds_max_i32 v1, v2
140 // CHECK: [0x00,0x00,0x18,0xd8,0x01,0x02,0x00,0x00]
141
142 ds_max_i32 v1, v2 offset:0
143 // CHECK: [0x00,0x00,0x18,0xd8,0x01,0x02,0x00,0x00]
144
145 ds_max_i32 v1, v2 offset:4
146 // CHECK: [0x04,0x00,0x18,0xd8,0x01,0x02,0x00,0x00]
147
148 ds_max_i32 v1, v2 offset:65535 gds
149 // CHECK: [0xff,0xff,0x1a,0xd8,0x01,0x02,0x00,0x00]
150
151 ds_min_u32 v1, v2 offset:65535
152 // CHECK: [0xff,0xff,0x1c,0xd8,0x01,0x02,0x00,0x00]
153
154 ds_min_u32 v255, v2 offset:65535
155 // CHECK: [0xff,0xff,0x1c,0xd8,0xff,0x02,0x00,0x00]
156
157 ds_min_u32 v1, v255 offset:65535
158 // CHECK: [0xff,0xff,0x1c,0xd8,0x01,0xff,0x00,0x00]
159
160 ds_min_u32 v1, v2
161 // CHECK: [0x00,0x00,0x1c,0xd8,0x01,0x02,0x00,0x00]
162
163 ds_min_u32 v1, v2 offset:0
164 // CHECK: [0x00,0x00,0x1c,0xd8,0x01,0x02,0x00,0x00]
165
166 ds_min_u32 v1, v2 offset:4
167 // CHECK: [0x04,0x00,0x1c,0xd8,0x01,0x02,0x00,0x00]
168
169 ds_min_u32 v1, v2 offset:65535 gds
170 // CHECK: [0xff,0xff,0x1e,0xd8,0x01,0x02,0x00,0x00]
171
172 ds_max_u32 v1, v2 offset:65535
173 // CHECK: [0xff,0xff,0x20,0xd8,0x01,0x02,0x00,0x00]
174
175 ds_max_u32 v255, v2 offset:65535
176 // CHECK: [0xff,0xff,0x20,0xd8,0xff,0x02,0x00,0x00]
177
178 ds_max_u32 v1, v255 offset:65535
179 // CHECK: [0xff,0xff,0x20,0xd8,0x01,0xff,0x00,0x00]
180
181 ds_max_u32 v1, v2
182 // CHECK: [0x00,0x00,0x20,0xd8,0x01,0x02,0x00,0x00]
183
184 ds_max_u32 v1, v2 offset:0
185 // CHECK: [0x00,0x00,0x20,0xd8,0x01,0x02,0x00,0x00]
186
187 ds_max_u32 v1, v2 offset:4
188 // CHECK: [0x04,0x00,0x20,0xd8,0x01,0x02,0x00,0x00]
189
190 ds_max_u32 v1, v2 offset:65535 gds
191 // CHECK: [0xff,0xff,0x22,0xd8,0x01,0x02,0x00,0x00]
192
193 ds_and_b32 v1, v2 offset:65535
194 // CHECK: [0xff,0xff,0x24,0xd8,0x01,0x02,0x00,0x00]
195
196 ds_and_b32 v255, v2 offset:65535
197 // CHECK: [0xff,0xff,0x24,0xd8,0xff,0x02,0x00,0x00]
198
199 ds_and_b32 v1, v255 offset:65535
200 // CHECK: [0xff,0xff,0x24,0xd8,0x01,0xff,0x00,0x00]
201
202 ds_and_b32 v1, v2
203 // CHECK: [0x00,0x00,0x24,0xd8,0x01,0x02,0x00,0x00]
204
205 ds_and_b32 v1, v2 offset:0
206 // CHECK: [0x00,0x00,0x24,0xd8,0x01,0x02,0x00,0x00]
207
208 ds_and_b32 v1, v2 offset:4
209 // CHECK: [0x04,0x00,0x24,0xd8,0x01,0x02,0x00,0x00]
210
211 ds_and_b32 v1, v2 offset:65535 gds
212 // CHECK: [0xff,0xff,0x26,0xd8,0x01,0x02,0x00,0x00]
213
214 ds_or_b32 v1, v2 offset:65535
215 // CHECK: [0xff,0xff,0x28,0xd8,0x01,0x02,0x00,0x00]
216
217 ds_or_b32 v255, v2 offset:65535
218 // CHECK: [0xff,0xff,0x28,0xd8,0xff,0x02,0x00,0x00]
219
220 ds_or_b32 v1, v255 offset:65535
221 // CHECK: [0xff,0xff,0x28,0xd8,0x01,0xff,0x00,0x00]
222
223 ds_or_b32 v1, v2
224 // CHECK: [0x00,0x00,0x28,0xd8,0x01,0x02,0x00,0x00]
225
226 ds_or_b32 v1, v2 offset:0
227 // CHECK: [0x00,0x00,0x28,0xd8,0x01,0x02,0x00,0x00]
228
229 ds_or_b32 v1, v2 offset:4
230 // CHECK: [0x04,0x00,0x28,0xd8,0x01,0x02,0x00,0x00]
231
232 ds_or_b32 v1, v2 offset:65535 gds
233 // CHECK: [0xff,0xff,0x2a,0xd8,0x01,0x02,0x00,0x00]
234
235 ds_xor_b32 v1, v2 offset:65535
236 // CHECK: [0xff,0xff,0x2c,0xd8,0x01,0x02,0x00,0x00]
237
238 ds_xor_b32 v255, v2 offset:65535
239 // CHECK: [0xff,0xff,0x2c,0xd8,0xff,0x02,0x00,0x00]
240
241 ds_xor_b32 v1, v255 offset:65535
242 // CHECK: [0xff,0xff,0x2c,0xd8,0x01,0xff,0x00,0x00]
243
244 ds_xor_b32 v1, v2
245 // CHECK: [0x00,0x00,0x2c,0xd8,0x01,0x02,0x00,0x00]
246
247 ds_xor_b32 v1, v2 offset:0
248 // CHECK: [0x00,0x00,0x2c,0xd8,0x01,0x02,0x00,0x00]
249
250 ds_xor_b32 v1, v2 offset:4
251 // CHECK: [0x04,0x00,0x2c,0xd8,0x01,0x02,0x00,0x00]
252
253 ds_xor_b32 v1, v2 offset:65535 gds
254 // CHECK: [0xff,0xff,0x2e,0xd8,0x01,0x02,0x00,0x00]
255
256 ds_mskor_b32 v1, v2, v3 offset:65535
257 // CHECK: [0xff,0xff,0x30,0xd8,0x01,0x02,0x03,0x00]
258
259 ds_mskor_b32 v255, v2, v3 offset:65535
260 // CHECK: [0xff,0xff,0x30,0xd8,0xff,0x02,0x03,0x00]
261
262 ds_mskor_b32 v1, v255, v3 offset:65535
263 // CHECK: [0xff,0xff,0x30,0xd8,0x01,0xff,0x03,0x00]
264
265 ds_mskor_b32 v1, v2, v255 offset:65535
266 // CHECK: [0xff,0xff,0x30,0xd8,0x01,0x02,0xff,0x00]
267
268 ds_mskor_b32 v1, v2, v3
269 // CHECK: [0x00,0x00,0x30,0xd8,0x01,0x02,0x03,0x00]
270
271 ds_mskor_b32 v1, v2, v3 offset:0
272 // CHECK: [0x00,0x00,0x30,0xd8,0x01,0x02,0x03,0x00]
273
274 ds_mskor_b32 v1, v2, v3 offset:4
275 // CHECK: [0x04,0x00,0x30,0xd8,0x01,0x02,0x03,0x00]
276
277 ds_mskor_b32 v1, v2, v3 offset:65535 gds
278 // CHECK: [0xff,0xff,0x32,0xd8,0x01,0x02,0x03,0x00]
279
280 ds_write_b32 v1, v2 offset:65535
281 // CHECK: [0xff,0xff,0x34,0xd8,0x01,0x02,0x00,0x00]
282
283 ds_write_b32 v255, v2 offset:65535
284 // CHECK: [0xff,0xff,0x34,0xd8,0xff,0x02,0x00,0x00]
285
286 ds_write_b32 v1, v255 offset:65535
287 // CHECK: [0xff,0xff,0x34,0xd8,0x01,0xff,0x00,0x00]
288
289 ds_write_b32 v1, v2
290 // CHECK: [0x00,0x00,0x34,0xd8,0x01,0x02,0x00,0x00]
291
292 ds_write_b32 v1, v2 offset:0
293 // CHECK: [0x00,0x00,0x34,0xd8,0x01,0x02,0x00,0x00]
294
295 ds_write_b32 v1, v2 offset:4
296 // CHECK: [0x04,0x00,0x34,0xd8,0x01,0x02,0x00,0x00]
297
298 ds_write_b32 v1, v2 offset:65535 gds
299 // CHECK: [0xff,0xff,0x36,0xd8,0x01,0x02,0x00,0x00]
300
301 ds_write2_b32 v1, v2, v3 offset0:127 offset1:255
302 // CHECK: [0x7f,0xff,0x38,0xd8,0x01,0x02,0x03,0x00]
303
304 ds_write2_b32 v255, v2, v3 offset0:127 offset1:255
305 // CHECK: [0x7f,0xff,0x38,0xd8,0xff,0x02,0x03,0x00]
306
307 ds_write2_b32 v1, v255, v3 offset0:127 offset1:255
308 // CHECK: [0x7f,0xff,0x38,0xd8,0x01,0xff,0x03,0x00]
309
310 ds_write2_b32 v1, v2, v255 offset0:127 offset1:255
311 // CHECK: [0x7f,0xff,0x38,0xd8,0x01,0x02,0xff,0x00]
312
313 ds_write2_b32 v1, v2, v3 offset1:255
314 // CHECK: [0x00,0xff,0x38,0xd8,0x01,0x02,0x03,0x00]
315
316 ds_write2_b32 v1, v2, v3 offset0:0 offset1:255
317 // CHECK: [0x00,0xff,0x38,0xd8,0x01,0x02,0x03,0x00]
318
319 ds_write2_b32 v1, v2, v3 offset0:16 offset1:255
320 // CHECK: [0x10,0xff,0x38,0xd8,0x01,0x02,0x03,0x00]
321
322 ds_write2_b32 v1, v2, v3 offset0:127
323 // CHECK: [0x7f,0x00,0x38,0xd8,0x01,0x02,0x03,0x00]
324
325 ds_write2_b32 v1, v2, v3 offset0:127 offset1:0
326 // CHECK: [0x7f,0x00,0x38,0xd8,0x01,0x02,0x03,0x00]
327
328 ds_write2_b32 v1, v2, v3 offset0:127 offset1:1
329 // CHECK: [0x7f,0x01,0x38,0xd8,0x01,0x02,0x03,0x00]
330
331 ds_write2_b32 v1, v2, v3 offset0:127 offset1:255 gds
332 // CHECK: [0x7f,0xff,0x3a,0xd8,0x01,0x02,0x03,0x00]
333
334 ds_write2st64_b32 v1, v2, v3 offset0:127 offset1:255
335 // CHECK: [0x7f,0xff,0x3c,0xd8,0x01,0x02,0x03,0x00]
336
337 ds_write2st64_b32 v255, v2, v3 offset0:127 offset1:255
338 // CHECK: [0x7f,0xff,0x3c,0xd8,0xff,0x02,0x03,0x00]
339
340 ds_write2st64_b32 v1, v255, v3 offset0:127 offset1:255
341 // CHECK: [0x7f,0xff,0x3c,0xd8,0x01,0xff,0x03,0x00]
342
343 ds_write2st64_b32 v1, v2, v255 offset0:127 offset1:255
344 // CHECK: [0x7f,0xff,0x3c,0xd8,0x01,0x02,0xff,0x00]
345
346 ds_write2st64_b32 v1, v2, v3 offset1:255
347 // CHECK: [0x00,0xff,0x3c,0xd8,0x01,0x02,0x03,0x00]
348
349 ds_write2st64_b32 v1, v2, v3 offset0:0 offset1:255
350 // CHECK: [0x00,0xff,0x3c,0xd8,0x01,0x02,0x03,0x00]
351
352 ds_write2st64_b32 v1, v2, v3 offset0:16 offset1:255
353 // CHECK: [0x10,0xff,0x3c,0xd8,0x01,0x02,0x03,0x00]
354
355 ds_write2st64_b32 v1, v2, v3 offset0:127
356 // CHECK: [0x7f,0x00,0x3c,0xd8,0x01,0x02,0x03,0x00]
357
358 ds_write2st64_b32 v1, v2, v3 offset0:127 offset1:0
359 // CHECK: [0x7f,0x00,0x3c,0xd8,0x01,0x02,0x03,0x00]
360
361 ds_write2st64_b32 v1, v2, v3 offset0:127 offset1:1
362 // CHECK: [0x7f,0x01,0x3c,0xd8,0x01,0x02,0x03,0x00]
363
364 ds_write2st64_b32 v1, v2, v3 offset0:127 offset1:255 gds
365 // CHECK: [0x7f,0xff,0x3e,0xd8,0x01,0x02,0x03,0x00]
366
367 ds_cmpst_b32 v1, v2, v3 offset:65535
368 // CHECK: [0xff,0xff,0x40,0xd8,0x01,0x02,0x03,0x00]
369
370 ds_cmpst_b32 v255, v2, v3 offset:65535
371 // CHECK: [0xff,0xff,0x40,0xd8,0xff,0x02,0x03,0x00]
372
373 ds_cmpst_b32 v1, v255, v3 offset:65535
374 // CHECK: [0xff,0xff,0x40,0xd8,0x01,0xff,0x03,0x00]
375
376 ds_cmpst_b32 v1, v2, v255 offset:65535
377 // CHECK: [0xff,0xff,0x40,0xd8,0x01,0x02,0xff,0x00]
378
379 ds_cmpst_b32 v1, v2, v3
380 // CHECK: [0x00,0x00,0x40,0xd8,0x01,0x02,0x03,0x00]
381
382 ds_cmpst_b32 v1, v2, v3 offset:0
383 // CHECK: [0x00,0x00,0x40,0xd8,0x01,0x02,0x03,0x00]
384
385 ds_cmpst_b32 v1, v2, v3 offset:4
386 // CHECK: [0x04,0x00,0x40,0xd8,0x01,0x02,0x03,0x00]
387
388 ds_cmpst_b32 v1, v2, v3 offset:65535 gds
389 // CHECK: [0xff,0xff,0x42,0xd8,0x01,0x02,0x03,0x00]
390
391 ds_cmpst_f32 v1, v2, v3 offset:65535
392 // CHECK: [0xff,0xff,0x44,0xd8,0x01,0x02,0x03,0x00]
393
394 ds_cmpst_f32 v255, v2, v3 offset:65535
395 // CHECK: [0xff,0xff,0x44,0xd8,0xff,0x02,0x03,0x00]
396
397 ds_cmpst_f32 v1, v255, v3 offset:65535
398 // CHECK: [0xff,0xff,0x44,0xd8,0x01,0xff,0x03,0x00]
399
400 ds_cmpst_f32 v1, v2, v255 offset:65535
401 // CHECK: [0xff,0xff,0x44,0xd8,0x01,0x02,0xff,0x00]
402
403 ds_cmpst_f32 v1, v2, v3
404 // CHECK: [0x00,0x00,0x44,0xd8,0x01,0x02,0x03,0x00]
405
406 ds_cmpst_f32 v1, v2, v3 offset:0
407 // CHECK: [0x00,0x00,0x44,0xd8,0x01,0x02,0x03,0x00]
408
409 ds_cmpst_f32 v1, v2, v3 offset:4
410 // CHECK: [0x04,0x00,0x44,0xd8,0x01,0x02,0x03,0x00]
411
412 ds_cmpst_f32 v1, v2, v3 offset:65535 gds
413 // CHECK: [0xff,0xff,0x46,0xd8,0x01,0x02,0x03,0x00]
414
415 ds_min_f32 v1, v2 offset:65535
416 // CHECK: [0xff,0xff,0x48,0xd8,0x01,0x02,0x00,0x00]
417
418 ds_min_f32 v255, v2 offset:65535
419 // CHECK: [0xff,0xff,0x48,0xd8,0xff,0x02,0x00,0x00]
420
421 ds_min_f32 v1, v255 offset:65535
422 // CHECK: [0xff,0xff,0x48,0xd8,0x01,0xff,0x00,0x00]
423
424 ds_min_f32 v1, v2
425 // CHECK: [0x00,0x00,0x48,0xd8,0x01,0x02,0x00,0x00]
426
427 ds_min_f32 v1, v2 offset:0
428 // CHECK: [0x00,0x00,0x48,0xd8,0x01,0x02,0x00,0x00]
429
430 ds_min_f32 v1, v2 offset:4
431 // CHECK: [0x04,0x00,0x48,0xd8,0x01,0x02,0x00,0x00]
432
433 ds_min_f32 v1, v2 offset:65535 gds
434 // CHECK: [0xff,0xff,0x4a,0xd8,0x01,0x02,0x00,0x00]
435
436 ds_max_f32 v1, v2 offset:65535
437 // CHECK: [0xff,0xff,0x4c,0xd8,0x01,0x02,0x00,0x00]
438
439 ds_max_f32 v255, v2 offset:65535
440 // CHECK: [0xff,0xff,0x4c,0xd8,0xff,0x02,0x00,0x00]
441
442 ds_max_f32 v1, v255 offset:65535
443 // CHECK: [0xff,0xff,0x4c,0xd8,0x01,0xff,0x00,0x00]
444
445 ds_max_f32 v1, v2
446 // CHECK: [0x00,0x00,0x4c,0xd8,0x01,0x02,0x00,0x00]
447
448 ds_max_f32 v1, v2 offset:0
449 // CHECK: [0x00,0x00,0x4c,0xd8,0x01,0x02,0x00,0x00]
450
451 ds_max_f32 v1, v2 offset:4
452 // CHECK: [0x04,0x00,0x4c,0xd8,0x01,0x02,0x00,0x00]
453
454 ds_max_f32 v1, v2 offset:65535 gds
455 // CHECK: [0xff,0xff,0x4e,0xd8,0x01,0x02,0x00,0x00]
456
457 ds_gws_init v1 gds
458 // CHECK: [0x00,0x00,0x66,0xd8,0x01,0x00,0x00,0x00]
459
460 ds_gws_sema_v v1 gds
461 // CHECK: [0x00,0x00,0x6a,0xd8,0x01,0x00,0x00,0x00]
462
463 ds_gws_sema_br v1 gds
464 // CHECK: [0x00,0x00,0x6e,0xd8,0x01,0x00,0x00,0x00]
465
466 ds_gws_sema_p v1 gds
467 // CHECK: [0x00,0x00,0x72,0xd8,0x01,0x00,0x00,0x00]
468
469 ds_gws_barrier v1 gds
470 // CHECK: [0x00,0x00,0x76,0xd8,0x01,0x00,0x00,0x00]
471
472 ds_write_b8 v1, v2 offset:65535
473 // CHECK: [0xff,0xff,0x78,0xd8,0x01,0x02,0x00,0x00]
474
475 ds_write_b8 v255, v2 offset:65535
476 // CHECK: [0xff,0xff,0x78,0xd8,0xff,0x02,0x00,0x00]
477
478 ds_write_b8 v1, v255 offset:65535
479 // CHECK: [0xff,0xff,0x78,0xd8,0x01,0xff,0x00,0x00]
480
481 ds_write_b8 v1, v2
482 // CHECK: [0x00,0x00,0x78,0xd8,0x01,0x02,0x00,0x00]
483
484 ds_write_b8 v1, v2 offset:0
485 // CHECK: [0x00,0x00,0x78,0xd8,0x01,0x02,0x00,0x00]
486
487 ds_write_b8 v1, v2 offset:4
488 // CHECK: [0x04,0x00,0x78,0xd8,0x01,0x02,0x00,0x00]
489
490 ds_write_b8 v1, v2 offset:65535 gds
491 // CHECK: [0xff,0xff,0x7a,0xd8,0x01,0x02,0x00,0x00]
492
493 ds_write_b16 v1, v2 offset:65535
494 // CHECK: [0xff,0xff,0x7c,0xd8,0x01,0x02,0x00,0x00]
495
496 ds_write_b16 v255, v2 offset:65535
497 // CHECK: [0xff,0xff,0x7c,0xd8,0xff,0x02,0x00,0x00]
498
499 ds_write_b16 v1, v255 offset:65535
500 // CHECK: [0xff,0xff,0x7c,0xd8,0x01,0xff,0x00,0x00]
501
502 ds_write_b16 v1, v2
503 // CHECK: [0x00,0x00,0x7c,0xd8,0x01,0x02,0x00,0x00]
504
505 ds_write_b16 v1, v2 offset:0
506 // CHECK: [0x00,0x00,0x7c,0xd8,0x01,0x02,0x00,0x00]
507
508 ds_write_b16 v1, v2 offset:4
509 // CHECK: [0x04,0x00,0x7c,0xd8,0x01,0x02,0x00,0x00]
510
511 ds_write_b16 v1, v2 offset:65535 gds
512 // CHECK: [0xff,0xff,0x7e,0xd8,0x01,0x02,0x00,0x00]
513
514 ds_add_rtn_u32 v5, v1, v2 offset:65535
515 // CHECK: [0xff,0xff,0x80,0xd8,0x01,0x02,0x00,0x05]
516
517 ds_add_rtn_u32 v255, v1, v2 offset:65535
518 // CHECK: [0xff,0xff,0x80,0xd8,0x01,0x02,0x00,0xff]
519
520 ds_add_rtn_u32 v5, v255, v2 offset:65535
521 // CHECK: [0xff,0xff,0x80,0xd8,0xff,0x02,0x00,0x05]
522
523 ds_add_rtn_u32 v5, v1, v255 offset:65535
524 // CHECK: [0xff,0xff,0x80,0xd8,0x01,0xff,0x00,0x05]
525
526 ds_add_rtn_u32 v5, v1, v2
527 // CHECK: [0x00,0x00,0x80,0xd8,0x01,0x02,0x00,0x05]
528
529 ds_add_rtn_u32 v5, v1, v2 offset:0
530 // CHECK: [0x00,0x00,0x80,0xd8,0x01,0x02,0x00,0x05]
531
532 ds_add_rtn_u32 v5, v1, v2 offset:4
533 // CHECK: [0x04,0x00,0x80,0xd8,0x01,0x02,0x00,0x05]
534
535 ds_add_rtn_u32 v5, v1, v2 offset:65535 gds
536 // CHECK: [0xff,0xff,0x82,0xd8,0x01,0x02,0x00,0x05]
537
538 ds_sub_rtn_u32 v5, v1, v2 offset:65535
539 // CHECK: [0xff,0xff,0x84,0xd8,0x01,0x02,0x00,0x05]
540
541 ds_sub_rtn_u32 v255, v1, v2 offset:65535
542 // CHECK: [0xff,0xff,0x84,0xd8,0x01,0x02,0x00,0xff]
543
544 ds_sub_rtn_u32 v5, v255, v2 offset:65535
545 // CHECK: [0xff,0xff,0x84,0xd8,0xff,0x02,0x00,0x05]
546
547 ds_sub_rtn_u32 v5, v1, v255 offset:65535
548 // CHECK: [0xff,0xff,0x84,0xd8,0x01,0xff,0x00,0x05]
549
550 ds_sub_rtn_u32 v5, v1, v2
551 // CHECK: [0x00,0x00,0x84,0xd8,0x01,0x02,0x00,0x05]
552
553 ds_sub_rtn_u32 v5, v1, v2 offset:0
554 // CHECK: [0x00,0x00,0x84,0xd8,0x01,0x02,0x00,0x05]
555
556 ds_sub_rtn_u32 v5, v1, v2 offset:4
557 // CHECK: [0x04,0x00,0x84,0xd8,0x01,0x02,0x00,0x05]
558
559 ds_sub_rtn_u32 v5, v1, v2 offset:65535 gds
560 // CHECK: [0xff,0xff,0x86,0xd8,0x01,0x02,0x00,0x05]
561
562 ds_rsub_rtn_u32 v5, v1, v2 offset:65535
563 // CHECK: [0xff,0xff,0x88,0xd8,0x01,0x02,0x00,0x05]
564
565 ds_rsub_rtn_u32 v255, v1, v2 offset:65535
566 // CHECK: [0xff,0xff,0x88,0xd8,0x01,0x02,0x00,0xff]
567
568 ds_rsub_rtn_u32 v5, v255, v2 offset:65535
569 // CHECK: [0xff,0xff,0x88,0xd8,0xff,0x02,0x00,0x05]
570
571 ds_rsub_rtn_u32 v5, v1, v255 offset:65535
572 // CHECK: [0xff,0xff,0x88,0xd8,0x01,0xff,0x00,0x05]
573
574 ds_rsub_rtn_u32 v5, v1, v2
575 // CHECK: [0x00,0x00,0x88,0xd8,0x01,0x02,0x00,0x05]
576
577 ds_rsub_rtn_u32 v5, v1, v2 offset:0
578 // CHECK: [0x00,0x00,0x88,0xd8,0x01,0x02,0x00,0x05]
579
580 ds_rsub_rtn_u32 v5, v1, v2 offset:4
581 // CHECK: [0x04,0x00,0x88,0xd8,0x01,0x02,0x00,0x05]
582
583 ds_rsub_rtn_u32 v5, v1, v2 offset:65535 gds
584 // CHECK: [0xff,0xff,0x8a,0xd8,0x01,0x02,0x00,0x05]
585
586 ds_inc_rtn_u32 v5, v1, v2 offset:65535
587 // CHECK: [0xff,0xff,0x8c,0xd8,0x01,0x02,0x00,0x05]
588
589 ds_inc_rtn_u32 v255, v1, v2 offset:65535
590 // CHECK: [0xff,0xff,0x8c,0xd8,0x01,0x02,0x00,0xff]
591
592 ds_inc_rtn_u32 v5, v255, v2 offset:65535
593 // CHECK: [0xff,0xff,0x8c,0xd8,0xff,0x02,0x00,0x05]
594
595 ds_inc_rtn_u32 v5, v1, v255 offset:65535
596 // CHECK: [0xff,0xff,0x8c,0xd8,0x01,0xff,0x00,0x05]
597
598 ds_inc_rtn_u32 v5, v1, v2
599 // CHECK: [0x00,0x00,0x8c,0xd8,0x01,0x02,0x00,0x05]
600
601 ds_inc_rtn_u32 v5, v1, v2 offset:0
602 // CHECK: [0x00,0x00,0x8c,0xd8,0x01,0x02,0x00,0x05]
603
604 ds_inc_rtn_u32 v5, v1, v2 offset:4
605 // CHECK: [0x04,0x00,0x8c,0xd8,0x01,0x02,0x00,0x05]
606
607 ds_inc_rtn_u32 v5, v1, v2 offset:65535 gds
608 // CHECK: [0xff,0xff,0x8e,0xd8,0x01,0x02,0x00,0x05]
609
610 ds_dec_rtn_u32 v5, v1, v2 offset:65535
611 // CHECK: [0xff,0xff,0x90,0xd8,0x01,0x02,0x00,0x05]
612
613 ds_dec_rtn_u32 v255, v1, v2 offset:65535
614 // CHECK: [0xff,0xff,0x90,0xd8,0x01,0x02,0x00,0xff]
615
616 ds_dec_rtn_u32 v5, v255, v2 offset:65535
617 // CHECK: [0xff,0xff,0x90,0xd8,0xff,0x02,0x00,0x05]
618
619 ds_dec_rtn_u32 v5, v1, v255 offset:65535
620 // CHECK: [0xff,0xff,0x90,0xd8,0x01,0xff,0x00,0x05]
621
622 ds_dec_rtn_u32 v5, v1, v2
623 // CHECK: [0x00,0x00,0x90,0xd8,0x01,0x02,0x00,0x05]
624
625 ds_dec_rtn_u32 v5, v1, v2 offset:0
626 // CHECK: [0x00,0x00,0x90,0xd8,0x01,0x02,0x00,0x05]
627
628 ds_dec_rtn_u32 v5, v1, v2 offset:4
629 // CHECK: [0x04,0x00,0x90,0xd8,0x01,0x02,0x00,0x05]
630
631 ds_dec_rtn_u32 v5, v1, v2 offset:65535 gds
632 // CHECK: [0xff,0xff,0x92,0xd8,0x01,0x02,0x00,0x05]
633
634 ds_min_rtn_i32 v5, v1, v2 offset:65535
635 // CHECK: [0xff,0xff,0x94,0xd8,0x01,0x02,0x00,0x05]
636
637 ds_min_rtn_i32 v255, v1, v2 offset:65535
638 // CHECK: [0xff,0xff,0x94,0xd8,0x01,0x02,0x00,0xff]
639
640 ds_min_rtn_i32 v5, v255, v2 offset:65535
641 // CHECK: [0xff,0xff,0x94,0xd8,0xff,0x02,0x00,0x05]
642
643 ds_min_rtn_i32 v5, v1, v255 offset:65535
644 // CHECK: [0xff,0xff,0x94,0xd8,0x01,0xff,0x00,0x05]
645
646 ds_min_rtn_i32 v5, v1, v2
647 // CHECK: [0x00,0x00,0x94,0xd8,0x01,0x02,0x00,0x05]
648
649 ds_min_rtn_i32 v5, v1, v2 offset:0
650 // CHECK: [0x00,0x00,0x94,0xd8,0x01,0x02,0x00,0x05]
651
652 ds_min_rtn_i32 v5, v1, v2 offset:4
653 // CHECK: [0x04,0x00,0x94,0xd8,0x01,0x02,0x00,0x05]
654
655 ds_min_rtn_i32 v5, v1, v2 offset:65535 gds
656 // CHECK: [0xff,0xff,0x96,0xd8,0x01,0x02,0x00,0x05]
657
658 ds_max_rtn_i32 v5, v1, v2 offset:65535
659 // CHECK: [0xff,0xff,0x98,0xd8,0x01,0x02,0x00,0x05]
660
661 ds_max_rtn_i32 v255, v1, v2 offset:65535
662 // CHECK: [0xff,0xff,0x98,0xd8,0x01,0x02,0x00,0xff]
663
664 ds_max_rtn_i32 v5, v255, v2 offset:65535
665 // CHECK: [0xff,0xff,0x98,0xd8,0xff,0x02,0x00,0x05]
666
667 ds_max_rtn_i32 v5, v1, v255 offset:65535
668 // CHECK: [0xff,0xff,0x98,0xd8,0x01,0xff,0x00,0x05]
669
670 ds_max_rtn_i32 v5, v1, v2
671 // CHECK: [0x00,0x00,0x98,0xd8,0x01,0x02,0x00,0x05]
672
673 ds_max_rtn_i32 v5, v1, v2 offset:0
674 // CHECK: [0x00,0x00,0x98,0xd8,0x01,0x02,0x00,0x05]
675
676 ds_max_rtn_i32 v5, v1, v2 offset:4
677 // CHECK: [0x04,0x00,0x98,0xd8,0x01,0x02,0x00,0x05]
678
679 ds_max_rtn_i32 v5, v1, v2 offset:65535 gds
680 // CHECK: [0xff,0xff,0x9a,0xd8,0x01,0x02,0x00,0x05]
681
682 ds_min_rtn_u32 v5, v1, v2 offset:65535
683 // CHECK: [0xff,0xff,0x9c,0xd8,0x01,0x02,0x00,0x05]
684
685 ds_min_rtn_u32 v255, v1, v2 offset:65535
686 // CHECK: [0xff,0xff,0x9c,0xd8,0x01,0x02,0x00,0xff]
687
688 ds_min_rtn_u32 v5, v255, v2 offset:65535
689 // CHECK: [0xff,0xff,0x9c,0xd8,0xff,0x02,0x00,0x05]
690
691 ds_min_rtn_u32 v5, v1, v255 offset:65535
692 // CHECK: [0xff,0xff,0x9c,0xd8,0x01,0xff,0x00,0x05]
693
694 ds_min_rtn_u32 v5, v1, v2
695 // CHECK: [0x00,0x00,0x9c,0xd8,0x01,0x02,0x00,0x05]
696
697 ds_min_rtn_u32 v5, v1, v2 offset:0
698 // CHECK: [0x00,0x00,0x9c,0xd8,0x01,0x02,0x00,0x05]
699
700 ds_min_rtn_u32 v5, v1, v2 offset:4
701 // CHECK: [0x04,0x00,0x9c,0xd8,0x01,0x02,0x00,0x05]
702
703 ds_min_rtn_u32 v5, v1, v2 offset:65535 gds
704 // CHECK: [0xff,0xff,0x9e,0xd8,0x01,0x02,0x00,0x05]
705
706 ds_max_rtn_u32 v5, v1, v2 offset:65535
707 // CHECK: [0xff,0xff,0xa0,0xd8,0x01,0x02,0x00,0x05]
708
709 ds_max_rtn_u32 v255, v1, v2 offset:65535
710 // CHECK: [0xff,0xff,0xa0,0xd8,0x01,0x02,0x00,0xff]
711
712 ds_max_rtn_u32 v5, v255, v2 offset:65535
713 // CHECK: [0xff,0xff,0xa0,0xd8,0xff,0x02,0x00,0x05]
714
715 ds_max_rtn_u32 v5, v1, v255 offset:65535
716 // CHECK: [0xff,0xff,0xa0,0xd8,0x01,0xff,0x00,0x05]
717
718 ds_max_rtn_u32 v5, v1, v2
719 // CHECK: [0x00,0x00,0xa0,0xd8,0x01,0x02,0x00,0x05]
720
721 ds_max_rtn_u32 v5, v1, v2 offset:0
722 // CHECK: [0x00,0x00,0xa0,0xd8,0x01,0x02,0x00,0x05]
723
724 ds_max_rtn_u32 v5, v1, v2 offset:4
725 // CHECK: [0x04,0x00,0xa0,0xd8,0x01,0x02,0x00,0x05]
726
727 ds_max_rtn_u32 v5, v1, v2 offset:65535 gds
728 // CHECK: [0xff,0xff,0xa2,0xd8,0x01,0x02,0x00,0x05]
729
730 ds_and_rtn_b32 v5, v1, v2 offset:65535
731 // CHECK: [0xff,0xff,0xa4,0xd8,0x01,0x02,0x00,0x05]
732
733 ds_and_rtn_b32 v255, v1, v2 offset:65535
734 // CHECK: [0xff,0xff,0xa4,0xd8,0x01,0x02,0x00,0xff]
735
736 ds_and_rtn_b32 v5, v255, v2 offset:65535
737 // CHECK: [0xff,0xff,0xa4,0xd8,0xff,0x02,0x00,0x05]
738
739 ds_and_rtn_b32 v5, v1, v255 offset:65535
740 // CHECK: [0xff,0xff,0xa4,0xd8,0x01,0xff,0x00,0x05]
741
742 ds_and_rtn_b32 v5, v1, v2
743 // CHECK: [0x00,0x00,0xa4,0xd8,0x01,0x02,0x00,0x05]
744
745 ds_and_rtn_b32 v5, v1, v2 offset:0
746 // CHECK: [0x00,0x00,0xa4,0xd8,0x01,0x02,0x00,0x05]
747
748 ds_and_rtn_b32 v5, v1, v2 offset:4
749 // CHECK: [0x04,0x00,0xa4,0xd8,0x01,0x02,0x00,0x05]
750
751 ds_and_rtn_b32 v5, v1, v2 offset:65535 gds
752 // CHECK: [0xff,0xff,0xa6,0xd8,0x01,0x02,0x00,0x05]
753
754 ds_or_rtn_b32 v5, v1, v2 offset:65535
755 // CHECK: [0xff,0xff,0xa8,0xd8,0x01,0x02,0x00,0x05]
756
757 ds_or_rtn_b32 v255, v1, v2 offset:65535
758 // CHECK: [0xff,0xff,0xa8,0xd8,0x01,0x02,0x00,0xff]
759
760 ds_or_rtn_b32 v5, v255, v2 offset:65535
761 // CHECK: [0xff,0xff,0xa8,0xd8,0xff,0x02,0x00,0x05]
762
763 ds_or_rtn_b32 v5, v1, v255 offset:65535
764 // CHECK: [0xff,0xff,0xa8,0xd8,0x01,0xff,0x00,0x05]
765
766 ds_or_rtn_b32 v5, v1, v2
767 // CHECK: [0x00,0x00,0xa8,0xd8,0x01,0x02,0x00,0x05]
768
769 ds_or_rtn_b32 v5, v1, v2 offset:0
770 // CHECK: [0x00,0x00,0xa8,0xd8,0x01,0x02,0x00,0x05]
771
772 ds_or_rtn_b32 v5, v1, v2 offset:4
773 // CHECK: [0x04,0x00,0xa8,0xd8,0x01,0x02,0x00,0x05]
774
775 ds_or_rtn_b32 v5, v1, v2 offset:65535 gds
776 // CHECK: [0xff,0xff,0xaa,0xd8,0x01,0x02,0x00,0x05]
777
778 ds_xor_rtn_b32 v5, v1, v2 offset:65535
779 // CHECK: [0xff,0xff,0xac,0xd8,0x01,0x02,0x00,0x05]
780
781 ds_xor_rtn_b32 v255, v1, v2 offset:65535
782 // CHECK: [0xff,0xff,0xac,0xd8,0x01,0x02,0x00,0xff]
783
784 ds_xor_rtn_b32 v5, v255, v2 offset:65535
785 // CHECK: [0xff,0xff,0xac,0xd8,0xff,0x02,0x00,0x05]
786
787 ds_xor_rtn_b32 v5, v1, v255 offset:65535
788 // CHECK: [0xff,0xff,0xac,0xd8,0x01,0xff,0x00,0x05]
789
790 ds_xor_rtn_b32 v5, v1, v2
791 // CHECK: [0x00,0x00,0xac,0xd8,0x01,0x02,0x00,0x05]
792
793 ds_xor_rtn_b32 v5, v1, v2 offset:0
794 // CHECK: [0x00,0x00,0xac,0xd8,0x01,0x02,0x00,0x05]
795
796 ds_xor_rtn_b32 v5, v1, v2 offset:4
797 // CHECK: [0x04,0x00,0xac,0xd8,0x01,0x02,0x00,0x05]
798
799 ds_xor_rtn_b32 v5, v1, v2 offset:65535 gds
800 // CHECK: [0xff,0xff,0xae,0xd8,0x01,0x02,0x00,0x05]
801
802 ds_mskor_rtn_b32 v5, v1, v2, v3 offset:65535
803 // CHECK: [0xff,0xff,0xb0,0xd8,0x01,0x02,0x03,0x05]
804
805 ds_mskor_rtn_b32 v255, v1, v2, v3 offset:65535
806 // CHECK: [0xff,0xff,0xb0,0xd8,0x01,0x02,0x03,0xff]
807
808 ds_mskor_rtn_b32 v5, v255, v2, v3 offset:65535
809 // CHECK: [0xff,0xff,0xb0,0xd8,0xff,0x02,0x03,0x05]
810
811 ds_mskor_rtn_b32 v5, v1, v255, v3 offset:65535
812 // CHECK: [0xff,0xff,0xb0,0xd8,0x01,0xff,0x03,0x05]
813
814 ds_mskor_rtn_b32 v5, v1, v2, v255 offset:65535
815 // CHECK: [0xff,0xff,0xb0,0xd8,0x01,0x02,0xff,0x05]
816
817 ds_mskor_rtn_b32 v5, v1, v2, v3
818 // CHECK: [0x00,0x00,0xb0,0xd8,0x01,0x02,0x03,0x05]
819
820 ds_mskor_rtn_b32 v5, v1, v2, v3 offset:0
821 // CHECK: [0x00,0x00,0xb0,0xd8,0x01,0x02,0x03,0x05]
822
823 ds_mskor_rtn_b32 v5, v1, v2, v3 offset:4
824 // CHECK: [0x04,0x00,0xb0,0xd8,0x01,0x02,0x03,0x05]
825
826 ds_mskor_rtn_b32 v5, v1, v2, v3 offset:65535 gds
827 // CHECK: [0xff,0xff,0xb2,0xd8,0x01,0x02,0x03,0x05]
828
829 ds_wrxchg_rtn_b32 v5, v1, v2 offset:65535
830 // CHECK: [0xff,0xff,0xb4,0xd8,0x01,0x02,0x00,0x05]
831
832 ds_wrxchg_rtn_b32 v255, v1, v2 offset:65535
833 // CHECK: [0xff,0xff,0xb4,0xd8,0x01,0x02,0x00,0xff]
834
835 ds_wrxchg_rtn_b32 v5, v255, v2 offset:65535
836 // CHECK: [0xff,0xff,0xb4,0xd8,0xff,0x02,0x00,0x05]
837
838 ds_wrxchg_rtn_b32 v5, v1, v255 offset:65535
839 // CHECK: [0xff,0xff,0xb4,0xd8,0x01,0xff,0x00,0x05]
840
841 ds_wrxchg_rtn_b32 v5, v1, v2
842 // CHECK: [0x00,0x00,0xb4,0xd8,0x01,0x02,0x00,0x05]
843
844 ds_wrxchg_rtn_b32 v5, v1, v2 offset:0
845 // CHECK: [0x00,0x00,0xb4,0xd8,0x01,0x02,0x00,0x05]
846
847 ds_wrxchg_rtn_b32 v5, v1, v2 offset:4
848 // CHECK: [0x04,0x00,0xb4,0xd8,0x01,0x02,0x00,0x05]
849
850 ds_wrxchg_rtn_b32 v5, v1, v2 offset:65535 gds
851 // CHECK: [0xff,0xff,0xb6,0xd8,0x01,0x02,0x00,0x05]
852
853 ds_cmpst_rtn_b32 v5, v1, v2, v3 offset:65535
854 // CHECK: [0xff,0xff,0xc0,0xd8,0x01,0x02,0x03,0x05]
855
856 ds_cmpst_rtn_b32 v255, v1, v2, v3 offset:65535
857 // CHECK: [0xff,0xff,0xc0,0xd8,0x01,0x02,0x03,0xff]
858
859 ds_cmpst_rtn_b32 v5, v255, v2, v3 offset:65535
860 // CHECK: [0xff,0xff,0xc0,0xd8,0xff,0x02,0x03,0x05]
861
862 ds_cmpst_rtn_b32 v5, v1, v255, v3 offset:65535
863 // CHECK: [0xff,0xff,0xc0,0xd8,0x01,0xff,0x03,0x05]
864
865 ds_cmpst_rtn_b32 v5, v1, v2, v255 offset:65535
866 // CHECK: [0xff,0xff,0xc0,0xd8,0x01,0x02,0xff,0x05]
867
868 ds_cmpst_rtn_b32 v5, v1, v2, v3
869 // CHECK: [0x00,0x00,0xc0,0xd8,0x01,0x02,0x03,0x05]
870
871 ds_cmpst_rtn_b32 v5, v1, v2, v3 offset:0
872 // CHECK: [0x00,0x00,0xc0,0xd8,0x01,0x02,0x03,0x05]
873
874 ds_cmpst_rtn_b32 v5, v1, v2, v3 offset:4
875 // CHECK: [0x04,0x00,0xc0,0xd8,0x01,0x02,0x03,0x05]
876
877 ds_cmpst_rtn_b32 v5, v1, v2, v3 offset:65535 gds
878 // CHECK: [0xff,0xff,0xc2,0xd8,0x01,0x02,0x03,0x05]
879
880 ds_cmpst_rtn_f32 v5, v1, v2, v3 offset:65535
881 // CHECK: [0xff,0xff,0xc4,0xd8,0x01,0x02,0x03,0x05]
882
883 ds_cmpst_rtn_f32 v255, v1, v2, v3 offset:65535
884 // CHECK: [0xff,0xff,0xc4,0xd8,0x01,0x02,0x03,0xff]
885
886 ds_cmpst_rtn_f32 v5, v255, v2, v3 offset:65535
887 // CHECK: [0xff,0xff,0xc4,0xd8,0xff,0x02,0x03,0x05]
888
889 ds_cmpst_rtn_f32 v5, v1, v255, v3 offset:65535
890 // CHECK: [0xff,0xff,0xc4,0xd8,0x01,0xff,0x03,0x05]
891
892 ds_cmpst_rtn_f32 v5, v1, v2, v255 offset:65535
893 // CHECK: [0xff,0xff,0xc4,0xd8,0x01,0x02,0xff,0x05]
894
895 ds_cmpst_rtn_f32 v5, v1, v2, v3
896 // CHECK: [0x00,0x00,0xc4,0xd8,0x01,0x02,0x03,0x05]
897
898 ds_cmpst_rtn_f32 v5, v1, v2, v3 offset:0
899 // CHECK: [0x00,0x00,0xc4,0xd8,0x01,0x02,0x03,0x05]
900
901 ds_cmpst_rtn_f32 v5, v1, v2, v3 offset:4
902 // CHECK: [0x04,0x00,0xc4,0xd8,0x01,0x02,0x03,0x05]
903
904 ds_cmpst_rtn_f32 v5, v1, v2, v3 offset:65535 gds
905 // CHECK: [0xff,0xff,0xc6,0xd8,0x01,0x02,0x03,0x05]
906
907 ds_min_rtn_f32 v5, v1, v2 offset:65535
908 // CHECK: [0xff,0xff,0xc8,0xd8,0x01,0x02,0x00,0x05]
909
910 ds_min_rtn_f32 v255, v1, v2 offset:65535
911 // CHECK: [0xff,0xff,0xc8,0xd8,0x01,0x02,0x00,0xff]
912
913 ds_min_rtn_f32 v5, v255, v2 offset:65535
914 // CHECK: [0xff,0xff,0xc8,0xd8,0xff,0x02,0x00,0x05]
915
916 ds_min_rtn_f32 v5, v1, v255 offset:65535
917 // CHECK: [0xff,0xff,0xc8,0xd8,0x01,0xff,0x00,0x05]
918
919 ds_min_rtn_f32 v5, v1, v2
920 // CHECK: [0x00,0x00,0xc8,0xd8,0x01,0x02,0x00,0x05]
921
922 ds_min_rtn_f32 v5, v1, v2 offset:0
923 // CHECK: [0x00,0x00,0xc8,0xd8,0x01,0x02,0x00,0x05]
924
925 ds_min_rtn_f32 v5, v1, v2 offset:4
926 // CHECK: [0x04,0x00,0xc8,0xd8,0x01,0x02,0x00,0x05]
927
928 ds_min_rtn_f32 v5, v1, v2 offset:65535 gds
929 // CHECK: [0xff,0xff,0xca,0xd8,0x01,0x02,0x00,0x05]
930
931 ds_max_rtn_f32 v5, v1, v2 offset:65535
932 // CHECK: [0xff,0xff,0xcc,0xd8,0x01,0x02,0x00,0x05]
933
934 ds_max_rtn_f32 v255, v1, v2 offset:65535
935 // CHECK: [0xff,0xff,0xcc,0xd8,0x01,0x02,0x00,0xff]
936
937 ds_max_rtn_f32 v5, v255, v2 offset:65535
938 // CHECK: [0xff,0xff,0xcc,0xd8,0xff,0x02,0x00,0x05]
939
940 ds_max_rtn_f32 v5, v1, v255 offset:65535
941 // CHECK: [0xff,0xff,0xcc,0xd8,0x01,0xff,0x00,0x05]
942
943 ds_max_rtn_f32 v5, v1, v2
944 // CHECK: [0x00,0x00,0xcc,0xd8,0x01,0x02,0x00,0x05]
945
946 ds_max_rtn_f32 v5, v1, v2 offset:0
947 // CHECK: [0x00,0x00,0xcc,0xd8,0x01,0x02,0x00,0x05]
948
949 ds_max_rtn_f32 v5, v1, v2 offset:4
950 // CHECK: [0x04,0x00,0xcc,0xd8,0x01,0x02,0x00,0x05]
951
952 ds_max_rtn_f32 v5, v1, v2 offset:65535 gds
953 // CHECK: [0xff,0xff,0xce,0xd8,0x01,0x02,0x00,0x05]
954
955 ds_swizzle_b32 v5, v1 offset:65535
956 // CHECK: [0xff,0xff,0xd4,0xd8,0x01,0x00,0x00,0x05]
957
958 ds_swizzle_b32 v255, v1 offset:65535
959 // CHECK: [0xff,0xff,0xd4,0xd8,0x01,0x00,0x00,0xff]
960
961 ds_swizzle_b32 v5, v255 offset:65535
962 // CHECK: [0xff,0xff,0xd4,0xd8,0xff,0x00,0x00,0x05]
963
964 ds_swizzle_b32 v5, v1
965 // CHECK: [0x00,0x00,0xd4,0xd8,0x01,0x00,0x00,0x05]
966
967 ds_swizzle_b32 v5, v1 offset:0
968 // CHECK: [0x00,0x00,0xd4,0xd8,0x01,0x00,0x00,0x05]
969
970 ds_swizzle_b32 v5, v1 offset:4
971 // CHECK: [0x04,0x00,0xd4,0xd8,0x01,0x00,0x00,0x05]
972
973 ds_swizzle_b32 v5, v1 offset:65535 gds
974 // CHECK: [0xff,0xff,0xd6,0xd8,0x01,0x00,0x00,0x05]
975
976 ds_read_b32 v5, v1 offset:65535
977 // CHECK: [0xff,0xff,0xd8,0xd8,0x01,0x00,0x00,0x05]
978
979 ds_read_b32 v255, v1 offset:65535
980 // CHECK: [0xff,0xff,0xd8,0xd8,0x01,0x00,0x00,0xff]
981
982 ds_read_b32 v5, v255 offset:65535
983 // CHECK: [0xff,0xff,0xd8,0xd8,0xff,0x00,0x00,0x05]
984
985 ds_read_b32 v5, v1
986 // CHECK: [0x00,0x00,0xd8,0xd8,0x01,0x00,0x00,0x05]
987
988 ds_read_b32 v5, v1 offset:0
989 // CHECK: [0x00,0x00,0xd8,0xd8,0x01,0x00,0x00,0x05]
990
991 ds_read_b32 v5, v1 offset:4
992 // CHECK: [0x04,0x00,0xd8,0xd8,0x01,0x00,0x00,0x05]
993
994 ds_read_b32 v5, v1 offset:65535 gds
995 // CHECK: [0xff,0xff,0xda,0xd8,0x01,0x00,0x00,0x05]
996
997 ds_read2_b32 v[5:6], v1 offset0:127 offset1:255
998 // CHECK: [0x7f,0xff,0xdc,0xd8,0x01,0x00,0x00,0x05]
999
1000 ds_read2_b32 v[254:255], v1 offset0:127 offset1:255
1001 // CHECK: [0x7f,0xff,0xdc,0xd8,0x01,0x00,0x00,0xfe]
1002
1003 ds_read2_b32 v[5:6], v255 offset0:127 offset1:255
1004 // CHECK: [0x7f,0xff,0xdc,0xd8,0xff,0x00,0x00,0x05]
1005
1006 ds_read2_b32 v[5:6], v1 offset1:255
1007 // CHECK: [0x00,0xff,0xdc,0xd8,0x01,0x00,0x00,0x05]
1008
1009 ds_read2_b32 v[5:6], v1 offset0:0 offset1:255
1010 // CHECK: [0x00,0xff,0xdc,0xd8,0x01,0x00,0x00,0x05]
1011
1012 ds_read2_b32 v[5:6], v1 offset0:16 offset1:255
1013 // CHECK: [0x10,0xff,0xdc,0xd8,0x01,0x00,0x00,0x05]
1014
1015 ds_read2_b32 v[5:6], v1 offset0:127
1016 // CHECK: [0x7f,0x00,0xdc,0xd8,0x01,0x00,0x00,0x05]
1017
1018 ds_read2_b32 v[5:6], v1 offset0:127 offset1:0
1019 // CHECK: [0x7f,0x00,0xdc,0xd8,0x01,0x00,0x00,0x05]
1020
1021 ds_read2_b32 v[5:6], v1 offset0:127 offset1:1
1022 // CHECK: [0x7f,0x01,0xdc,0xd8,0x01,0x00,0x00,0x05]
1023
1024 ds_read2_b32 v[5:6], v1 offset0:127 offset1:255 gds
1025 // CHECK: [0x7f,0xff,0xde,0xd8,0x01,0x00,0x00,0x05]
1026
1027 ds_read2st64_b32 v[5:6], v1 offset0:127 offset1:255
1028 // CHECK: [0x7f,0xff,0xe0,0xd8,0x01,0x00,0x00,0x05]
1029
1030 ds_read2st64_b32 v[254:255], v1 offset0:127 offset1:255
1031 // CHECK: [0x7f,0xff,0xe0,0xd8,0x01,0x00,0x00,0xfe]
1032
1033 ds_read2st64_b32 v[5:6], v255 offset0:127 offset1:255
1034 // CHECK: [0x7f,0xff,0xe0,0xd8,0xff,0x00,0x00,0x05]
1035
1036 ds_read2st64_b32 v[5:6], v1 offset1:255
1037 // CHECK: [0x00,0xff,0xe0,0xd8,0x01,0x00,0x00,0x05]
1038
1039 ds_read2st64_b32 v[5:6], v1 offset0:0 offset1:255
1040 // CHECK: [0x00,0xff,0xe0,0xd8,0x01,0x00,0x00,0x05]
1041
1042 ds_read2st64_b32 v[5:6], v1 offset0:16 offset1:255
1043 // CHECK: [0x10,0xff,0xe0,0xd8,0x01,0x00,0x00,0x05]
1044
1045 ds_read2st64_b32 v[5:6], v1 offset0:127
1046 // CHECK: [0x7f,0x00,0xe0,0xd8,0x01,0x00,0x00,0x05]
1047
1048 ds_read2st64_b32 v[5:6], v1 offset0:127 offset1:0
1049 // CHECK: [0x7f,0x00,0xe0,0xd8,0x01,0x00,0x00,0x05]
1050
1051 ds_read2st64_b32 v[5:6], v1 offset0:127 offset1:1
1052 // CHECK: [0x7f,0x01,0xe0,0xd8,0x01,0x00,0x00,0x05]
1053
1054 ds_read2st64_b32 v[5:6], v1 offset0:127 offset1:255 gds
1055 // CHECK: [0x7f,0xff,0xe2,0xd8,0x01,0x00,0x00,0x05]
1056
1057 ds_read_i8 v5, v1 offset:65535
1058 // CHECK: [0xff,0xff,0xe4,0xd8,0x01,0x00,0x00,0x05]
1059
1060 ds_read_i8 v255, v1 offset:65535
1061 // CHECK: [0xff,0xff,0xe4,0xd8,0x01,0x00,0x00,0xff]
1062
1063 ds_read_i8 v5, v255 offset:65535
1064 // CHECK: [0xff,0xff,0xe4,0xd8,0xff,0x00,0x00,0x05]
1065
1066 ds_read_i8 v5, v1
1067 // CHECK: [0x00,0x00,0xe4,0xd8,0x01,0x00,0x00,0x05]
1068
1069 ds_read_i8 v5, v1 offset:0
1070 // CHECK: [0x00,0x00,0xe4,0xd8,0x01,0x00,0x00,0x05]
1071
1072 ds_read_i8 v5, v1 offset:4
1073 // CHECK: [0x04,0x00,0xe4,0xd8,0x01,0x00,0x00,0x05]
1074
1075 ds_read_i8 v5, v1 offset:65535 gds
1076 // CHECK: [0xff,0xff,0xe6,0xd8,0x01,0x00,0x00,0x05]
1077
1078 ds_read_u8 v5, v1 offset:65535
1079 // CHECK: [0xff,0xff,0xe8,0xd8,0x01,0x00,0x00,0x05]
1080
1081 ds_read_u8 v255, v1 offset:65535
1082 // CHECK: [0xff,0xff,0xe8,0xd8,0x01,0x00,0x00,0xff]
1083
1084 ds_read_u8 v5, v255 offset:65535
1085 // CHECK: [0xff,0xff,0xe8,0xd8,0xff,0x00,0x00,0x05]
1086
1087 ds_read_u8 v5, v1
1088 // CHECK: [0x00,0x00,0xe8,0xd8,0x01,0x00,0x00,0x05]
1089
1090 ds_read_u8 v5, v1 offset:0
1091 // CHECK: [0x00,0x00,0xe8,0xd8,0x01,0x00,0x00,0x05]
1092
1093 ds_read_u8 v5, v1 offset:4
1094 // CHECK: [0x04,0x00,0xe8,0xd8,0x01,0x00,0x00,0x05]
1095
1096 ds_read_u8 v5, v1 offset:65535 gds
1097 // CHECK: [0xff,0xff,0xea,0xd8,0x01,0x00,0x00,0x05]
1098
1099 ds_read_i16 v5, v1 offset:65535
1100 // CHECK: [0xff,0xff,0xec,0xd8,0x01,0x00,0x00,0x05]
1101
1102 ds_read_i16 v255, v1 offset:65535
1103 // CHECK: [0xff,0xff,0xec,0xd8,0x01,0x00,0x00,0xff]
1104
1105 ds_read_i16 v5, v255 offset:65535
1106 // CHECK: [0xff,0xff,0xec,0xd8,0xff,0x00,0x00,0x05]
1107
1108 ds_read_i16 v5, v1
1109 // CHECK: [0x00,0x00,0xec,0xd8,0x01,0x00,0x00,0x05]
1110
1111 ds_read_i16 v5, v1 offset:0
1112 // CHECK: [0x00,0x00,0xec,0xd8,0x01,0x00,0x00,0x05]
1113
1114 ds_read_i16 v5, v1 offset:4
1115 // CHECK: [0x04,0x00,0xec,0xd8,0x01,0x00,0x00,0x05]
1116
1117 ds_read_i16 v5, v1 offset:65535 gds
1118 // CHECK: [0xff,0xff,0xee,0xd8,0x01,0x00,0x00,0x05]
1119
1120 ds_read_u16 v5, v1 offset:65535
1121 // CHECK: [0xff,0xff,0xf0,0xd8,0x01,0x00,0x00,0x05]
1122
1123 ds_read_u16 v255, v1 offset:65535
1124 // CHECK: [0xff,0xff,0xf0,0xd8,0x01,0x00,0x00,0xff]
1125
1126 ds_read_u16 v5, v255 offset:65535
1127 // CHECK: [0xff,0xff,0xf0,0xd8,0xff,0x00,0x00,0x05]
1128
1129 ds_read_u16 v5, v1
1130 // CHECK: [0x00,0x00,0xf0,0xd8,0x01,0x00,0x00,0x05]
1131
1132 ds_read_u16 v5, v1 offset:0
1133 // CHECK: [0x00,0x00,0xf0,0xd8,0x01,0x00,0x00,0x05]
1134
1135 ds_read_u16 v5, v1 offset:4
1136 // CHECK: [0x04,0x00,0xf0,0xd8,0x01,0x00,0x00,0x05]
1137
1138 ds_read_u16 v5, v1 offset:65535 gds
1139 // CHECK: [0xff,0xff,0xf2,0xd8,0x01,0x00,0x00,0x05]
1140
1141 ds_consume v5 offset:65535
1142 // CHECK: [0xff,0xff,0xf4,0xd8,0x00,0x00,0x00,0x05]
11431143
11441144 ds_consume v255 offset:65535
11451145 // CHECK: [0xff,0xff,0xf4,0xd8,0x00,0x00,0x00,0xff]
11461146
1147 ds_consume v0
1148 // CHECK: [0x00,0x00,0xf4,0xd8,0x00,0x00,0x00,0x00]
1149
1150 ds_consume v0 offset:0
1151 // CHECK: [0x00,0x00,0xf4,0xd8,0x00,0x00,0x00,0x00]
1152
1153 ds_consume v0 offset:4
1154 // CHECK: [0x04,0x00,0xf4,0xd8,0x00,0x00,0x00,0x00]
1155
1156 ds_consume v0 offset:65535 gds
1157 // CHECK: [0xff,0xff,0xf6,0xd8,0x00,0x00,0x00,0x00]
1158
1159 ds_append v0 offset:65535
1160 // CHECK: [0xff,0xff,0xf8,0xd8,0x00,0x00,0x00,0x00]
1147 ds_consume v5
1148 // CHECK: [0x00,0x00,0xf4,0xd8,0x00,0x00,0x00,0x05]
1149
1150 ds_consume v5 offset:0
1151 // CHECK: [0x00,0x00,0xf4,0xd8,0x00,0x00,0x00,0x05]
1152
1153 ds_consume v5 offset:4
1154 // CHECK: [0x04,0x00,0xf4,0xd8,0x00,0x00,0x00,0x05]
1155
1156 ds_consume v5 offset:65535 gds
1157 // CHECK: [0xff,0xff,0xf6,0xd8,0x00,0x00,0x00,0x05]
1158
1159 ds_append v5 offset:65535
1160 // CHECK: [0xff,0xff,0xf8,0xd8,0x00,0x00,0x00,0x05]
11611161
11621162 ds_append v255 offset:65535
11631163 // CHECK: [0xff,0xff,0xf8,0xd8,0x00,0x00,0x00,0xff]
11641164
1165 ds_append v0
1166 // CHECK: [0x00,0x00,0xf8,0xd8,0x00,0x00,0x00,0x00]
1167
1168 ds_append v0 offset:0
1169 // CHECK: [0x00,0x00,0xf8,0xd8,0x00,0x00,0x00,0x00]
1170
1171 ds_append v0 offset:4
1172 // CHECK: [0x04,0x00,0xf8,0xd8,0x00,0x00,0x00,0x00]
1173
1174 ds_append v0 offset:65535 gds
1175 // CHECK: [0xff,0xff,0xfa,0xd8,0x00,0x00,0x00,0x00]
1176
1177 ds_ordered_count v0, v0 offset:65535 gds
1178 // CHECK: [0xff,0xff,0xfe,0xd8,0x00,0x00,0x00,0x00]
1179
1180 ds_ordered_count v255, v0 offset:65535 gds
1181 // CHECK: [0xff,0xff,0xfe,0xd8,0x00,0x00,0x00,0xff]
1182
1183 ds_ordered_count v0, v255 offset:65535 gds
1184 // CHECK: [0xff,0xff,0xfe,0xd8,0xff,0x00,0x00,0x00]
1185
1186 ds_ordered_count v0, v0 gds
1187 // CHECK: [0x00,0x00,0xfe,0xd8,0x00,0x00,0x00,0x00]
1188
1189 ds_ordered_count v0, v0 offset:0 gds
1190 // CHECK: [0x00,0x00,0xfe,0xd8,0x00,0x00,0x00,0x00]
1191
1192 ds_ordered_count v0, v0 offset:4 gds
1193 // CHECK: [0x04,0x00,0xfe,0xd8,0x00,0x00,0x00,0x00]
1194
1195 ds_add_u64 v0, v[0:1] offset:65535
1196 // CHECK: [0xff,0xff,0x00,0xd9,0x00,0x00,0x00,0x00]
1197
1198 ds_add_u64 v255, v[0:1] offset:65535
1199 // CHECK: [0xff,0xff,0x00,0xd9,0xff,0x00,0x00,0x00]
1200
1201 ds_add_u64 v0, v[254:255] offset:65535
1202 // CHECK: [0xff,0xff,0x00,0xd9,0x00,0xfe,0x00,0x00]
1203
1204 ds_add_u64 v0, v[0:1]
1205 // CHECK: [0x00,0x00,0x00,0xd9,0x00,0x00,0x00,0x00]
1206
1207 ds_add_u64 v0, v[0:1] offset:0
1208 // CHECK: [0x00,0x00,0x00,0xd9,0x00,0x00,0x00,0x00]
1209
1210 ds_add_u64 v0, v[0:1] offset:4
1211 // CHECK: [0x04,0x00,0x00,0xd9,0x00,0x00,0x00,0x00]
1212
1213 ds_add_u64 v0, v[0:1] offset:65535 gds
1214 // CHECK: [0xff,0xff,0x02,0xd9,0x00,0x00,0x00,0x00]
1215
1216 ds_sub_u64 v0, v[0:1] offset:65535
1217 // CHECK: [0xff,0xff,0x04,0xd9,0x00,0x00,0x00,0x00]
1218
1219 ds_sub_u64 v255, v[0:1] offset:65535
1220 // CHECK: [0xff,0xff,0x04,0xd9,0xff,0x00,0x00,0x00]
1221
1222 ds_sub_u64 v0, v[254:255] offset:65535
1223 // CHECK: [0xff,0xff,0x04,0xd9,0x00,0xfe,0x00,0x00]
1224
1225 ds_sub_u64 v0, v[0:1]
1226 // CHECK: [0x00,0x00,0x04,0xd9,0x00,0x00,0x00,0x00]
1227
1228 ds_sub_u64 v0, v[0:1] offset:0
1229 // CHECK: [0x00,0x00,0x04,0xd9,0x00,0x00,0x00,0x00]
1230
1231 ds_sub_u64 v0, v[0:1] offset:4
1232 // CHECK: [0x04,0x00,0x04,0xd9,0x00,0x00,0x00,0x00]
1233
1234 ds_sub_u64 v0, v[0:1] offset:65535 gds
1235 // CHECK: [0xff,0xff,0x06,0xd9,0x00,0x00,0x00,0x00]
1236
1237 ds_rsub_u64 v0, v[0:1] offset:65535
1238 // CHECK: [0xff,0xff,0x08,0xd9,0x00,0x00,0x00,0x00]
1239
1240 ds_rsub_u64 v255, v[0:1] offset:65535
1241 // CHECK: [0xff,0xff,0x08,0xd9,0xff,0x00,0x00,0x00]
1242
1243 ds_rsub_u64 v0, v[254:255] offset:65535
1244 // CHECK: [0xff,0xff,0x08,0xd9,0x00,0xfe,0x00,0x00]
1245
1246 ds_rsub_u64 v0, v[0:1]
1247 // CHECK: [0x00,0x00,0x08,0xd9,0x00,0x00,0x00,0x00]
1248
1249 ds_rsub_u64 v0, v[0:1] offset:0
1250 // CHECK: [0x00,0x00,0x08,0xd9,0x00,0x00,0x00,0x00]
1251
1252 ds_rsub_u64 v0, v[0:1] offset:4
1253 // CHECK: [0x04,0x00,0x08,0xd9,0x00,0x00,0x00,0x00]
1254
1255 ds_rsub_u64 v0, v[0:1] offset:65535 gds
1256 // CHECK: [0xff,0xff,0x0a,0xd9,0x00,0x00,0x00,0x00]
1257
1258 ds_inc_u64 v0, v[0:1] offset:65535
1259 // CHECK: [0xff,0xff,0x0c,0xd9,0x00,0x00,0x00,0x00]
1260
1261 ds_inc_u64 v255, v[0:1] offset:65535
1262 // CHECK: [0xff,0xff,0x0c,0xd9,0xff,0x00,0x00,0x00]
1263
1264 ds_inc_u64 v0, v[254:255] offset:65535
1265 // CHECK: [0xff,0xff,0x0c,0xd9,0x00,0xfe,0x00,0x00]
1266
1267 ds_inc_u64 v0, v[0:1]
1268 // CHECK: [0x00,0x00,0x0c,0xd9,0x00,0x00,0x00,0x00]
1269
1270 ds_inc_u64 v0, v[0:1] offset:0
1271 // CHECK: [0x00,0x00,0x0c,0xd9,0x00,0x00,0x00,0x00]
1272
1273 ds_inc_u64 v0, v[0:1] offset:4
1274 // CHECK: [0x04,0x00,0x0c,0xd9,0x00,0x00,0x00,0x00]
1275
1276 ds_inc_u64 v0, v[0:1] offset:65535 gds
1277 // CHECK: [0xff,0xff,0x0e,0xd9,0x00,0x00,0x00,0x00]
1278
1279 ds_dec_u64 v0, v[0:1] offset:65535
1280 // CHECK: [0xff,0xff,0x10,0xd9,0x00,0x00,0x00,0x00]
1281
1282 ds_dec_u64 v255, v[0:1] offset:65535
1283 // CHECK: [0xff,0xff,0x10,0xd9,0xff,0x00,0x00,0x00]
1284
1285 ds_dec_u64 v0, v[254:255] offset:65535
1286 // CHECK: [0xff,0xff,0x10,0xd9,0x00,0xfe,0x00,0x00]
1287
1288 ds_dec_u64 v0, v[0:1]
1289 // CHECK: [0x00,0x00,0x10,0xd9,0x00,0x00,0x00,0x00]
1290
1291 ds_dec_u64 v0, v[0:1] offset:0
1292 // CHECK: [0x00,0x00,0x10,0xd9,0x00,0x00,0x00,0x00]
1293
1294 ds_dec_u64 v0, v[0:1] offset:4
1295 // CHECK: [0x04,0x00,0x10,0xd9,0x00,0x00,0x00,0x00]
1296
1297 ds_dec_u64 v0, v[0:1] offset:65535 gds
1298 // CHECK: [0xff,0xff,0x12,0xd9,0x00,0x00,0x00,0x00]
1299
1300 ds_min_i64 v0, v[0:1] offset:65535
1301 // CHECK: [0xff,0xff,0x14,0xd9,0x00,0x00,0x00,0x00]
1302
1303 ds_min_i64 v255, v[0:1] offset:65535
1304 // CHECK: [0xff,0xff,0x14,0xd9,0xff,0x00,0x00,0x00]
1305
1306 ds_min_i64 v0, v[254:255] offset:65535
1307 // CHECK: [0xff,0xff,0x14,0xd9,0x00,0xfe,0x00,0x00]
1308
1309 ds_min_i64 v0, v[0:1]
1310 // CHECK: [0x00,0x00,0x14,0xd9,0x00,0x00,0x00,0x00]
1311
1312 ds_min_i64 v0, v[0:1] offset:0
1313 // CHECK: [0x00,0x00,0x14,0xd9,0x00,0x00,0x00,0x00]
1314
1315 ds_min_i64 v0, v[0:1] offset:4
1316 // CHECK: [0x04,0x00,0x14,0xd9,0x00,0x00,0x00,0x00]
1317
1318 ds_min_i64 v0, v[0:1] offset:65535 gds
1319 // CHECK: [0xff,0xff,0x16,0xd9,0x00,0x00,0x00,0x00]
1320
1321 ds_max_i64 v0, v[0:1] offset:65535
1322 // CHECK: [0xff,0xff,0x18,0xd9,0x00,0x00,0x00,0x00]
1323
1324 ds_max_i64 v255, v[0:1] offset:65535
1325 // CHECK: [0xff,0xff,0x18,0xd9,0xff,0x00,0x00,0x00]
1326
1327 ds_max_i64 v0, v[254:255] offset:65535
1328 // CHECK: [0xff,0xff,0x18,0xd9,0x00,0xfe,0x00,0x00]
1329
1330 ds_max_i64 v0, v[0:1]
1331 // CHECK: [0x00,0x00,0x18,0xd9,0x00,0x00,0x00,0x00]
1332
1333 ds_max_i64 v0, v[0:1] offset:0
1334 // CHECK: [0x00,0x00,0x18,0xd9,0x00,0x00,0x00,0x00]
1335
1336 ds_max_i64 v0, v[0:1] offset:4
1337 // CHECK: [0x04,0x00,0x18,0xd9,0x00,0x00,0x00,0x00]
1338
1339 ds_max_i64 v0, v[0:1] offset:65535 gds
1340 // CHECK: [0xff,0xff,0x1a,0xd9,0x00,0x00,0x00,0x00]
1341
1342 ds_min_u64 v0, v[0:1] offset:65535
1343 // CHECK: [0xff,0xff,0x1c,0xd9,0x00,0x00,0x00,0x00]
1344
1345 ds_min_u64 v255, v[0:1] offset:65535
1346 // CHECK: [0xff,0xff,0x1c,0xd9,0xff,0x00,0x00,0x00]
1347
1348 ds_min_u64 v0, v[254:255] offset:65535
1349 // CHECK: [0xff,0xff,0x1c,0xd9,0x00,0xfe,0x00,0x00]
1350
1351 ds_min_u64 v0, v[0:1]
1352 // CHECK: [0x00,0x00,0x1c,0xd9,0x00,0x00,0x00,0x00]
1353
1354 ds_min_u64 v0, v[0:1] offset:0
1355 // CHECK: [0x00,0x00,0x1c,0xd9,0x00,0x00,0x00,0x00]
1356
1357 ds_min_u64 v0, v[0:1] offset:4
1358 // CHECK: [0x04,0x00,0x1c,0xd9,0x00,0x00,0x00,0x00]
1359
1360 ds_min_u64 v0, v[0:1] offset:65535 gds
1361 // CHECK: [0xff,0xff,0x1e,0xd9,0x00,0x00,0x00,0x00]
1362
1363 ds_max_u64 v0, v[0:1] offset:65535
1364 // CHECK: [0xff,0xff,0x20,0xd9,0x00,0x00,0x00,0x00]
1365
1366 ds_max_u64 v255, v[0:1] offset:65535
1367 // CHECK: [0xff,0xff,0x20,0xd9,0xff,0x00,0x00,0x00]
1368
1369 ds_max_u64 v0, v[254:255] offset:65535
1370 // CHECK: [0xff,0xff,0x20,0xd9,0x00,0xfe,0x00,0x00]
1371
1372 ds_max_u64 v0, v[0:1]
1373 // CHECK: [0x00,0x00,0x20,0xd9,0x00,0x00,0x00,0x00]
1374
1375 ds_max_u64 v0, v[0:1] offset:0
1376 // CHECK: [0x00,0x00,0x20,0xd9,0x00,0x00,0x00,0x00]
1377
1378 ds_max_u64 v0, v[0:1] offset:4
1379 // CHECK: [0x04,0x00,0x20,0xd9,0x00,0x00,0x00,0x00]
1380
1381 ds_max_u64 v0, v[0:1] offset:65535 gds
1382 // CHECK: [0xff,0xff,0x22,0xd9,0x00,0x00,0x00,0x00]
1383
1384 ds_and_b64 v0, v[0:1] offset:65535
1385 // CHECK: [0xff,0xff,0x24,0xd9,0x00,0x00,0x00,0x00]
1386
1387 ds_and_b64 v255, v[0:1] offset:65535
1388 // CHECK: [0xff,0xff,0x24,0xd9,0xff,0x00,0x00,0x00]
1389
1390 ds_and_b64 v0, v[254:255] offset:65535
1391 // CHECK: [0xff,0xff,0x24,0xd9,0x00,0xfe,0x00,0x00]
1392
1393 ds_and_b64 v0, v[0:1]
1394 // CHECK: [0x00,0x00,0x24,0xd9,0x00,0x00,0x00,0x00]
1395
1396 ds_and_b64 v0, v[0:1] offset:0
1397 // CHECK: [0x00,0x00,0x24,0xd9,0x00,0x00,0x00,0x00]
1398
1399 ds_and_b64 v0, v[0:1] offset:4
1400 // CHECK: [0x04,0x00,0x24,0xd9,0x00,0x00,0x00,0x00]
1401
1402 ds_and_b64 v0, v[0:1] offset:65535 gds
1403 // CHECK: [0xff,0xff,0x26,0xd9,0x00,0x00,0x00,0x00]
1404
1405 ds_or_b64 v0, v[0:1] offset:65535
1406 // CHECK: [0xff,0xff,0x28,0xd9,0x00,0x00,0x00,0x00]
1407
1408 ds_or_b64 v255, v[0:1] offset:65535
1409 // CHECK: [0xff,0xff,0x28,0xd9,0xff,0x00,0x00,0x00]
1410
1411 ds_or_b64 v0, v[254:255] offset:65535
1412 // CHECK: [0xff,0xff,0x28,0xd9,0x00,0xfe,0x00,0x00]
1413
1414 ds_or_b64 v0, v[0:1]
1415 // CHECK: [0x00,0x00,0x28,0xd9,0x00,0x00,0x00,0x00]
1416
1417 ds_or_b64 v0, v[0:1] offset:0
1418 // CHECK: [0x00,0x00,0x28,0xd9,0x00,0x00,0x00,0x00]
1419
1420 ds_or_b64 v0, v[0:1] offset:4
1421 // CHECK: [0x04,0x00,0x28,0xd9,0x00,0x00,0x00,0x00]
1422
1423 ds_or_b64 v0, v[0:1] offset:65535 gds
1424 // CHECK: [0xff,0xff,0x2a,0xd9,0x00,0x00,0x00,0x00]
1425
1426 ds_xor_b64 v0, v[0:1] offset:65535
1427 // CHECK: [0xff,0xff,0x2c,0xd9,0x00,0x00,0x00,0x00]
1428
1429 ds_xor_b64 v255, v[0:1] offset:65535
1430 // CHECK: [0xff,0xff,0x2c,0xd9,0xff,0x00,0x00,0x00]
1431
1432 ds_xor_b64 v0, v[254:255] offset:65535
1433 // CHECK: [0xff,0xff,0x2c,0xd9,0x00,0xfe,0x00,0x00]
1434
1435 ds_xor_b64 v0, v[0:1]
1436 // CHECK: [0x00,0x00,0x2c,0xd9,0x00,0x00,0x00,0x00]
1437
1438 ds_xor_b64 v0, v[0:1] offset:0
1439 // CHECK: [0x00,0x00,0x2c,0xd9,0x00,0x00,0x00,0x00]
1440
1441 ds_xor_b64 v0, v[0:1] offset:4
1442 // CHECK: [0x04,0x00,0x2c,0xd9,0x00,0x00,0x00,0x00]
1443
1444 ds_xor_b64 v0, v[0:1] offset:65535 gds
1445 // CHECK: [0xff,0xff,0x2e,0xd9,0x00,0x00,0x00,0x00]
1446
1447 ds_mskor_b64 v0, v[0:1], v[0:1] offset:65535
1448 // CHECK: [0xff,0xff,0x30,0xd9,0x00,0x00,0x00,0x00]
1449
1450 ds_mskor_b64 v255, v[0:1], v[0:1] offset:65535
1451 // CHECK: [0xff,0xff,0x30,0xd9,0xff,0x00,0x00,0x00]
1452
1453 ds_mskor_b64 v0, v[254:255], v[0:1] offset:65535
1454 // CHECK: [0xff,0xff,0x30,0xd9,0x00,0xfe,0x00,0x00]
1455
1456 ds_mskor_b64 v0, v[0:1], v[254:255] offset:65535
1457 // CHECK: [0xff,0xff,0x30,0xd9,0x00,0x00,0xfe,0x00]
1458
1459 ds_mskor_b64 v0, v[0:1], v[0:1]
1460 // CHECK: [0x00,0x00,0x30,0xd9,0x00,0x00,0x00,0x00]
1461
1462 ds_mskor_b64 v0, v[0:1], v[0:1] offset:0
1463 // CHECK: [0x00,0x00,0x30,0xd9,0x00,0x00,0x00,0x00]
1464
1465 ds_mskor_b64 v0, v[0:1], v[0:1] offset:4
1466 // CHECK: [0x04,0x00,0x30,0xd9,0x00,0x00,0x00,0x00]
1467
1468 ds_mskor_b64 v0, v[0:1], v[0:1] offset:65535 gds
1469 // CHECK: [0xff,0xff,0x32,0xd9,0x00,0x00,0x00,0x00]
1470
1471 ds_write_b64 v0, v[0:1] offset:65535
1472 // CHECK: [0xff,0xff,0x34,0xd9,0x00,0x00,0x00,0x00]
1473
1474 ds_write_b64 v255, v[0:1] offset:65535
1475 // CHECK: [0xff,0xff,0x34,0xd9,0xff,0x00,0x00,0x00]
1476
1477 ds_write_b64 v0, v[254:255] offset:65535
1478 // CHECK: [0xff,0xff,0x34,0xd9,0x00,0xfe,0x00,0x00]
1479
1480 ds_write_b64 v0, v[0:1]
1481 // CHECK: [0x00,0x00,0x34,0xd9,0x00,0x00,0x00,0x00]
1482
1483 ds_write_b64 v0, v[0:1] offset:0
1484 // CHECK: [0x00,0x00,0x34,0xd9,0x00,0x00,0x00,0x00]
1485
1486 ds_write_b64 v0, v[0:1] offset:4
1487 // CHECK: [0x04,0x00,0x34,0xd9,0x00,0x00,0x00,0x00]
1488
1489 ds_write_b64 v0, v[0:1] offset:65535 gds
1490 // CHECK: [0xff,0xff,0x36,0xd9,0x00,0x00,0x00,0x00]
1491
1492 ds_write2_b64 v0, v[0:1], v[0:1] offset0:127 offset1:255
1493 // CHECK: [0x7f,0xff,0x38,0xd9,0x00,0x00,0x00,0x00]
1494
1495 ds_write2_b64 v255, v[0:1], v[0:1] offset0:127 offset1:255
1496 // CHECK: [0x7f,0xff,0x38,0xd9,0xff,0x00,0x00,0x00]
1497
1498 ds_write2_b64 v0, v[254:255], v[0:1] offset0:127 offset1:255
1499 // CHECK: [0x7f,0xff,0x38,0xd9,0x00,0xfe,0x00,0x00]
1500
1501 ds_write2_b64 v0, v[0:1], v[254:255] offset0:127 offset1:255
1502 // CHECK: [0x7f,0xff,0x38,0xd9,0x00,0x00,0xfe,0x00]
1503
1504 ds_write2_b64 v0, v[0:1], v[0:1] offset1:255
1505 // CHECK: [0x00,0xff,0x38,0xd9,0x00,0x00,0x00,0x00]
1506
1507 ds_write2_b64 v0, v[0:1], v[0:1] offset0:0 offset1:255
1508 // CHECK: [0x00,0xff,0x38,0xd9,0x00,0x00,0x00,0x00]
1509
1510 ds_write2_b64 v0, v[0:1], v[0:1] offset0:16 offset1:255
1511 // CHECK: [0x10,0xff,0x38,0xd9,0x00,0x00,0x00,0x00]
1512
1513 ds_write2_b64 v0, v[0:1], v[0:1] offset0:127
1514 // CHECK: [0x7f,0x00,0x38,0xd9,0x00,0x00,0x00,0x00]
1515
1516 ds_write2_b64 v0, v[0:1], v[0:1] offset0:127 offset1:0
1517 // CHECK: [0x7f,0x00,0x38,0xd9,0x00,0x00,0x00,0x00]
1518
1519 ds_write2_b64 v0, v[0:1], v[0:1] offset0:127 offset1:1
1520 // CHECK: [0x7f,0x01,0x38,0xd9,0x00,0x00,0x00,0x00]
1521
1522 ds_write2_b64 v0, v[0:1], v[0:1] offset0:127 offset1:255 gds
1523 // CHECK: [0x7f,0xff,0x3a,0xd9,0x00,0x00,0x00,0x00]
1524
1525 ds_write2st64_b64 v0, v[0:1], v[0:1] offset0:127 offset1:255
1526 // CHECK: [0x7f,0xff,0x3c,0xd9,0x00,0x00,0x00,0x00]
1527
1528 ds_write2st64_b64 v255, v[0:1], v[0:1] offset0:127 offset1:255
1529 // CHECK: [0x7f,0xff,0x3c,0xd9,0xff,0x00,0x00,0x00]
1530
1531 ds_write2st64_b64 v0, v[254:255], v[0:1] offset0:127 offset1:255
1532 // CHECK: [0x7f,0xff,0x3c,0xd9,0x00,0xfe,0x00,0x00]
1533
1534 ds_write2st64_b64 v0, v[0:1], v[254:255] offset0:127 offset1:255
1535 // CHECK: [0x7f,0xff,0x3c,0xd9,0x00,0x00,0xfe,0x00]
1536
1537 ds_write2st64_b64 v0, v[0:1], v[0:1] offset1:255
1538 // CHECK: [0x00,0xff,0x3c,0xd9,0x00,0x00,0x00,0x00]
1539
1540 ds_write2st64_b64 v0, v[0:1], v[0:1] offset0:0 offset1:255
1541 // CHECK: [0x00,0xff,0x3c,0xd9,0x00,0x00,0x00,0x00]
1542
1543 ds_write2st64_b64 v0, v[0:1], v[0:1] offset0:16 offset1:255
1544 // CHECK: [0x10,0xff,0x3c,0xd9,0x00,0x00,0x00,0x00]
1545
1546 ds_write2st64_b64 v0, v[0:1], v[0:1] offset0:127
1547 // CHECK: [0x7f,0x00,0x3c,0xd9,0x00,0x00,0x00,0x00]
1548
1549 ds_write2st64_b64 v0, v[0:1], v[0:1] offset0:127 offset1:0
1550 // CHECK: [0x7f,0x00,0x3c,0xd9,0x00,0x00,0x00,0x00]
1551
1552 ds_write2st64_b64 v0, v[0:1], v[0:1] offset0:127 offset1:1
1553 // CHECK: [0x7f,0x01,0x3c,0xd9,0x00,0x00,0x00,0x00]
1554
1555 ds_write2st64_b64 v0, v[0:1], v[0:1] offset0:127 offset1:255 gds
1556 // CHECK: [0x7f,0xff,0x3e,0xd9,0x00,0x00,0x00,0x00]
1557
1558 ds_cmpst_b64 v0, v[0:1], v[0:1] offset:65535
1559 // CHECK: [0xff,0xff,0x40,0xd9,0x00,0x00,0x00,0x00]
1560
1561 ds_cmpst_b64 v255, v[0:1], v[0:1] offset:65535
1562 // CHECK: [0xff,0xff,0x40,0xd9,0xff,0x00,0x00,0x00]
1563
1564 ds_cmpst_b64 v0, v[254:255], v[0:1] offset:65535
1565 // CHECK: [0xff,0xff,0x40,0xd9,0x00,0xfe,0x00,0x00]
1566
1567 ds_cmpst_b64 v0, v[0:1], v[254:255] offset:65535
1568 // CHECK: [0xff,0xff,0x40,0xd9,0x00,0x00,0xfe,0x00]
1569
1570 ds_cmpst_b64 v0, v[0:1], v[0:1]
1571 // CHECK: [0x00,0x00,0x40,0xd9,0x00,0x00,0x00,0x00]
1572
1573 ds_cmpst_b64 v0, v[0:1], v[0:1] offset:0
1574 // CHECK: [0x00,0x00,0x40,0xd9,0x00,0x00,0x00,0x00]
1575
1576 ds_cmpst_b64 v0, v[0:1], v[0:1] offset:4
1577 // CHECK: [0x04,0x00,0x40,0xd9,0x00,0x00,0x00,0x00]
1578
1579 ds_cmpst_b64 v0, v[0:1], v[0:1] offset:65535 gds
1580 // CHECK: [0xff,0xff,0x42,0xd9,0x00,0x00,0x00,0x00]
1581
1582 ds_cmpst_f64 v0, v[0:1], v[0:1] offset:65535
1583 // CHECK: [0xff,0xff,0x44,0xd9,0x00,0x00,0x00,0x00]
1584
1585 ds_cmpst_f64 v255, v[0:1], v[0:1] offset:65535
1586 // CHECK: [0xff,0xff,0x44,0xd9,0xff,0x00,0x00,0x00]
1587
1588 ds_cmpst_f64 v0, v[254:255], v[0:1] offset:65535
1589 // CHECK: [0xff,0xff,0x44,0xd9,0x00,0xfe,0x00,0x00]
1590
1591 ds_cmpst_f64 v0, v[0:1], v[254:255] offset:65535
1592 // CHECK: [0xff,0xff,0x44,0xd9,0x00,0x00,0xfe,0x00]
1593
1594 ds_cmpst_f64 v0, v[0:1], v[0:1]
1595 // CHECK: [0x00,0x00,0x44,0xd9,0x00,0x00,0x00,0x00]
1596
1597 ds_cmpst_f64 v0, v[0:1], v[0:1] offset:0
1598 // CHECK: [0x00,0x00,0x44,0xd9,0x00,0x00,0x00,0x00]
1599
1600 ds_cmpst_f64 v0, v[0:1], v[0:1] offset:4
1601 // CHECK: [0x04,0x00,0x44,0xd9,0x00,0x00,0x00,0x00]
1602
1603 ds_cmpst_f64 v0, v[0:1], v[0:1] offset:65535 gds
1604 // CHECK: [0xff,0xff,0x46,0xd9,0x00,0x00,0x00,0x00]
1605
1606 ds_min_f64 v0, v[0:1] offset:65535
1607 // CHECK: [0xff,0xff,0x48,0xd9,0x00,0x00,0x00,0x00]
1608
1609 ds_min_f64 v255, v[0:1] offset:65535
1610 // CHECK: [0xff,0xff,0x48,0xd9,0xff,0x00,0x00,0x00]
1611
1612 ds_min_f64 v0, v[254:255] offset:65535
1613 // CHECK: [0xff,0xff,0x48,0xd9,0x00,0xfe,0x00,0x00]
1614
1615 ds_min_f64 v0, v[0:1]
1616 // CHECK: [0x00,0x00,0x48,0xd9,0x00,0x00,0x00,0x00]
1617
1618 ds_min_f64 v0, v[0:1] offset:0
1619 // CHECK: [0x00,0x00,0x48,0xd9,0x00,0x00,0x00,0x00]
1620
1621 ds_min_f64 v0, v[0:1] offset:4
1622 // CHECK: [0x04,0x00,0x48,0xd9,0x00,0x00,0x00,0x00]
1623
1624 ds_min_f64 v0, v[0:1] offset:65535 gds
1625 // CHECK: [0xff,0xff,0x4a,0xd9,0x00,0x00,0x00,0x00]
1626
1627 ds_max_f64 v0, v[0:1] offset:65535
1628 // CHECK: [0xff,0xff,0x4c,0xd9,0x00,0x00,0x00,0x00]
1629
1630 ds_max_f64 v255, v[0:1] offset:65535
1631 // CHECK: [0xff,0xff,0x4c,0xd9,0xff,0x00,0x00,0x00]
1632
1633 ds_max_f64 v0, v[254:255] offset:65535
1634 // CHECK: [0xff,0xff,0x4c,0xd9,0x00,0xfe,0x00,0x00]
1635
1636 ds_max_f64 v0, v[0:1]
1637 // CHECK: [0x00,0x00,0x4c,0xd9,0x00,0x00,0x00,0x00]
1638
1639 ds_max_f64 v0, v[0:1] offset:0
1640 // CHECK: [0x00,0x00,0x4c,0xd9,0x00,0x00,0x00,0x00]
1641
1642 ds_max_f64 v0, v[0:1] offset:4
1643 // CHECK: [0x04,0x00,0x4c,0xd9,0x00,0x00,0x00,0x00]
1644
1645 ds_max_f64 v0, v[0:1] offset:65535 gds
1646 // CHECK: [0xff,0xff,0x4e,0xd9,0x00,0x00,0x00,0x00]
1647
1648 ds_add_rtn_u64 v[0:1], v0, v[0:1] offset:65535
1649 // CHECK: [0xff,0xff,0x80,0xd9,0x00,0x00,0x00,0x00]
1650
1651 ds_add_rtn_u64 v[254:255], v0, v[0:1] offset:65535
1652 // CHECK: [0xff,0xff,0x80,0xd9,0x00,0x00,0x00,0xfe]
1653
1654 ds_add_rtn_u64 v[0:1], v255, v[0:1] offset:65535
1655 // CHECK: [0xff,0xff,0x80,0xd9,0xff,0x00,0x00,0x00]
1656
1657 ds_add_rtn_u64 v[0:1], v0, v[254:255] offset:65535
1658 // CHECK: [0xff,0xff,0x80,0xd9,0x00,0xfe,0x00,0x00]
1659
1660 ds_add_rtn_u64 v[0:1], v0, v[0:1]
1661 // CHECK: [0x00,0x00,0x80,0xd9,0x00,0x00,0x00,0x00]
1662
1663 ds_add_rtn_u64 v[0:1], v0, v[0:1] offset:0
1664 // CHECK: [0x00,0x00,0x80,0xd9,0x00,0x00,0x00,0x00]
1665
1666 ds_add_rtn_u64 v[0:1], v0, v[0:1] offset:4
1667 // CHECK: [0x04,0x00,0x80,0xd9,0x00,0x00,0x00,0x00]
1668
1669 ds_add_rtn_u64 v[0:1], v0, v[0:1] offset:65535 gds
1670 // CHECK: [0xff,0xff,0x82,0xd9,0x00,0x00,0x00,0x00]
1671
1672 ds_sub_rtn_u64 v[0:1], v0, v[0:1] offset:65535
1673 // CHECK: [0xff,0xff,0x84,0xd9,0x00,0x00,0x00,0x00]
1674
1675 ds_sub_rtn_u64 v[254:255], v0, v[0:1] offset:65535
1676 // CHECK: [0xff,0xff,0x84,0xd9,0x00,0x00,0x00,0xfe]
1677
1678 ds_sub_rtn_u64 v[0:1], v255, v[0:1] offset:65535
1679 // CHECK: [0xff,0xff,0x84,0xd9,0xff,0x00,0x00,0x00]
1680
1681 ds_sub_rtn_u64 v[0:1], v0, v[254:255] offset:65535
1682 // CHECK: [0xff,0xff,0x84,0xd9,0x00,0xfe,0x00,0x00]
1683
1684 ds_sub_rtn_u64 v[0:1], v0, v[0:1]
1685 // CHECK: [0x00,0x00,0x84,0xd9,0x00,0x00,0x00,0x00]
1686
1687 ds_sub_rtn_u64 v[0:1], v0, v[0:1] offset:0
1688 // CHECK: [0x00,0x00,0x84,0xd9,0x00,0x00,0x00,0x00]
1689
1690 ds_sub_rtn_u64 v[0:1], v0, v[0:1] offset:4
1691 // CHECK: [0x04,0x00,0x84,0xd9,0x00,0x00,0x00,0x00]
1692
1693 ds_sub_rtn_u64 v[0:1], v0, v[0:1] offset:65535 gds
1694 // CHECK: [0xff,0xff,0x86,0xd9,0x00,0x00,0x00,0x00]
1695
1696 ds_rsub_rtn_u64 v[0:1], v0, v[0:1] offset:65535
1697 // CHECK: [0xff,0xff,0x88,0xd9,0x00,0x00,0x00,0x00]
1698
1699 ds_rsub_rtn_u64 v[254:255], v0, v[0:1] offset:65535
1700 // CHECK: [0xff,0xff,0x88,0xd9,0x00,0x00,0x00,0xfe]
1701
1702 ds_rsub_rtn_u64 v[0:1], v255, v[0:1] offset:65535
1703 // CHECK: [0xff,0xff,0x88,0xd9,0xff,0x00,0x00,0x00]
1704
1705 ds_rsub_rtn_u64 v[0:1], v0, v[254:255] offset:65535
1706 // CHECK: [0xff,0xff,0x88,0xd9,0x00,0xfe,0x00,0x00]
1707
1708 ds_rsub_rtn_u64 v[0:1], v0, v[0:1]
1709 // CHECK: [0x00,0x00,0x88,0xd9,0x00,0x00,0x00,0x00]
1710
1711 ds_rsub_rtn_u64 v[0:1], v0, v[0:1] offset:0
1712 // CHECK: [0x00,0x00,0x88,0xd9,0x00,0x00,0x00,0x00]
1713
1714 ds_rsub_rtn_u64 v[0:1], v0, v[0:1] offset:4
1715 // CHECK: [0x04,0x00,0x88,0xd9,0x00,0x00,0x00,0x00]
1716
1717 ds_rsub_rtn_u64 v[0:1], v0, v[0:1] offset:65535 gds
1718 // CHECK: [0xff,0xff,0x8a,0xd9,0x00,0x00,0x00,0x00]
1719
1720 ds_inc_rtn_u64 v[0:1], v0, v[0:1] offset:65535
1721 // CHECK: [0xff,0xff,0x8c,0xd9,0x00,0x00,0x00,0x00]
1722
1723 ds_inc_rtn_u64 v[254:255], v0, v[0:1] offset:65535
1724 // CHECK: [0xff,0xff,0x8c,0xd9,0x00,0x00,0x00,0xfe]
1725
1726 ds_inc_rtn_u64 v[0:1], v255, v[0:1] offset:65535
1727 // CHECK: [0xff,0xff,0x8c,0xd9,0xff,0x00,0x00,0x00]
1728
1729 ds_inc_rtn_u64 v[0:1], v0, v[254:255] offset:65535
1730 // CHECK: [0xff,0xff,0x8c,0xd9,0x00,0xfe,0x00,0x00]
1731
1732 ds_inc_rtn_u64 v[0:1], v0, v[0:1]
1733 // CHECK: [0x00,0x00,0x8c,0xd9,0x00,0x00,0x00,0x00]
1734
1735 ds_inc_rtn_u64 v[0:1], v0, v[0:1] offset:0
1736 // CHECK: [0x00,0x00,0x8c,0xd9,0x00,0x00,0x00,0x00]
1737
1738 ds_inc_rtn_u64 v[0:1], v0, v[0:1] offset:4
1739 // CHECK: [0x04,0x00,0x8c,0xd9,0x00,0x00,0x00,0x00]
1740
1741 ds_inc_rtn_u64 v[0:1], v0, v[0:1] offset:65535 gds
1742 // CHECK: [0xff,0xff,0x8e,0xd9,0x00,0x00,0x00,0x00]
1743
1744 ds_dec_rtn_u64 v[0:1], v0, v[0:1] offset:65535
1745 // CHECK: [0xff,0xff,0x90,0xd9,0x00,0x00,0x00,0x00]
1746
1747 ds_dec_rtn_u64 v[254:255], v0, v[0:1] offset:65535
1748 // CHECK: [0xff,0xff,0x90,0xd9,0x00,0x00,0x00,0xfe]
1749
1750 ds_dec_rtn_u64 v[0:1], v255, v[0:1] offset:65535
1751 // CHECK: [0xff,0xff,0x90,0xd9,0xff,0x00,0x00,0x00]
1752
1753 ds_dec_rtn_u64 v[0:1], v0, v[254:255] offset:65535
1754 // CHECK: [0xff,0xff,0x90,0xd9,0x00,0xfe,0x00,0x00]
1755
1756 ds_dec_rtn_u64 v[0:1], v0, v[0:1]
1757 // CHECK: [0x00,0x00,0x90,0xd9,0x00,0x00,0x00,0x00]
1758
1759 ds_dec_rtn_u64 v[0:1], v0, v[0:1] offset:0
1760 // CHECK: [0x00,0x00,0x90,0xd9,0x00,0x00,0x00,0x00]
1761
1762 ds_dec_rtn_u64 v[0:1], v0, v[0:1] offset:4
1763 // CHECK: [0x04,0x00,0x90,0xd9,0x00,0x00,0x00,0x00]
1764
1765 ds_dec_rtn_u64 v[0:1], v0, v[0:1] offset:65535 gds
1766 // CHECK: [0xff,0xff,0x92,0xd9,0x00,0x00,0x00,0x00]
1767
1768 ds_min_rtn_i64 v[0:1], v0, v[0:1] offset:65535
1769 // CHECK: [0xff,0xff,0x94,0xd9,0x00,0x00,0x00,0x00]
1770
1771 ds_min_rtn_i64 v[254:255], v0, v[0:1] offset:65535
1772 // CHECK: [0xff,0xff,0x94,0xd9,0x00,0x00,0x00,0xfe]
1773
1774 ds_min_rtn_i64 v[0:1], v255, v[0:1] offset:65535
1775 // CHECK: [0xff,0xff,0x94,0xd9,0xff,0x00,0x00,0x00]
1776
1777 ds_min_rtn_i64 v[0:1], v0, v[254:255] offset:65535
1778 // CHECK: [0xff,0xff,0x94,0xd9,0x00,0xfe,0x00,0x00]
1779
1780 ds_min_rtn_i64 v[0:1], v0, v[0:1]
1781 // CHECK: [0x00,0x00,0x94,0xd9,0x00,0x00,0x00,0x00]
1782
1783 ds_min_rtn_i64 v[0:1], v0, v[0:1] offset:0
1784 // CHECK: [0x00,0x00,0x94,0xd9,0x00,0x00,0x00,0x00]
1785
1786 ds_min_rtn_i64 v[0:1], v0, v[0:1] offset:4
1787 // CHECK: [0x04,0x00,0x94,0xd9,0x00,0x00,0x00,0x00]
1788
1789 ds_min_rtn_i64 v[0:1], v0, v[0:1] offset:65535 gds
1790 // CHECK: [0xff,0xff,0x96,0xd9,0x00,0x00,0x00,0x00]
1791
1792 ds_max_rtn_i64 v[0:1], v0, v[0:1] offset:65535
1793 // CHECK: [0xff,0xff,0x98,0xd9,0x00,0x00,0x00,0x00]
1794
1795 ds_max_rtn_i64 v[254:255], v0, v[0:1] offset:65535
1796 // CHECK: [0xff,0xff,0x98,0xd9,0x00,0x00,0x00,0xfe]
1797
1798 ds_max_rtn_i64 v[0:1], v255, v[0:1] offset:65535
1799 // CHECK: [0xff,0xff,0x98,0xd9,0xff,0x00,0x00,0x00]
1800
1801 ds_max_rtn_i64 v[0:1], v0, v[254:255] offset:65535
1802 // CHECK: [0xff,0xff,0x98,0xd9,0x00,0xfe,0x00,0x00]
1803
1804 ds_max_rtn_i64 v[0:1], v0, v[0:1]
1805 // CHECK: [0x00,0x00,0x98,0xd9,0x00,0x00,0x00,0x00]
1806
1807 ds_max_rtn_i64 v[0:1], v0, v[0:1] offset:0
1808 // CHECK: [0x00,0x00,0x98,0xd9,0x00,0x00,0x00,0x00]
1809
1810 ds_max_rtn_i64 v[0:1], v0, v[0:1] offset:4
1811 // CHECK: [0x04,0x00,0x98,0xd9,0x00,0x00,0x00,0x00]
1812
1813 ds_max_rtn_i64 v[0:1], v0, v[0:1] offset:65535 gds
1814 // CHECK: [0xff,0xff,0x9a,0xd9,0x00,0x00,0x00,0x00]
1815
1816 ds_min_rtn_u64 v[0:1], v0, v[0:1] offset:65535
1817 // CHECK: [0xff,0xff,0x9c,0xd9,0x00,0x00,0x00,0x00]
1818
1819 ds_min_rtn_u64 v[254:255], v0, v[0:1] offset:65535
1820 // CHECK: [0xff,0xff,0x9c,0xd9,0x00,0x00,0x00,0xfe]
1821
1822 ds_min_rtn_u64 v[0:1], v255, v[0:1] offset:65535
1823 // CHECK: [0xff,0xff,0x9c,0xd9,0xff,0x00,0x00,0x00]
1824
1825 ds_min_rtn_u64 v[0:1], v0, v[254:255] offset:65535
1826 // CHECK: [0xff,0xff,0x9c,0xd9,0x00,0xfe,0x00,0x00]
1827
1828 ds_min_rtn_u64 v[0:1], v0, v[0:1]
1829 // CHECK: [0x00,0x00,0x9c,0xd9,0x00,0x00,0x00,0x00]
1830
1831 ds_min_rtn_u64 v[0:1], v0, v[0:1] offset:0
1832 // CHECK: [0x00,0x00,0x9c,0xd9,0x00,0x00,0x00,0x00]
1833
1834 ds_min_rtn_u64 v[0:1], v0, v[0:1] offset:4
1835 // CHECK: [0x04,0x00,0x9c,0xd9,0x00,0x00,0x00,0x00]
1836
1837 ds_min_rtn_u64 v[0:1], v0, v[0:1] offset:65535 gds
1838 // CHECK: [0xff,0xff,0x9e,0xd9,0x00,0x00,0x00,0x00]
1839
1840 ds_max_rtn_u64 v[0:1], v0, v[0:1] offset:65535
1841 // CHECK: [0xff,0xff,0xa0,0xd9,0x00,0x00,0x00,0x00]
1842
1843 ds_max_rtn_u64 v[254:255], v0, v[0:1] offset:65535
1844 // CHECK: [0xff,0xff,0xa0,0xd9,0x00,0x00,0x00,0xfe]
1845
1846 ds_max_rtn_u64 v[0:1], v255, v[0:1] offset:65535
1847 // CHECK: [0xff,0xff,0xa0,0xd9,0xff,0x00,0x00,0x00]
1848
1849 ds_max_rtn_u64 v[0:1], v0, v[254:255] offset:65535
1850 // CHECK: [0xff,0xff,0xa0,0xd9,0x00,0xfe,0x00,0x00]
1851
1852 ds_max_rtn_u64 v[0:1], v0, v[0:1]
1853 // CHECK: [0x00,0x00,0xa0,0xd9,0x00,0x00,0x00,0x00]
1854
1855 ds_max_rtn_u64 v[0:1], v0, v[0:1] offset:0
1856 // CHECK: [0x00,0x00,0xa0,0xd9,0x00,0x00,0x00,0x00]
1857
1858 ds_max_rtn_u64 v[0:1], v0, v[0:1] offset:4
1859 // CHECK: [0x04,0x00,0xa0,0xd9,0x00,0x00,0x00,0x00]
1860
1861 ds_max_rtn_u64 v[0:1], v0, v[0:1] offset:65535 gds
1862 // CHECK: [0xff,0xff,0xa2,0xd9,0x00,0x00,0x00,0x00]
1863
1864 ds_and_rtn_b64 v[0:1], v0, v[0:1] offset:65535
1865 // CHECK: [0xff,0xff,0xa4,0xd9,0x00,0x00,0x00,0x00]
1866
1867 ds_and_rtn_b64 v[254:255], v0, v[0:1] offset:65535
1868 // CHECK: [0xff,0xff,0xa4,0xd9,0x00,0x00,0x00,0xfe]
1869
1870 ds_and_rtn_b64 v[0:1], v255, v[0:1] offset:65535
1871 // CHECK: [0xff,0xff,0xa4,0xd9,0xff,0x00,0x00,0x00]
1872
1873 ds_and_rtn_b64 v[0:1], v0, v[254:255] offset:65535
1874 // CHECK: [0xff,0xff,0xa4,0xd9,0x00,0xfe,0x00,0x00]
1875
1876 ds_and_rtn_b64 v[0:1], v0, v[0:1]
1877 // CHECK: [0x00,0x00,0xa4,0xd9,0x00,0x00,0x00,0x00]
1878
1879 ds_and_rtn_b64 v[0:1], v0, v[0:1] offset:0
1880 // CHECK: [0x00,0x00,0xa4,0xd9,0x00,0x00,0x00,0x00]
1881
1882 ds_and_rtn_b64 v[0:1], v0, v[0:1] offset:4
1883 // CHECK: [0x04,0x00,0xa4,0xd9,0x00,0x00,0x00,0x00]
1884
1885 ds_and_rtn_b64 v[0:1], v0, v[0:1] offset:65535 gds
1886 // CHECK: [0xff,0xff,0xa6,0xd9,0x00,0x00,0x00,0x00]
1887
1888 ds_or_rtn_b64 v[0:1], v0, v[0:1] offset:65535
1889 // CHECK: [0xff,0xff,0xa8,0xd9,0x00,0x00,0x00,0x00]
1890
1891 ds_or_rtn_b64 v[254:255], v0, v[0:1] offset:65535
1892 // CHECK: [0xff,0xff,0xa8,0xd9,0x00,0x00,0x00,0xfe]
1893
1894 ds_or_rtn_b64 v[0:1], v255, v[0:1] offset:65535
1895 // CHECK: [0xff,0xff,0xa8,0xd9,0xff,0x00,0x00,0x00]
1896
1897 ds_or_rtn_b64 v[0:1], v0, v[254:255] offset:65535
1898 // CHECK: [0xff,0xff,0xa8,0xd9,0x00,0xfe,0x00,0x00]
1899
1900 ds_or_rtn_b64 v[0:1], v0, v[0:1]
1901 // CHECK: [0x00,0x00,0xa8,0xd9,0x00,0x00,0x00,0x00]
1902
1903 ds_or_rtn_b64 v[0:1], v0, v[0:1] offset:0
1904 // CHECK: [0x00,0x00,0xa8,0xd9,0x00,0x00,0x00,0x00]
1905
1906 ds_or_rtn_b64 v[0:1], v0, v[0:1] offset:4
1907 // CHECK: [0x04,0x00,0xa8,0xd9,0x00,0x00,0x00,0x00]
1908
1909 ds_or_rtn_b64 v[0:1], v0, v[0:1] offset:65535 gds
1910 // CHECK: [0xff,0xff,0xaa,0xd9,0x00,0x00,0x00,0x00]
1911
1912 ds_xor_rtn_b64 v[0:1], v0, v[0:1] offset:65535
1913 // CHECK: [0xff,0xff,0xac,0xd9,0x00,0x00,0x00,0x00]
1914
1915 ds_xor_rtn_b64 v[254:255], v0, v[0:1] offset:65535
1916 // CHECK: [0xff,0xff,0xac,0xd9,0x00,0x00,0x00,0xfe]
1917
1918 ds_xor_rtn_b64 v[0:1], v255, v[0:1] offset:65535
1919 // CHECK: [0xff,0xff,0xac,0xd9,0xff,0x00,0x00,0x00]
1920
1921 ds_xor_rtn_b64 v[0:1], v0, v[254:255] offset:65535
1922 // CHECK: [0xff,0xff,0xac,0xd9,0x00,0xfe,0x00,0x00]
1923
1924 ds_xor_rtn_b64 v[0:1], v0, v[0:1]
1925 // CHECK: [0x00,0x00,0xac,0xd9,0x00,0x00,0x00,0x00]
1926
1927 ds_xor_rtn_b64 v[0:1], v0, v[0:1] offset:0
1928 // CHECK: [0x00,0x00,0xac,0xd9,0x00,0x00,0x00,0x00]
1929
1930 ds_xor_rtn_b64 v[0:1], v0, v[0:1] offset:4
1931 // CHECK: [0x04,0x00,0xac,0xd9,0x00,0x00,0x00,0x00]
1932
1933 ds_xor_rtn_b64 v[0:1], v0, v[0:1] offset:65535 gds
1934 // CHECK: [0xff,0xff,0xae,0xd9,0x00,0x00,0x00,0x00]
1935
1936 ds_mskor_rtn_b64 v[0:1], v0, v[0:1], v[0:1] offset:65535
1937 // CHECK: [0xff,0xff,0xb0,0xd9,0x00,0x00,0x00,0x00]
1938
1939 ds_mskor_rtn_b64 v[254:255], v0, v[0:1], v[0:1] offset:65535
1940 // CHECK: [0xff,0xff,0xb0,0xd9,0x00,0x00,0x00,0xfe]
1941
1942 ds_mskor_rtn_b64 v[0:1], v255, v[0:1], v[0:1] offset:65535
1943 // CHECK: [0xff,0xff,0xb0,0xd9,0xff,0x00,0x00,0x00]
1944
1945 ds_mskor_rtn_b64 v[0:1], v0, v[254:255], v[0:1] offset:65535
1946 // CHECK: [0xff,0xff,0xb0,0xd9,0x00,0xfe,0x00,0x00]
1947
1948 ds_mskor_rtn_b64 v[0:1], v0, v[0:1], v[254:255] offset:65535
1949 // CHECK: [0xff,0xff,0xb0,0xd9,0x00,0x00,0xfe,0x00]
1950
1951 ds_mskor_rtn_b64 v[0:1], v0, v[0:1], v[0:1]
1952 // CHECK: [0x00,0x00,0xb0,0xd9,0x00,0x00,0x00,0x00]
1953
1954 ds_mskor_rtn_b64 v[0:1], v0, v[0:1], v[0:1] offset:0
1955 // CHECK: [0x00,0x00,0xb0,0xd9,0x00,0x00,0x00,0x00]
1956
1957 ds_mskor_rtn_b64 v[0:1], v0, v[0:1], v[0:1] offset:4
1958 // CHECK: [0x04,0x00,0xb0,0xd9,0x00,0x00,0x00,0x00]
1959
1960 ds_mskor_rtn_b64 v[0:1], v0, v[0:1], v[0:1] offset:65535 gds
1961 // CHECK: [0xff,0xff,0xb2,0xd9,0x00,0x00,0x00,0x00]
1962
1963 ds_wrxchg_rtn_b64 v[0:1], v0, v[0:1] offset:65535
1964 // CHECK: [0xff,0xff,0xb4,0xd9,0x00,0x00,0x00,0x00]
1965
1966 ds_wrxchg_rtn_b64 v[254:255], v0, v[0:1] offset:65535
1967 // CHECK: [0xff,0xff,0xb4,0xd9,0x00,0x00,0x00,0xfe]
1968
1969 ds_wrxchg_rtn_b64 v[0:1], v255, v[0:1] offset:65535
1970 // CHECK: [0xff,0xff,0xb4,0xd9,0xff,0x00,0x00,0x00]
1971
1972 ds_wrxchg_rtn_b64 v[0:1], v0, v[254:255] offset:65535
1973 // CHECK: [0xff,0xff,0xb4,0xd9,0x00,0xfe,0x00,0x00]
1974
1975 ds_wrxchg_rtn_b64 v[0:1], v0, v[0:1]
1976 // CHECK: [0x00,0x00,0xb4,0xd9,0x00,0x00,0x00,0x00]
1977
1978 ds_wrxchg_rtn_b64 v[0:1], v0, v[0:1] offset:0
1979 // CHECK: [0x00,0x00,0xb4,0xd9,0x00,0x00,0x00,0x00]
1980
1981 ds_wrxchg_rtn_b64 v[0:1], v0, v[0:1] offset:4
1982 // CHECK: [0x04,0x00,0xb4,0xd9,0x00,0x00,0x00,0x00]
1983
1984 ds_wrxchg_rtn_b64 v[0:1], v0, v[0:1] offset:65535 gds
1985 // CHECK: [0xff,0xff,0xb6,0xd9,0x00,0x00,0x00,0x00]
1986
1987 ds_cmpst_rtn_b64 v[0:1], v0, v[0:1], v[0:1] offset:65535
1988 // CHECK: [0xff,0xff,0xc0,0xd9,0x00,0x00,0x00,0x00]
1989
1990 ds_cmpst_rtn_b64 v[254:255], v0, v[0:1], v[0:1] offset:65535
1991 // CHECK: [0xff,0xff,0xc0,0xd9,0x00,0x00,0x00,0xfe]
1992
1993 ds_cmpst_rtn_b64 v[0:1], v255, v[0:1], v[0:1] offset:65535
1994 // CHECK: [0xff,0xff,0xc0,0xd9,0xff,0x00,0x00,0x00]
1995
1996 ds_cmpst_rtn_b64 v[0:1], v0, v[254:255], v[0:1] offset:65535
1997 // CHECK: [0xff,0xff,0xc0,0xd9,0x00,0xfe,0x00,0x00]
1998
1999 ds_cmpst_rtn_b64 v[0:1], v0, v[0:1], v[254:255] offset:65535
2000 // CHECK: [0xff,0xff,0xc0,0xd9,0x00,0x00,0xfe,0x00]
2001
2002 ds_cmpst_rtn_b64 v[0:1], v0, v[0:1], v[0:1]
2003 // CHECK: [0x00,0x00,0xc0,0xd9,0x00,0x00,0x00,0x00]
2004
2005 ds_cmpst_rtn_b64 v[0:1], v0, v[0:1], v[0:1] offset:0
2006 // CHECK: [0x00,0x00,0xc0,0xd9,0x00,0x00,0x00,0x00]
2007
2008 ds_cmpst_rtn_b64 v[0:1], v0, v[0:1], v[0:1] offset:4
2009 // CHECK: [0x04,0x00,0xc0,0xd9,0x00,0x00,0x00,0x00]
2010
2011 ds_cmpst_rtn_b64 v[0:1], v0, v[0:1], v[0:1] offset:65535 gds
2012 // CHECK: [0xff,0xff,0xc2,0xd9,0x00,0x00,0x00,0x00]
2013
2014 ds_cmpst_rtn_f64 v[0:1], v0, v[0:1], v[0:1] offset:65535
2015 // CHECK: [0xff,0xff,0xc4,0xd9,0x00,0x00,0x00,0x00]
2016
2017 ds_cmpst_rtn_f64 v[254:255], v0, v[0:1], v[0:1] offset:65535
2018 // CHECK: [0xff,0xff,0xc4,0xd9,0x00,0x00,0x00,0xfe]
2019
2020 ds_cmpst_rtn_f64 v[0:1], v255, v[0:1], v[0:1] offset:65535
2021 // CHECK: [0xff,0xff,0xc4,0xd9,0xff,0x00,0x00,0x00]
2022
2023 ds_cmpst_rtn_f64 v[0:1], v0, v[254:255], v[0:1] offset:65535
2024 // CHECK: [0xff,0xff,0xc4,0xd9,0x00,0xfe,0x00,0x00]
2025
2026 ds_cmpst_rtn_f64 v[0:1], v0, v[0:1], v[254:255] offset:65535
2027 // CHECK: [0xff,0xff,0xc4,0xd9,0x00,0x00,0xfe,0x00]
2028
2029 ds_cmpst_rtn_f64 v[0:1], v0, v[0:1], v[0:1]
2030 // CHECK: [0x00,0x00,0xc4,0xd9,0x00,0x00,0x00,0x00]
2031
2032 ds_cmpst_rtn_f64 v[0:1], v0, v[0:1], v[0:1] offset:0
2033 // CHECK: [0x00,0x00,0xc4,0xd9,0x00,0x00,0x00,0x00]
2034
2035 ds_cmpst_rtn_f64 v[0:1], v0, v[0:1], v[0:1] offset:4
2036 // CHECK: [0x04,0x00,0xc4,0xd9,0x00,0x00,0x00,0x00]
2037
2038 ds_cmpst_rtn_f64 v[0:1], v0, v[0:1], v[0:1] offset:65535 gds
2039 // CHECK: [0xff,0xff,0xc6,0xd9,0x00,0x00,0x00,0x00]
2040
2041 ds_min_rtn_f64 v[0:1], v0, v[0:1] offset:65535
2042 // CHECK: [0xff,0xff,0xc8,0xd9,0x00,0x00,0x00,0x00]
2043
2044 ds_min_rtn_f64 v[254:255], v0, v[0:1] offset:65535
2045 // CHECK: [0xff,0xff,0xc8,0xd9,0x00,0x00,0x00,0xfe]
2046
2047 ds_min_rtn_f64 v[0:1], v255, v[0:1] offset:65535
2048 // CHECK: [0xff,0xff,0xc8,0xd9,0xff,0x00,0x00,0x00]
2049
2050 ds_min_rtn_f64 v[0:1], v0, v[254:255] offset:65535
2051 // CHECK: [0xff,0xff,0xc8,0xd9,0x00,0xfe,0x00,0x00]
2052
2053 ds_min_rtn_f64 v[0:1], v0, v[0:1]
2054 // CHECK: [0x00,0x00,0xc8,0xd9,0x00,0x00,0x00,0x00]
2055
2056 ds_min_rtn_f64 v[0:1], v0, v[0:1] offset:0
2057 // CHECK: [0x00,0x00,0xc8,0xd9,0x00,0x00,0x00,0x00]
2058
2059 ds_min_rtn_f64 v[0:1], v0, v[0:1] offset:4
2060 // CHECK: [0x04,0x00,0xc8,0xd9,0x00,0x00,0x00,0x00]
2061
2062 ds_min_rtn_f64 v[0:1], v0, v[0:1] offset:65535 gds
2063 // CHECK: [0xff,0xff,0xca,0xd9,0x00,0x00,0x00,0x00]
2064
2065 ds_max_rtn_f64 v[0:1], v0, v[0:1] offset:65535
2066 // CHECK: [0xff,0xff,0xcc,0xd9,0x00,0x00,0x00,0x00]
2067
2068 ds_max_rtn_f64 v[254:255], v0, v[0:1] offset:65535
2069 // CHECK: [0xff,0xff,0xcc,0xd9,0x00,0x00,0x00,0xfe]
2070
2071 ds_max_rtn_f64 v[0:1], v255, v[0:1] offset:65535
2072 // CHECK: [0xff,0xff,0xcc,0xd9,0xff,0x00,0x00,0x00]
2073
2074 ds_max_rtn_f64 v[0:1], v0, v[254:255] offset:65535
2075 // CHECK: [0xff,0xff,0xcc,0xd9,0x00,0xfe,0x00,0x00]
2076
2077 ds_max_rtn_f64 v[0:1], v0, v[0:1]
2078 // CHECK: [0x00,0x00,0xcc,0xd9,0x00,0x00,0x00,0x00]
2079
2080 ds_max_rtn_f64 v[0:1], v0, v[0:1] offset:0
2081 // CHECK: [0x00,0x00,0xcc,0xd9,0x00,0x00,0x00,0x00]
2082
2083 ds_max_rtn_f64 v[0:1], v0, v[0:1] offset:4
2084 // CHECK: [0x04,0x00,0xcc,0xd9,0x00,0x00,0x00,0x00]
2085
2086 ds_max_rtn_f64 v[0:1], v0, v[0:1] offset:65535 gds
2087 // CHECK: [0xff,0xff,0xce,0xd9,0x00,0x00,0x00,0x00]
2088
2089 ds_read_b64 v[0:1], v0 offset:65535
2090 // CHECK: [0xff,0xff,0xd8,0xd9,0x00,0x00,0x00,0x00]
2091
2092 ds_read_b64 v[254:255], v0 offset:65535
2093 // CHECK: [0xff,0xff,0xd8,0xd9,0x00,0x00,0x00,0xfe]
2094
2095 ds_read_b64 v[0:1], v255 offset:65535
2096 // CHECK: [0xff,0xff,0xd8,0xd9,0xff,0x00,0x00,0x00]
2097
2098 ds_read_b64 v[0:1], v0
2099 // CHECK: [0x00,0x00,0xd8,0xd9,0x00,0x00,0x00,0x00]
2100
2101 ds_read_b64 v[0:1], v0 offset:0
2102 // CHECK: [0x00,0x00,0xd8,0xd9,0x00,0x00,0x00,0x00]
2103
2104 ds_read_b64 v[0:1], v0 offset:4
2105 // CHECK: [0x04,0x00,0xd8,0xd9,0x00,0x00,0x00,0x00]
2106
2107 ds_read_b64 v[0:1], v0 offset:65535 gds
2108 // CHECK: [0xff,0xff,0xda,0xd9,0x00,0x00,0x00,0x00]
2109
2110 ds_read2_b64 v[0:3], v0 offset0:127 offset1:255
2111 // CHECK: [0x7f,0xff,0xdc,0xd9,0x00,0x00,0x00,0x00]
2112
2113 ds_read2_b64 v[252:255], v0 offset0:127 offset1:255
2114 // CHECK: [0x7f,0xff,0xdc,0xd9,0x00,0x00,0x00,0xfc]
2115
2116 ds_read2_b64 v[0:3], v255 offset0:127 offset1:255
2117 // CHECK: [0x7f,0xff,0xdc,0xd9,0xff,0x00,0x00,0x00]
2118
2119 ds_read2_b64 v[0:3], v0 offset1:255
2120 // CHECK: [0x00,0xff,0xdc,0xd9,0x00,0x00,0x00,0x00]
2121
2122 ds_read2_b64 v[0:3], v0 offset0:0 offset1:255
2123 // CHECK: [0x00,0xff,0xdc,0xd9,0x00,0x00,0x00,0x00]
2124
2125 ds_read2_b64 v[0:3], v0 offset0:16 offset1:255
2126 // CHECK: [0x10,0xff,0xdc,0xd9,0x00,0x00,0x00,0x00]
2127
2128 ds_read2_b64 v[0:3], v0 offset0:127
2129 // CHECK: [0x7f,0x00,0xdc,0xd9,0x00,0x00,0x00,0x00]
2130
2131 ds_read2_b64 v[0:3], v0 offset0:127 offset1:0
2132 // CHECK: [0x7f,0x00,0xdc,0xd9,0x00,0x00,0x00,0x00]
2133
2134 ds_read2_b64 v[0:3], v0 offset0:127 offset1:1
2135 // CHECK: [0x7f,0x01,0xdc,0xd9,0x00,0x00,0x00,0x00]
2136
2137 ds_read2_b64 v[0:3], v0 offset0:127 offset1:255 gds
2138 // CHECK: [0x7f,0xff,0xde,0xd9,0x00,0x00,0x00,0x00]
2139
2140 ds_read2st64_b64 v[0:3], v0 offset0:127 offset1:255
2141 // CHECK: [0x7f,0xff,0xe0,0xd9,0x00,0x00,0x00,0x00]
2142
2143 ds_read2st64_b64 v[252:255], v0 offset0:127 offset1:255
2144 // CHECK: [0x7f,0xff,0xe0,0xd9,0x00,0x00,0x00,0xfc]
2145
2146 ds_read2st64_b64 v[0:3], v255 offset0:127 offset1:255
2147 // CHECK: [0x7f,0xff,0xe0,0xd9,0xff,0x00,0x00,0x00]
2148
2149 ds_read2st64_b64 v[0:3], v0 offset1:255
2150 // CHECK: [0x00,0xff,0xe0,0xd9,0x00,0x00,0x00,0x00]
2151
2152 ds_read2st64_b64 v[0:3], v0 offset0:0 offset1:255
2153 // CHECK: [0x00,0xff,0xe0,0xd9,0x00,0x00,0x00,0x00]
2154
2155 ds_read2st64_b64 v[0:3], v0 offset0:16 offset1:255
2156 // CHECK: [0x10,0xff,0xe0,0xd9,0x00,0x00,0x00,0x00]
2157
2158 ds_read2st64_b64 v[0:3], v0 offset0:127
2159 // CHECK: [0x7f,0x00,0xe0,0xd9,0x00,0x00,0x00,0x00]
2160
2161 ds_read2st64_b64 v[0:3], v0 offset0:127 offset1:0
2162 // CHECK: [0x7f,0x00,0xe0,0xd9,0x00,0x00,0x00,0x00]
2163
2164 ds_read2st64_b64 v[0:3], v0 offset0:127 offset1:1
2165 // CHECK: [0x7f,0x01,0xe0,0xd9,0x00,0x00,0x00,0x00]
2166
2167 ds_read2st64_b64 v[0:3], v0 offset0:127 offset1:255 gds
2168 // CHECK: [0x7f,0xff,0xe2,0xd9,0x00,0x00,0x00,0x00]
2169
2170 ds_add_src2_u32 v0 offset:65535
2171 // CHECK: [0xff,0xff,0x00,0xda,0x00,0x00,0x00,0x00]
1165 ds_append v5
1166 // CHECK: [0x00,0x00,0xf8,0xd8,0x00,0x00,0x00,0x05]
1167
1168 ds_append v5 offset:0
1169 // CHECK: [0x00,0x00,0xf8,0xd8,0x00,0x00,0x00,0x05]
1170
1171 ds_append v5 offset:4
1172 // CHECK: [0x04,0x00,0xf8,0xd8,0x00,0x00,0x00,0x05]
1173
1174 ds_append v5 offset:65535 gds
1175 // CHECK: [0xff,0xff,0xfa,0xd8,0x00,0x00,0x00,0x05]
1176
1177 ds_ordered_count v5, v1 offset:65535 gds
1178 // CHECK: [0xff,0xff,0xfe,0xd8,0x01,0x00,0x00,0x05]
1179
1180 ds_ordered_count v255, v1 offset:65535 gds
1181 // CHECK: [0xff,0xff,0xfe,0xd8,0x01,0x00,0x00,0xff]
1182
1183 ds_ordered_count v5, v255 offset:65535 gds
1184 // CHECK: [0xff,0xff,0xfe,0xd8,0xff,0x00,0x00,0x05]
1185
1186 ds_ordered_count v5, v1 gds
1187 // CHECK: [0x00,0x00,0xfe,0xd8,0x01,0x00,0x00,0x05]
1188
1189 ds_ordered_count v5, v1 offset:0 gds
1190 // CHECK: [0x00,0x00,0xfe,0xd8,0x01,0x00,0x00,0x05]
1191
1192 ds_ordered_count v5, v1 offset:4 gds
1193 // CHECK: [0x04,0x00,0xfe,0xd8,0x01,0x00,0x00,0x05]
1194
1195 ds_add_u64 v1, v[2:3] offset:65535
1196 // CHECK: [0xff,0xff,0x00,0xd9,0x01,0x02,0x00,0x00]
1197
1198 ds_add_u64 v255, v[2:3] offset:65535
1199 // CHECK: [0xff,0xff,0x00,0xd9,0xff,0x02,0x00,0x00]
1200
1201 ds_add_u64 v1, v[254:255] offset:65535
1202 // CHECK: [0xff,0xff,0x00,0xd9,0x01,0xfe,0x00,0x00]
1203
1204 ds_add_u64 v1, v[2:3]
1205 // CHECK: [0x00,0x00,0x00,0xd9,0x01,0x02,0x00,0x00]
1206
1207 ds_add_u64 v1, v[2:3] offset:0
1208 // CHECK: [0x00,0x00,0x00,0xd9,0x01,0x02,0x00,0x00]
1209
1210 ds_add_u64 v1, v[2:3] offset:4
1211 // CHECK: [0x04,0x00,0x00,0xd9,0x01,0x02,0x00,0x00]
1212
1213 ds_add_u64 v1, v[2:3] offset:65535 gds
1214 // CHECK: [0xff,0xff,0x02,0xd9,0x01,0x02,0x00,0x00]
1215
1216 ds_sub_u64 v1, v[2:3] offset:65535
1217 // CHECK: [0xff,0xff,0x04,0xd9,0x01,0x02,0x00,0x00]
1218
1219 ds_sub_u64 v255, v[2:3] offset:65535
1220 // CHECK: [0xff,0xff,0x04,0xd9,0xff,0x02,0x00,0x00]
1221
1222 ds_sub_u64 v1, v[254:255] offset:65535
1223 // CHECK: [0xff,0xff,0x04,0xd9,0x01,0xfe,0x00,0x00]
1224
1225 ds_sub_u64 v1, v[2:3]
1226 // CHECK: [0x00,0x00,0x04,0xd9,0x01,0x02,0x00,0x00]
1227
1228 ds_sub_u64 v1, v[2:3] offset:0
1229 // CHECK: [0x00,0x00,0x04,0xd9,0x01,0x02,0x00,0x00]
1230
1231 ds_sub_u64 v1, v[2:3] offset:4
1232 // CHECK: [0x04,0x00,0x04,0xd9,0x01,0x02,0x00,0x00]
1233
1234 ds_sub_u64 v1, v[2:3] offset:65535 gds
1235 // CHECK: [0xff,0xff,0x06,0xd9,0x01,0x02,0x00,0x00]
1236
1237 ds_rsub_u64 v1, v[2:3] offset:65535
1238 // CHECK: [0xff,0xff,0x08,0xd9,0x01,0x02,0x00,0x00]
1239
1240 ds_rsub_u64 v255, v[2:3] offset:65535
1241 // CHECK: [0xff,0xff,0x08,0xd9,0xff,0x02,0x00,0x00]
1242
1243 ds_rsub_u64 v1, v[254:255] offset:65535
1244 // CHECK: [0xff,0xff,0x08,0xd9,0x01,0xfe,0x00,0x00]
1245
1246 ds_rsub_u64 v1, v[2:3]
1247 // CHECK: [0x00,0x00,0x08,0xd9,0x01,0x02,0x00,0x00]
1248
1249 ds_rsub_u64 v1, v[2:3] offset:0
1250 // CHECK: [0x00,0x00,0x08,0xd9,0x01,0x02,0x00,0x00]
1251
1252 ds_rsub_u64 v1, v[2:3] offset:4
1253 // CHECK: [0x04,0x00,0x08,0xd9,0x01,0x02,0x00,0x00]
1254
1255 ds_rsub_u64 v1, v[2:3] offset:65535 gds
1256 // CHECK: [0xff,0xff,0x0a,0xd9,0x01,0x02,0x00,0x00]
1257
1258 ds_inc_u64 v1, v[2:3] offset:65535
1259 // CHECK: [0xff,0xff,0x0c,0xd9,0x01,0x02,0x00,0x00]
1260
1261 ds_inc_u64 v255, v[2:3] offset:65535
1262 // CHECK: [0xff,0xff,0x0c,0xd9,0xff,0x02,0x00,0x00]
1263
1264 ds_inc_u64 v1, v[254:255] offset:65535
1265 // CHECK: [0xff,0xff,0x0c,0xd9,0x01,0xfe,0x00,0x00]
1266
1267 ds_inc_u64 v1, v[2:3]
1268 // CHECK: [0x00,0x00,0x0c,0xd9,0x01,0x02,0x00,0x00]
1269
1270 ds_inc_u64 v1, v[2:3] offset:0
1271 // CHECK: [0x00,0x00,0x0c,0xd9,0x01,0x02,0x00,0x00]
1272
1273 ds_inc_u64 v1, v[2:3] offset:4
1274 // CHECK: [0x04,0x00,0x0c,0xd9,0x01,0x02,0x00,0x00]
1275
1276 ds_inc_u64 v1, v[2:3] offset:65535 gds
1277 // CHECK: [0xff,0xff,0x0e,0xd9,0x01,0x02,0x00,0x00]
1278
1279 ds_dec_u64 v1, v[2:3] offset:65535
1280 // CHECK: [0xff,0xff,0x10,0xd9,0x01,0x02,0x00,0x00]
1281
1282 ds_dec_u64 v255, v[2:3] offset:65535
1283 // CHECK: [0xff,0xff,0x10,0xd9,0xff,0x02,0x00,0x00]
1284
1285 ds_dec_u64 v1, v[254:255] offset:65535
1286 // CHECK: [0xff,0xff,0x10,0xd9,0x01,0xfe,0x00,0x00]
1287
1288 ds_dec_u64 v1, v[2:3]
1289 // CHECK: [0x00,0x00,0x10,0xd9,0x01,0x02,0x00,0x00]
1290
1291 ds_dec_u64 v1, v[2:3] offset:0
1292 // CHECK: [0x00,0x00,0x10,0xd9,0x01,0x02,0x00,0x00]
1293
1294 ds_dec_u64 v1, v[2:3] offset:4
1295 // CHECK: [0x04,0x00,0x10,0xd9,0x01,0x02,0x00,0x00]
1296
1297 ds_dec_u64 v1, v[2:3] offset:65535 gds
1298 // CHECK: [0xff,0xff,0x12,0xd9,0x01,0x02,0x00,0x00]
1299
1300 ds_min_i64 v1, v[2:3] offset:65535
1301 // CHECK: [0xff,0xff,0x14,0xd9,0x01,0x02,0x00,0x00]
1302
1303 ds_min_i64 v255, v[2:3] offset:65535
1304 // CHECK: [0xff,0xff,0x14,0xd9,0xff,0x02,0x00,0x00]
1305
1306 ds_min_i64 v1, v[254:255] offset:65535
1307 // CHECK: [0xff,0xff,0x14,0xd9,0x01,0xfe,0x00,0x00]
1308
1309 ds_min_i64 v1, v[2:3]
1310 // CHECK: [0x00,0x00,0x14,0xd9,0x01,0x02,0x00,0x00]
1311
1312 ds_min_i64 v1, v[2:3] offset:0
1313 // CHECK: [0x00,0x00,0x14,0xd9,0x01,0x02,0x00,0x00]
1314
1315 ds_min_i64 v1, v[2:3] offset:4
1316 // CHECK: [0x04,0x00,0x14,0xd9,0x01,0x02,0x00,0x00]
1317
1318 ds_min_i64 v1, v[2:3] offset:65535 gds
1319 // CHECK: [0xff,0xff,0x16,0xd9,0x01,0x02,0x00,0x00]
1320
1321 ds_max_i64 v1, v[2:3] offset:65535
1322 // CHECK: [0xff,0xff,0x18,0xd9,0x01,0x02,0x00,0x00]
1323
1324 ds_max_i64 v255, v[2:3] offset:65535
1325 // CHECK: [0xff,0xff,0x18,0xd9,0xff,0x02,0x00,0x00]
1326
1327 ds_max_i64 v1, v[254:255] offset:65535
1328 // CHECK: [0xff,0xff,0x18,0xd9,0x01,0xfe,0x00,0x00]
1329
1330 ds_max_i64 v1, v[2:3]
1331 // CHECK: [0x00,0x00,0x18,0xd9,0x01,0x02,0x00,0x00]
1332
1333 ds_max_i64 v1, v[2:3] offset:0
1334 // CHECK: [0x00,0x00,0x18,0xd9,0x01,0x02,0x00,0x00]
1335
1336 ds_max_i64 v1, v[2:3] offset:4
1337 // CHECK: [0x04,0x00,0x18,0xd9,0x01,0x02,0x00,0x00]
1338
1339 ds_max_i64 v1, v[2:3] offset:65535 gds
1340 // CHECK: [0xff,0xff,0x1a,0xd9,0x01,0x02,0x00,0x00]
1341
1342 ds_min_u64 v1, v[2:3] offset:65535
1343 // CHECK: [0xff,0xff,0x1c,0xd9,0x01,0x02,0x00,0x00]
1344
1345 ds_min_u64 v255, v[2:3] offset:65535
1346 // CHECK: [0xff,0xff,0x1c,0xd9,0xff,0x02,0x00,0x00]
1347
1348 ds_min_u64 v1, v[254:255] offset:65535
1349 // CHECK: [0xff,0xff,0x1c,0xd9,0x01,0xfe,0x00,0x00]
1350
1351 ds_min_u64 v1, v[2:3]
1352 // CHECK: [0x00,0x00,0x1c,0xd9,0x01,0x02,0x00,0x00]
1353
1354 ds_min_u64 v1, v[2:3] offset:0
1355 // CHECK: [0x00,0x00,0x1c,0xd9,0x01,0x02,0x00,0x00]
1356
1357 ds_min_u64 v1, v[2:3] offset:4
1358 // CHECK: [0x04,0x00,0x1c,0xd9,0x01,0x02,0x00,0x00]
1359
1360 ds_min_u64 v1, v[2:3] offset:65535 gds
1361 // CHECK: [0xff,0xff,0x1e,0xd9,0x01,0x02,0x00,0x00]
1362
1363 ds_max_u64 v1, v[2:3] offset:65535
1364 // CHECK: [0xff,0xff,0x20,0xd9,0x01,0x02,0x00,0x00]
1365
1366 ds_max_u64 v255, v[2:3] offset:65535
1367 // CHECK: [0xff,0xff,0x20,0xd9,0xff,0x02,0x00,0x00]
1368
1369 ds_max_u64 v1, v[254:255] offset:65535
1370 // CHECK: [0xff,0xff,0x20,0xd9,0x01,0xfe,0x00,0x00]
1371
1372 ds_max_u64 v1, v[2:3]
1373 // CHECK: [0x00,0x00,0x20,0xd9,0x01,0x02,0x00,0x00]
1374
1375 ds_max_u64 v1, v[2:3] offset:0
1376 // CHECK: [0x00,0x00,0x20,0xd9,0x01,0x02,0x00,0x00]
1377
1378 ds_max_u64 v1, v[2:3] offset:4
1379 // CHECK: [0x04,0x00,0x20,0xd9,0x01,0x02,0x00,0x00]
1380
1381 ds_max_u64 v1, v[2:3] offset:65535 gds
1382 // CHECK: [0xff,0xff,0x22,0xd9,0x01,0x02,0x00,0x00]
1383
1384 ds_and_b64 v1, v[2:3] offset:65535
1385 // CHECK: [0xff,0xff,0x24,0xd9,0x01,0x02,0x00,0x00]
1386
1387 ds_and_b64 v255, v[2:3] offset:65535
1388 // CHECK: [0xff,0xff,0x24,0xd9,0xff,0x02,0x00,0x00]
1389
1390 ds_and_b64 v1, v[254:255] offset:65535
1391 // CHECK: [0xff,0xff,0x24,0xd9,0x01,0xfe,0x00,0x00]
1392
1393 ds_and_b64 v1, v[2:3]
1394 // CHECK: [0x00,0x00,0x24,0xd9,0x01,0x02,0x00,0x00]
1395
1396 ds_and_b64 v1, v[2:3] offset:0
1397 // CHECK: [0x00,0x00,0x24,0xd9,0x01,0x02,0x00,0x00]
1398
1399 ds_and_b64 v1, v[2:3] offset:4
1400 // CHECK: [0x04,0x00,0x24,0xd9,0x01,0x02,0x00,0x00]
1401
1402 ds_and_b64 v1, v[2:3] offset:65535 gds
1403 // CHECK: [0xff,0xff,0x26,0xd9,0x01,0x02,0x00,0x00]
1404
1405 ds_or_b64 v1, v[2:3] offset:65535
1406 // CHECK: [0xff,0xff,0x28,0xd9,0x01,0x02,0x00,0x00]
1407
1408 ds_or_b64 v255, v[2:3] offset:65535
1409 // CHECK: [0xff,0xff,0x28,0xd9,0xff,0x02,0x00,0x00]
1410
1411 ds_or_b64 v1, v[254:255] offset:65535
1412 // CHECK: [0xff,0xff,0x28,0xd9,0x01,0xfe,0x00,0x00]
1413
1414 ds_or_b64 v1, v[2:3]
1415 // CHECK: [0x00,0x00,0x28,0xd9,0x01,0x02,0x00,0x00]
1416
1417 ds_or_b64 v1, v[2:3] offset:0
1418 // CHECK: [0x00,0x00,0x28,0xd9,0x01,0x02,0x00,0x00]
1419
1420 ds_or_b64 v1, v[2:3] offset:4
1421 // CHECK: [0x04,0x00,0x28,0xd9,0x01,0x02,0x00,0x00]
1422
1423 ds_or_b64 v1, v[2:3] offset:65535 gds
1424 // CHECK: [0xff,0xff,0x2a,0xd9,0x01,0x02,0x00,0x00]
1425
1426 ds_xor_b64 v1, v[2:3] offset:65535
1427 // CHECK: [0xff,0xff,0x2c,0xd9,0x01,0x02,0x00,0x00]
1428
1429 ds_xor_b64 v255, v[2:3] offset:65535
1430 // CHECK: [0xff,0xff,0x2c,0xd9,0xff,0x02,0x00,0x00]
1431
1432 ds_xor_b64 v1, v[254:255] offset:65535
1433 // CHECK: [0xff,0xff,0x2c,0xd9,0x01,0xfe,0x00,0x00]
1434
1435 ds_xor_b64 v1, v[2:3]
1436 // CHECK: [0x00,0x00,0x2c,0xd9,0x01,0x02,0x00,0x00]
1437
1438 ds_xor_b64 v1, v[2:3] offset:0
1439 // CHECK: [0x00,0x00,0x2c,0xd9,0x01,0x02,0x00,0x00]
1440
1441 ds_xor_b64 v1, v[2:3] offset:4
1442 // CHECK: [0x04,0x00,0x2c,0xd9,0x01,0x02,0x00,0x00]
1443
1444 ds_xor_b64 v1, v[2:3] offset:65535 gds
1445 // CHECK: [0xff,0xff,0x2e,0xd9,0x01,0x02,0x00,0x00]
1446
1447 ds_mskor_b64 v1, v[2:3], v[3:4] offset:65535
1448 // CHECK: [0xff,0xff,0x30,0xd9,0x01,0x02,0x03,0x00]
1449
1450 ds_mskor_b64 v255, v[2:3], v[3:4] offset:65535
1451 // CHECK: [0xff,0xff,0x30,0xd9,0xff,0x02,0x03,0x00]
1452
1453 ds_mskor_b64 v1, v[254:255], v[3:4] offset:65535
1454 // CHECK: [0xff,0xff,0x30,0xd9,0x01,0xfe,0x03,0x00]
1455
1456 ds_mskor_b64 v1, v[2:3], v[254:255] offset:65535
1457 // CHECK: [0xff,0xff,0x30,0xd9,0x01,0x02,0xfe,0x00]
1458
1459 ds_mskor_b64 v1, v[2:3], v[3:4]
1460 // CHECK: [0x00,0x00,0x30,0xd9,0x01,0x02,0x03,0x00]
1461
1462 ds_mskor_b64 v1, v[2:3], v[3:4] offset:0
1463 // CHECK: [0x00,0x00,0x30,0xd9,0x01,0x02,0x03,0x00]
1464
1465 ds_mskor_b64 v1, v[2:3], v[3:4] offset:4
1466 // CHECK: [0x04,0x00,0x30,0xd9,0x01,0x02,0x03,0x00]
1467
1468 ds_mskor_b64 v1, v[2:3], v[3:4] offset:65535 gds
1469 // CHECK: [0xff,0xff,0x32,0xd9,0x01,0x02,0x03,0x00]
1470
1471 ds_write_b64 v1, v[2:3] offset:65535
1472 // CHECK: [0xff,0xff,0x34,0xd9,0x01,0x02,0x00,0x00]
1473
1474 ds_write_b64 v255, v[2:3] offset:65535
1475 // CHECK: [0xff,0xff,0x34,0xd9,0xff,0x02,0x00,0x00]
1476
1477 ds_write_b64 v1, v[254:255] offset:65535
1478 // CHECK: [0xff,0xff,0x34,0xd9,0x01,0xfe,0x00,0x00]
1479
1480 ds_write_b64 v1, v[2:3]
1481 // CHECK: [0x00,0x00,0x34,0xd9,0x01,0x02,0x00,0x00]
1482
1483 ds_write_b64 v1, v[2:3] offset:0
1484 // CHECK: [0x00,0x00,0x34,0xd9,0x01,0x02,0x00,0x00]
1485
1486 ds_write_b64 v1, v[2:3] offset:4
1487 // CHECK: [0x04,0x00,0x34,0xd9,0x01,0x02,0x00,0x00]
1488
1489 ds_write_b64 v1, v[2:3] offset:65535 gds
1490 // CHECK: [0xff,0xff,0x36,0xd9,0x01,0x02,0x00,0x00]
1491
1492 ds_write2_b64 v1, v[2:3], v[3:4] offset0:127 offset1:255
1493 // CHECK: [0x7f,0xff,0x38,0xd9,0x01,0x02,0x03,0x00]
1494
1495 ds_write2_b64 v255, v[2:3], v[3:4] offset0:127 offset1:255
1496 // CHECK: [0x7f,0xff,0x38,0xd9,0xff,0x02,0x03,0x00]
1497
1498 ds_write2_b64 v1, v[254:255], v[3:4] offset0:127 offset1:255
1499 // CHECK: [0x7f,0xff,0x38,0xd9,0x01,0xfe,0x03,0x00]
1500
1501 ds_write2_b64 v1, v[2:3], v[254:255] offset0:127 offset1:255
1502 // CHECK: [0x7f,0xff,0x38,0xd9,0x01,0x02,0xfe,0x00]
1503
1504 ds_write2_b64 v1, v[2:3], v[3:4] offset1:255
1505 // CHECK: [0x00,0xff,0x38,0xd9,0x01,0x02,0x03,0x00]
1506
1507 ds_write2_b64 v1, v[2:3], v[3:4] offset0:0 offset1:255
1508 // CHECK: [0x00,0xff,0x38,0xd9,0x01,0x02,0x03,0x00]
1509
1510 ds_write2_b64 v1, v[2:3], v[3:4] offset0:16 offset1:255
1511 // CHECK: [0x10,0xff,0x38,0xd9,0x01,0x02,0x03,0x00]
1512
1513 ds_write2_b64 v1, v[2:3], v[3:4] offset0:127
1514 // CHECK: [0x7f,0x00,0x38,0xd9,0x01,0x02,0x03,0x00]
1515
1516 ds_write2_b64 v1, v[2:3], v[3:4] offset0:127 offset1:0
1517 // CHECK: [0x7f,0x00,0x38,0xd9,0x01,0x02,0x03,0x00]
1518
1519 ds_write2_b64 v1, v[2:3], v[3:4] offset0:127 offset1:1
1520 // CHECK: [0x7f,0x01,0x38,0xd9,0x01,0x02,0x03,0x00]
1521
1522 ds_write2_b64 v1, v[2:3], v[3:4] offset0:127 offset1:255 gds