• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// RUN: not llvm-mc -arch=amdgcn -mcpu=gfx900 %s 2>&1 | FileCheck --implicit-check-not=error: %s
2
3//===----------------------------------------------------------------------===//
4// Unsupported instructions.
5//===----------------------------------------------------------------------===//
6
7buffer_atomic_add_f32 v255, off, s[8:11], s3 offset:4095
8// CHECK: error: instruction not supported on this GPU
9
10buffer_atomic_fcmpswap v[0:1], off, s[0:3], s0 offset:4095
11// CHECK: error: instruction not supported on this GPU
12
13buffer_atomic_fcmpswap_x2 v[0:3], off, s[0:3], s0 offset:4095
14// CHECK: error: instruction not supported on this GPU
15
16buffer_atomic_fmax v0, off, s[0:3], s0 offset:4095 glc
17// CHECK: error: instruction not supported on this GPU
18
19buffer_atomic_fmax_x2 v[0:1], v0, s[0:3], s0 idxen offset:4095
20// CHECK: error: instruction not supported on this GPU
21
22buffer_atomic_fmin v0, off, s[0:3], s0
23// CHECK: error: instruction not supported on this GPU
24
25buffer_atomic_fmin_x2 v[0:1], off, s[0:3], s0 offset:4095 slc
26// CHECK: error: instruction not supported on this GPU
27
28buffer_atomic_pk_add_f16 v255, off, s[8:11], s3 offset:4095
29// CHECK: error: instruction not supported on this GPU
30
31buffer_gl0_inv
32// CHECK: error: instruction not supported on this GPU
33
34buffer_gl1_inv
35// CHECK: error: instruction not supported on this GPU
36
37flat_atomic_fcmpswap v0, v[1:2], v[2:3] glc
38// CHECK: error: instruction not supported on this GPU
39
40flat_atomic_fcmpswap_x2 v[0:1], v[1:2], v[2:5] glc
41// CHECK: error: instruction not supported on this GPU
42
43flat_atomic_fmax v0, v[1:2], v2 glc
44// CHECK: error: instruction not supported on this GPU
45
46flat_atomic_fmax_x2 v[0:1], v[1:2], v[2:3] glc
47// CHECK: error: instruction not supported on this GPU
48
49flat_atomic_fmin v0, v[1:2], v2 glc
50// CHECK: error: instruction not supported on this GPU
51
52flat_atomic_fmin_x2 v[0:1], v[1:2], v[2:3] glc
53// CHECK: error: instruction not supported on this GPU
54
55global_atomic_add_f32 v[1:2], v2, off
56// CHECK: error: instruction not supported on this GPU
57
58global_atomic_pk_add_f16 v[1:2], v2, off
59// CHECK: error: instruction not supported on this GPU
60
61s_and_saveexec_b32 exec_hi, s1
62// CHECK: error: instruction not supported on this GPU
63
64s_andn1_saveexec_b32 exec_hi, s1
65// CHECK: error: instruction not supported on this GPU
66
67s_andn1_wrexec_b32 exec_hi, s1
68// CHECK: error: instruction not supported on this GPU
69
70s_andn2_saveexec_b32 exec_hi, s1
71// CHECK: error: instruction not supported on this GPU
72
73s_andn2_wrexec_b32 exec_hi, s1
74// CHECK: error: instruction not supported on this GPU
75
76s_clause 0x0
77// CHECK: error: instruction not supported on this GPU
78
79s_code_end
80// CHECK: error: instruction not supported on this GPU
81
82s_denorm_mode 0x0
83// CHECK: error: instruction not supported on this GPU
84
85s_get_waveid_in_workgroup s0
86// CHECK: error: instruction not supported on this GPU
87
88s_gl1_inv
89// CHECK: error: instruction not supported on this GPU
90
91s_inst_prefetch 0x0
92// CHECK: error: instruction not supported on this GPU
93
94s_movrelsd_2_b32 s0, s1
95// CHECK: error: instruction not supported on this GPU
96
97s_nand_saveexec_b32 exec_hi, s1
98// CHECK: error: instruction not supported on this GPU
99
100s_nor_saveexec_b32 exec_hi, s1
101// CHECK: error: instruction not supported on this GPU
102
103s_or_saveexec_b32 exec_hi, s1
104// CHECK: error: instruction not supported on this GPU
105
106s_orn1_saveexec_b32 exec_hi, s1
107// CHECK: error: instruction not supported on this GPU
108
109s_orn2_saveexec_b32 exec_hi, s1
110// CHECK: error: instruction not supported on this GPU
111
112s_round_mode 0x0
113// CHECK: error: instruction not supported on this GPU
114
115s_subvector_loop_begin exec_hi, 0x1234
116// CHECK: error: instruction not supported on this GPU
117
118s_subvector_loop_end exec_hi, 0x1234
119// CHECK: error: instruction not supported on this GPU
120
121s_ttracedata_imm 0x0
122// CHECK: error: instruction not supported on this GPU
123
124s_version 0x1234
125// CHECK: error: instruction not supported on this GPU
126
127s_waitcnt_expcnt exec_hi, 0x1234
128// CHECK: error: instruction not supported on this GPU
129
130s_waitcnt_lgkmcnt exec_hi, 0x1234
131// CHECK: error: instruction not supported on this GPU
132
133s_waitcnt_vmcnt exec_hi, 0x1234
134// CHECK: error: instruction not supported on this GPU
135
136s_waitcnt_vscnt exec_hi, 0x1234
137// CHECK: error: instruction not supported on this GPU
138
139s_xnor_saveexec_b32 exec_hi, s1
140// CHECK: error: instruction not supported on this GPU
141
142s_xor_saveexec_b32 exec_hi, s1
143// CHECK: error: instruction not supported on this GPU
144
145v_accvgpr_read_b32 a0, a0
146// CHECK: error: instruction not supported on this GPU
147
148v_accvgpr_write_b32 a0, 65
149// CHECK: error: instruction not supported on this GPU
150
151v_add_co_ci_u32 v1, sext(v1), sext(v4) dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_0 src1_sel:DWORD
152// CHECK: error: instruction not supported on this GPU
153
154v_add_co_ci_u32_dpp v0, vcc, v0, v0, vcc dpp8:[7,6,5,4,3,2,1,0] fi:1
155// CHECK: error: instruction not supported on this GPU
156
157v_add_co_ci_u32_e32 v255, vcc, v1, v2, vcc
158// CHECK: error: instruction not supported on this GPU
159
160v_add_co_ci_u32_e64 v255, s12, v1, v2, s6
161// CHECK: error: instruction not supported on this GPU
162
163v_add_co_ci_u32_sdwa v1, v1, v4 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_0 src1_sel:DWORD
164// CHECK: error: instruction not supported on this GPU
165
166v_add_nc_i16 v255, v1, v2
167// CHECK: error: instruction not supported on this GPU
168
169v_add_nc_i32 v255, v1, v2
170// CHECK: error: instruction not supported on this GPU
171
172v_add_nc_u16 v255, v1, v2
173// CHECK: error: instruction not supported on this GPU
174
175v_add_nc_u32_dpp v5, v1, v2 dpp8:[7,6,5,4,3,2,1,0] fi:1
176// CHECK: error: instruction not supported on this GPU
177
178v_add_nc_u32_e32 v255, v1, v2
179// CHECK: error: instruction not supported on this GPU
180
181v_add_nc_u32_e64 v255, v1, v2
182// CHECK: error: instruction not supported on this GPU
183
184v_add_nc_u32_sdwa v255, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD
185// CHECK: error: instruction not supported on this GPU
186
187v_addc_u32 v0, vcc, exec_hi, v0, vcc
188// CHECK: error: instruction not supported on this GPU
189
190v_addc_u32_dpp v255, vcc, v1, v2, vcc quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0
191// CHECK: error: instruction not supported on this GPU
192
193v_addc_u32_e32 v1, -1, v2, v3, s0
194// CHECK: error: instruction not supported on this GPU
195
196v_addc_u32_e64 v0, s[0:1], s0, s0, s[0:1]
197// CHECK: error: instruction not supported on this GPU
198
199v_addc_u32_sdwa v1, vcc, v2, v3, vcc dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_1 src1_sel:BYTE_2
200// CHECK: error: instruction not supported on this GPU
201
202v_ashr_i32 v255, v1, v2
203// CHECK: error: instruction not supported on this GPU
204
205v_ashr_i32_e64 v255, v1, v2
206// CHECK: error: instruction not supported on this GPU
207
208v_ashr_i64 v[254:255], v[1:2], v2
209// CHECK: error: instruction not supported on this GPU
210
211v_cmps_eq_f32 vcc, -1, v2
212// CHECK: error: instruction not supported on this GPU
213
214v_cmps_eq_f32_e64 flat_scratch, v1, v2
215// CHECK: error: instruction not supported on this GPU
216
217v_cmps_eq_f64 vcc, -1, v[2:3]
218// CHECK: error: instruction not supported on this GPU
219
220v_cmps_eq_f64_e64 flat_scratch, v[1:2], v[2:3]
221// CHECK: error: instruction not supported on this GPU
222
223v_cmps_f_f32 vcc, -1, v2
224// CHECK: error: instruction not supported on this GPU
225
226v_cmps_f_f32_e64 flat_scratch, v1, v2
227// CHECK: error: instruction not supported on this GPU
228
229v_cmps_f_f64 vcc, -1, v[2:3]
230// CHECK: error: instruction not supported on this GPU
231
232v_cmps_f_f64_e64 flat_scratch, v[1:2], v[2:3]
233// CHECK: error: instruction not supported on this GPU
234
235v_cmps_ge_f32 vcc, -1, v2
236// CHECK: error: instruction not supported on this GPU
237
238v_cmps_ge_f32_e64 flat_scratch, v1, v2
239// CHECK: error: instruction not supported on this GPU
240
241v_cmps_ge_f64 vcc, -1, v[2:3]
242// CHECK: error: instruction not supported on this GPU
243
244v_cmps_ge_f64_e64 flat_scratch, v[1:2], v[2:3]
245// CHECK: error: instruction not supported on this GPU
246
247v_cmps_gt_f32 vcc, -1, v2
248// CHECK: error: instruction not supported on this GPU
249
250v_cmps_gt_f32_e64 flat_scratch, v1, v2
251// CHECK: error: instruction not supported on this GPU
252
253v_cmps_gt_f64 vcc, -1, v[2:3]
254// CHECK: error: instruction not supported on this GPU
255
256v_cmps_gt_f64_e64 flat_scratch, v[1:2], v[2:3]
257// CHECK: error: instruction not supported on this GPU
258
259v_cmps_le_f32 vcc, -1, v2
260// CHECK: error: instruction not supported on this GPU
261
262v_cmps_le_f32_e64 flat_scratch, v1, v2
263// CHECK: error: instruction not supported on this GPU
264
265v_cmps_le_f64 vcc, -1, v[2:3]
266// CHECK: error: instruction not supported on this GPU
267
268v_cmps_le_f64_e64 flat_scratch, v[1:2], v[2:3]
269// CHECK: error: instruction not supported on this GPU
270
271v_cmps_lg_f32 vcc, -1, v2
272// CHECK: error: instruction not supported on this GPU
273
274v_cmps_lg_f32_e64 flat_scratch, v1, v2
275// CHECK: error: instruction not supported on this GPU
276
277v_cmps_lg_f64 vcc, -1, v[2:3]
278// CHECK: error: instruction not supported on this GPU
279
280v_cmps_lg_f64_e64 flat_scratch, v[1:2], v[2:3]
281// CHECK: error: instruction not supported on this GPU
282
283v_cmps_lt_f32 vcc, -1, v2
284// CHECK: error: instruction not supported on this GPU
285
286v_cmps_lt_f32_e64 flat_scratch, v1, v2
287// CHECK: error: instruction not supported on this GPU
288
289v_cmps_lt_f64 vcc, -1, v[2:3]
290// CHECK: error: instruction not supported on this GPU
291
292v_cmps_lt_f64_e64 flat_scratch, v[1:2], v[2:3]
293// CHECK: error: instruction not supported on this GPU
294
295v_cmps_neq_f32 vcc, -1, v2
296// CHECK: error: instruction not supported on this GPU
297
298v_cmps_neq_f32_e64 flat_scratch, v1, v2
299// CHECK: error: instruction not supported on this GPU
300
301v_cmps_neq_f64 vcc, -1, v[2:3]
302// CHECK: error: instruction not supported on this GPU
303
304v_cmps_neq_f64_e64 flat_scratch, v[1:2], v[2:3]
305// CHECK: error: instruction not supported on this GPU
306
307v_cmps_nge_f32 vcc, -1, v2
308// CHECK: error: instruction not supported on this GPU
309
310v_cmps_nge_f32_e64 flat_scratch, v1, v2
311// CHECK: error: instruction not supported on this GPU
312
313v_cmps_nge_f64 vcc, -1, v[2:3]
314// CHECK: error: instruction not supported on this GPU
315
316v_cmps_nge_f64_e64 flat_scratch, v[1:2], v[2:3]
317// CHECK: error: instruction not supported on this GPU
318
319v_cmps_ngt_f32 vcc, -1, v2
320// CHECK: error: instruction not supported on this GPU
321
322v_cmps_ngt_f32_e64 flat_scratch, v1, v2
323// CHECK: error: instruction not supported on this GPU
324
325v_cmps_ngt_f64 vcc, -1, v[2:3]
326// CHECK: error: instruction not supported on this GPU
327
328v_cmps_ngt_f64_e64 flat_scratch, v[1:2], v[2:3]
329// CHECK: error: instruction not supported on this GPU
330
331v_cmps_nle_f32 vcc, -1, v2
332// CHECK: error: instruction not supported on this GPU
333
334v_cmps_nle_f32_e64 flat_scratch, v1, v2
335// CHECK: error: instruction not supported on this GPU
336
337v_cmps_nle_f64 vcc, -1, v[2:3]
338// CHECK: error: instruction not supported on this GPU
339
340v_cmps_nle_f64_e64 flat_scratch, v[1:2], v[2:3]
341// CHECK: error: instruction not supported on this GPU
342
343v_cmps_nlg_f32 vcc, -1, v2
344// CHECK: error: instruction not supported on this GPU
345
346v_cmps_nlg_f32_e64 flat_scratch, v1, v2
347// CHECK: error: instruction not supported on this GPU
348
349v_cmps_nlg_f64 vcc, -1, v[2:3]
350// CHECK: error: instruction not supported on this GPU
351
352v_cmps_nlg_f64_e64 flat_scratch, v[1:2], v[2:3]
353// CHECK: error: instruction not supported on this GPU
354
355v_cmps_nlt_f32 vcc, -1, v2
356// CHECK: error: instruction not supported on this GPU
357
358v_cmps_nlt_f32_e64 flat_scratch, v1, v2
359// CHECK: error: instruction not supported on this GPU
360
361v_cmps_nlt_f64 vcc, -1, v[2:3]
362// CHECK: error: instruction not supported on this GPU
363
364v_cmps_nlt_f64_e64 flat_scratch, v[1:2], v[2:3]
365// CHECK: error: instruction not supported on this GPU
366
367v_cmps_o_f32 vcc, -1, v2
368// CHECK: error: instruction not supported on this GPU
369
370v_cmps_o_f32_e64 flat_scratch, v1, v2
371// CHECK: error: instruction not supported on this GPU
372
373v_cmps_o_f64 vcc, -1, v[2:3]
374// CHECK: error: instruction not supported on this GPU
375
376v_cmps_o_f64_e64 flat_scratch, v[1:2], v[2:3]
377// CHECK: error: instruction not supported on this GPU
378
379v_cmps_tru_f32 vcc, -1, v2
380// CHECK: error: instruction not supported on this GPU
381
382v_cmps_tru_f32_e64 flat_scratch, v1, v2
383// CHECK: error: instruction not supported on this GPU
384
385v_cmps_tru_f64 vcc, -1, v[2:3]
386// CHECK: error: instruction not supported on this GPU
387
388v_cmps_tru_f64_e64 flat_scratch, v[1:2], v[2:3]
389// CHECK: error: instruction not supported on this GPU
390
391v_cmps_u_f32 vcc, -1, v2
392// CHECK: error: instruction not supported on this GPU
393
394v_cmps_u_f32_e64 flat_scratch, v1, v2
395// CHECK: error: instruction not supported on this GPU
396
397v_cmps_u_f64 vcc, -1, v[2:3]
398// CHECK: error: instruction not supported on this GPU
399
400v_cmps_u_f64_e64 flat_scratch, v[1:2], v[2:3]
401// CHECK: error: instruction not supported on this GPU
402
403v_cmpsx_eq_f32 vcc, -1, v2
404// CHECK: error: instruction not supported on this GPU
405
406v_cmpsx_eq_f32_e64 flat_scratch, v1, v2
407// CHECK: error: instruction not supported on this GPU
408
409v_cmpsx_eq_f64 vcc, -1, v[2:3]
410// CHECK: error: instruction not supported on this GPU
411
412v_cmpsx_eq_f64_e64 flat_scratch, v[1:2], v[2:3]
413// CHECK: error: instruction not supported on this GPU
414
415v_cmpsx_f_f32 vcc, -1, v2
416// CHECK: error: instruction not supported on this GPU
417
418v_cmpsx_f_f32_e64 flat_scratch, v1, v2
419// CHECK: error: instruction not supported on this GPU
420
421v_cmpsx_f_f64 vcc, -1, v[2:3]
422// CHECK: error: instruction not supported on this GPU
423
424v_cmpsx_f_f64_e64 flat_scratch, v[1:2], v[2:3]
425// CHECK: error: instruction not supported on this GPU
426
427v_cmpsx_ge_f32 vcc, -1, v2
428// CHECK: error: instruction not supported on this GPU
429
430v_cmpsx_ge_f32_e64 flat_scratch, v1, v2
431// CHECK: error: instruction not supported on this GPU
432
433v_cmpsx_ge_f64 vcc, -1, v[2:3]
434// CHECK: error: instruction not supported on this GPU
435
436v_cmpsx_ge_f64_e64 flat_scratch, v[1:2], v[2:3]
437// CHECK: error: instruction not supported on this GPU
438
439v_cmpsx_gt_f32 vcc, -1, v2
440// CHECK: error: instruction not supported on this GPU
441
442v_cmpsx_gt_f32_e64 flat_scratch, v1, v2
443// CHECK: error: instruction not supported on this GPU
444
445v_cmpsx_gt_f64 vcc, -1, v[2:3]
446// CHECK: error: instruction not supported on this GPU
447
448v_cmpsx_gt_f64_e64 flat_scratch, v[1:2], v[2:3]
449// CHECK: error: instruction not supported on this GPU
450
451v_cmpsx_le_f32 vcc, -1, v2
452// CHECK: error: instruction not supported on this GPU
453
454v_cmpsx_le_f32_e64 flat_scratch, v1, v2
455// CHECK: error: instruction not supported on this GPU
456
457v_cmpsx_le_f64 vcc, -1, v[2:3]
458// CHECK: error: instruction not supported on this GPU
459
460v_cmpsx_le_f64_e64 flat_scratch, v[1:2], v[2:3]
461// CHECK: error: instruction not supported on this GPU
462
463v_cmpsx_lg_f32 vcc, -1, v2
464// CHECK: error: instruction not supported on this GPU
465
466v_cmpsx_lg_f32_e64 flat_scratch, v1, v2
467// CHECK: error: instruction not supported on this GPU
468
469v_cmpsx_lg_f64 vcc, -1, v[2:3]
470// CHECK: error: instruction not supported on this GPU
471
472v_cmpsx_lg_f64_e64 flat_scratch, v[1:2], v[2:3]
473// CHECK: error: instruction not supported on this GPU
474
475v_cmpsx_lt_f32 vcc, -1, v2
476// CHECK: error: instruction not supported on this GPU
477
478v_cmpsx_lt_f32_e64 flat_scratch, v1, v2
479// CHECK: error: instruction not supported on this GPU
480
481v_cmpsx_lt_f64 vcc, -1, v[2:3]
482// CHECK: error: instruction not supported on this GPU
483
484v_cmpsx_lt_f64_e64 flat_scratch, v[1:2], v[2:3]
485// CHECK: error: instruction not supported on this GPU
486
487v_cmpsx_neq_f32 vcc, -1, v2
488// CHECK: error: instruction not supported on this GPU
489
490v_cmpsx_neq_f32_e64 flat_scratch, v1, v2
491// CHECK: error: instruction not supported on this GPU
492
493v_cmpsx_neq_f64 vcc, -1, v[2:3]
494// CHECK: error: instruction not supported on this GPU
495
496v_cmpsx_neq_f64_e64 flat_scratch, v[1:2], v[2:3]
497// CHECK: error: instruction not supported on this GPU
498
499v_cmpsx_nge_f32 vcc, -1, v2
500// CHECK: error: instruction not supported on this GPU
501
502v_cmpsx_nge_f32_e64 flat_scratch, v1, v2
503// CHECK: error: instruction not supported on this GPU
504
505v_cmpsx_nge_f64 vcc, -1, v[2:3]
506// CHECK: error: instruction not supported on this GPU
507
508v_cmpsx_nge_f64_e64 flat_scratch, v[1:2], v[2:3]
509// CHECK: error: instruction not supported on this GPU
510
511v_cmpsx_ngt_f32 vcc, -1, v2
512// CHECK: error: instruction not supported on this GPU
513
514v_cmpsx_ngt_f32_e64 flat_scratch, v1, v2
515// CHECK: error: instruction not supported on this GPU
516
517v_cmpsx_ngt_f64 vcc, -1, v[2:3]
518// CHECK: error: instruction not supported on this GPU
519
520v_cmpsx_ngt_f64_e64 flat_scratch, v[1:2], v[2:3]
521// CHECK: error: instruction not supported on this GPU
522
523v_cmpsx_nle_f32 vcc, -1, v2
524// CHECK: error: instruction not supported on this GPU
525
526v_cmpsx_nle_f32_e64 flat_scratch, v1, v2
527// CHECK: error: instruction not supported on this GPU
528
529v_cmpsx_nle_f64 vcc, -1, v[2:3]
530// CHECK: error: instruction not supported on this GPU
531
532v_cmpsx_nle_f64_e64 flat_scratch, v[1:2], v[2:3]
533// CHECK: error: instruction not supported on this GPU
534
535v_cmpsx_nlg_f32 vcc, -1, v2
536// CHECK: error: instruction not supported on this GPU
537
538v_cmpsx_nlg_f32_e64 flat_scratch, v1, v2
539// CHECK: error: instruction not supported on this GPU
540
541v_cmpsx_nlg_f64 vcc, -1, v[2:3]
542// CHECK: error: instruction not supported on this GPU
543
544v_cmpsx_nlg_f64_e64 flat_scratch, v[1:2], v[2:3]
545// CHECK: error: instruction not supported on this GPU
546
547v_cmpsx_nlt_f32 vcc, -1, v2
548// CHECK: error: instruction not supported on this GPU
549
550v_cmpsx_nlt_f32_e64 flat_scratch, v1, v2
551// CHECK: error: instruction not supported on this GPU
552
553v_cmpsx_nlt_f64 vcc, -1, v[2:3]
554// CHECK: error: instruction not supported on this GPU
555
556v_cmpsx_nlt_f64_e64 flat_scratch, v[1:2], v[2:3]
557// CHECK: error: instruction not supported on this GPU
558
559v_cmpsx_o_f32 vcc, -1, v2
560// CHECK: error: instruction not supported on this GPU
561
562v_cmpsx_o_f32_e64 flat_scratch, v1, v2
563// CHECK: error: instruction not supported on this GPU
564
565v_cmpsx_o_f64 vcc, -1, v[2:3]
566// CHECK: error: instruction not supported on this GPU
567
568v_cmpsx_o_f64_e64 flat_scratch, v[1:2], v[2:3]
569// CHECK: error: instruction not supported on this GPU
570
571v_cmpsx_tru_f32 vcc, -1, v2
572// CHECK: error: instruction not supported on this GPU
573
574v_cmpsx_tru_f32_e64 flat_scratch, v1, v2
575// CHECK: error: instruction not supported on this GPU
576
577v_cmpsx_tru_f64 vcc, -1, v[2:3]
578// CHECK: error: instruction not supported on this GPU
579
580v_cmpsx_tru_f64_e64 flat_scratch, v[1:2], v[2:3]
581// CHECK: error: instruction not supported on this GPU
582
583v_cmpsx_u_f32 vcc, -1, v2
584// CHECK: error: instruction not supported on this GPU
585
586v_cmpsx_u_f32_e64 flat_scratch, v1, v2
587// CHECK: error: instruction not supported on this GPU
588
589v_cmpsx_u_f64 vcc, -1, v[2:3]
590// CHECK: error: instruction not supported on this GPU
591
592v_cmpsx_u_f64_e64 flat_scratch, v[1:2], v[2:3]
593// CHECK: error: instruction not supported on this GPU
594
595v_dot2_f32_f16 v0, -v1, -v2, -v3
596// CHECK: error: instruction not supported on this GPU
597
598v_dot2_i32_i16 v0, -v1, -v2, -v3
599// CHECK: error: instruction not supported on this GPU
600
601v_dot2_u32_u16 v0, -v1, -v2, -v3
602// CHECK: error: instruction not supported on this GPU
603
604v_dot2c_f32_f16 v0, v1, v2
605// CHECK: error: instruction not supported on this GPU
606
607v_dot2c_f32_f16_dpp v255, v1, v2  quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0
608// CHECK: error: instruction not supported on this GPU
609
610v_dot2c_f32_f16_e32 v255, v1, v2
611// CHECK: error: instruction not supported on this GPU
612
613v_dot2c_i32_i16 v0, v1, v2
614// CHECK: error: instruction not supported on this GPU
615
616v_dot2c_i32_i16_dpp v255, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0
617// CHECK: error: instruction not supported on this GPU
618
619v_dot4_i32_i8 v0, v1, v2, v3
620// CHECK: error: instruction not supported on this GPU
621
622v_dot4_u32_u8 v0, v1, v2, v3
623// CHECK: error: instruction not supported on this GPU
624
625v_dot4c_i32_i8 v0, v1, v2
626// CHECK: error: instruction not supported on this GPU
627
628v_dot4c_i32_i8_dpp v255, v1, v2  quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0
629// CHECK: error: instruction not supported on this GPU
630
631v_dot4c_i32_i8_e32 v255, v1, v2
632// CHECK: error: instruction not supported on this GPU
633
634v_dot8_i32_i4 v0, v1, v2, v3
635// CHECK: error: instruction not supported on this GPU
636
637v_dot8_u32_u4 v0, v1, v2, v3
638// CHECK: error: instruction not supported on this GPU
639
640v_dot8c_i32_i4 v0, v1, v2
641// CHECK: error: instruction not supported on this GPU
642
643v_dot8c_i32_i4_dpp v255, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0
644// CHECK: error: instruction not supported on this GPU
645
646v_fma_mix_f32 v0, -abs(v1), v2, v3
647// CHECK: error: instruction not supported on this GPU
648
649v_fma_mixhi_f16 v0, -v1, abs(v2), -abs(v3)
650// CHECK: error: instruction not supported on this GPU
651
652v_fma_mixlo_f16 v0, abs(v1), -v2, abs(v3)
653// CHECK: error: instruction not supported on this GPU
654
655v_fmaak_f32 v255, v1, v2, 0x1121
656// CHECK: error: instruction not supported on this GPU
657
658v_fmac_f16 v5, 0x1234, v2
659// CHECK: error: instruction not supported on this GPU
660
661v_fmac_f16_dpp v5, v1, v2 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0
662// CHECK: error: instruction not supported on this GPU
663
664v_fmac_f16_e32 v255, v1, v2
665// CHECK: error: instruction not supported on this GPU
666
667v_fmac_f16_e64 v255, v1, v2
668// CHECK: error: instruction not supported on this GPU
669
670v_fmac_f32 v0, v1, v2
671// CHECK: error: instruction not supported on this GPU
672
673v_fmac_f32_dpp v255, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0
674// CHECK: error: instruction not supported on this GPU
675
676v_fmac_f32_e32 v255, v1, v2
677// CHECK: error: instruction not supported on this GPU
678
679v_fmac_f32_e64 v255, v1, v2
680// CHECK: error: instruction not supported on this GPU
681
682v_fmamk_f32 v255, v1, 0x1121, v3
683// CHECK: error: instruction not supported on this GPU
684
685v_log_clamp_f32 v1, 0.5
686// CHECK: error: instruction not supported on this GPU
687
688v_log_clamp_f32_e64 v255, v1
689// CHECK: error: instruction not supported on this GPU
690
691v_lshl_b32 v255, v1, v2
692// CHECK: error: instruction not supported on this GPU
693
694v_lshl_b32_e64 v255, v1, v2
695// CHECK: error: instruction not supported on this GPU
696
697v_lshl_b64 v[254:255], v[1:2], v2
698// CHECK: error: instruction not supported on this GPU
699
700v_lshr_b32 v255, v1, v2
701// CHECK: error: instruction not supported on this GPU
702
703v_lshr_b32_e64 v255, v1, v2
704// CHECK: error: instruction not supported on this GPU
705
706v_lshr_b64 v[254:255], v[1:2], v2
707// CHECK: error: instruction not supported on this GPU
708
709v_mac_legacy_f32 v0, v1, v2
710// CHECK: error: instruction not supported on this GPU
711
712v_mac_legacy_f32_e32 v255, v1, v2
713// CHECK: error: instruction not supported on this GPU
714
715v_mac_legacy_f32_e64 v255, v1, v2
716// CHECK: error: instruction not supported on this GPU
717
718v_max_legacy_f32 v255, v1, v2
719// CHECK: error: instruction not supported on this GPU
720
721v_max_legacy_f32_e64 v255, v1, v2
722// CHECK: error: instruction not supported on this GPU
723
724v_mfma_f32_16x16x16f16 a[0:3], a[0:1], a[1:2], -2.0
725// CHECK: error: instruction not supported on this GPU
726
727v_mfma_f32_16x16x1f32 a[0:15], a0, a1, -2.0
728// CHECK: error: instruction not supported on this GPU
729
730v_mfma_f32_16x16x2bf16 a[0:15], a0, a1, -2.0
731// CHECK: error: instruction not supported on this GPU
732
733v_mfma_f32_16x16x4f16 a[0:15], a[0:1], a[1:2], -2.0
734// CHECK: error: instruction not supported on this GPU
735
736v_mfma_f32_16x16x4f32 a[0:3], a0, a1, -2.0
737// CHECK: error: instruction not supported on this GPU
738
739v_mfma_f32_16x16x8bf16 a[0:3], a0, a1, -2.0
740// CHECK: error: instruction not supported on this GPU
741
742v_mfma_f32_32x32x1f32 a[0:31], 1, v1, a[1:32]
743// CHECK: error: instruction not supported on this GPU
744
745v_mfma_f32_32x32x2bf16 a[0:31], a0, a1, -2.0
746// CHECK: error: instruction not supported on this GPU
747
748v_mfma_f32_32x32x2f32 a[0:15], a0, a1, -2.0
749// CHECK: error: instruction not supported on this GPU
750
751v_mfma_f32_32x32x4bf16 a[0:15], a0, a1, -2.0
752// CHECK: error: instruction not supported on this GPU
753
754v_mfma_f32_32x32x4f16 a[0:31], a[0:1], a[1:2], -2.0
755// CHECK: error: instruction not supported on this GPU
756
757v_mfma_f32_32x32x8f16 a[0:15], a[0:1], a[1:2], -2.0
758// CHECK: error: instruction not supported on this GPU
759
760v_mfma_f32_4x4x1f32 a[0:3], a0, a1, -2.0
761// CHECK: error: instruction not supported on this GPU
762
763v_mfma_f32_4x4x2bf16 a[0:3], a0, a1, -2.0
764// CHECK: error: instruction not supported on this GPU
765
766v_mfma_f32_4x4x4f16 a[0:3], a[0:1], a[1:2], -2.0
767// CHECK: error: instruction not supported on this GPU
768
769v_mfma_i32_16x16x16i8 a[0:3], a0, a1, 2
770// CHECK: error: instruction not supported on this GPU
771
772v_mfma_i32_16x16x4i8 a[0:15], a0, a1, 2
773// CHECK: error: instruction not supported on this GPU
774
775v_mfma_i32_32x32x4i8 a[0:31], a0, a1, 2
776// CHECK: error: instruction not supported on this GPU
777
778v_mfma_i32_32x32x8i8 a[0:15], a0, a1, 2
779// CHECK: error: instruction not supported on this GPU
780
781v_mfma_i32_4x4x4i8 a[0:3], a0, a1, 2
782// CHECK: error: instruction not supported on this GPU
783
784v_min_legacy_f32 v255, v1, v2
785// CHECK: error: instruction not supported on this GPU
786
787v_min_legacy_f32_e64 v255, v1, v2
788// CHECK: error: instruction not supported on this GPU
789
790v_movreld_b32 v0, 123
791// CHECK: error: instruction not supported on this GPU
792
793v_movreld_b32_dpp v1, v0 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0
794// CHECK: error: instruction not supported on this GPU
795
796v_movreld_b32_e32 v1, v2
797// CHECK: error: instruction not supported on this GPU
798
799v_movreld_b32_e64 v0, flat_scratch_hi
800// CHECK: error: instruction not supported on this GPU
801
802v_movreld_b32_sdwa v0, 64 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD
803// CHECK: error: instruction not supported on this GPU
804
805v_movrels_b32 v0, v2 dpp8:[0,0,0,0,0,0,0,0]
806// CHECK: error: instruction not supported on this GPU
807
808v_movrels_b32_dpp v1, v0 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 fi:1
809// CHECK: error: instruction not supported on this GPU
810
811v_movrels_b32_e32 v1, v2
812// CHECK: error: instruction not supported on this GPU
813
814v_movrels_b32_e64 v255, v1
815// CHECK: error: instruction not supported on this GPU
816
817v_movrels_b32_sdwa v0, 1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD
818// CHECK: error: instruction not supported on this GPU
819
820v_movrelsd_2_b32 v0, v255 dpp8:[7,6,5,4,3,2,1,0]
821// CHECK: error: instruction not supported on this GPU
822
823v_movrelsd_2_b32_dpp v0, v2 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0
824// CHECK: error: instruction not supported on this GPU
825
826v_movrelsd_2_b32_e32 v5, 1
827// CHECK: error: instruction not supported on this GPU
828
829v_movrelsd_2_b32_e64 v255, v1
830// CHECK: error: instruction not supported on this GPU
831
832v_movrelsd_2_b32_sdwa v0, 0 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD
833// CHECK: error: instruction not supported on this GPU
834
835v_movrelsd_b32 v0, v2 dpp8:[7,6,5,4,3,2,1,0]
836// CHECK: error: instruction not supported on this GPU
837
838v_movrelsd_b32_dpp v0, v255 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0
839// CHECK: error: instruction not supported on this GPU
840
841v_movrelsd_b32_e32 v1, s2
842// CHECK: error: instruction not supported on this GPU
843
844v_movrelsd_b32_e64 v255, v1
845// CHECK: error: instruction not supported on this GPU
846
847v_movrelsd_b32_sdwa v0, 1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD
848// CHECK: error: instruction not supported on this GPU
849
850v_mullit_f32 v255, v1, v2, v3
851// CHECK: error: instruction not supported on this GPU
852
853v_permlane16_b32 v0, lds_direct, s0, s0
854// CHECK: error: instruction not supported on this GPU
855
856v_permlanex16_b32 v0, lds_direct, s0, s0
857// CHECK: error: instruction not supported on this GPU
858
859v_pipeflush
860// CHECK: error: instruction not supported on this GPU
861
862v_pipeflush_e64
863// CHECK: error: instruction not supported on this GPU
864
865v_pk_fmac_f16 v0, v1, v2
866// CHECK: error: instruction not supported on this GPU
867
868v_rcp_clamp_f32 v255, v1
869// CHECK: error: instruction not supported on this GPU
870
871v_rcp_clamp_f32_e64 v255, v1
872// CHECK: error: instruction not supported on this GPU
873
874v_rcp_clamp_f64 v[254:255], v[1:2]
875// CHECK: error: instruction not supported on this GPU
876
877v_rcp_clamp_f64_e64 v[254:255], v[1:2]
878// CHECK: error: instruction not supported on this GPU
879
880v_rcp_legacy_f32 v255, v1
881// CHECK: error: instruction not supported on this GPU
882
883v_rcp_legacy_f32_e64 v255, v1
884// CHECK: error: instruction not supported on this GPU
885
886v_rsq_clamp_f32 v255, v1
887// CHECK: error: instruction not supported on this GPU
888
889v_rsq_clamp_f32_e64 v255, v1
890// CHECK: error: instruction not supported on this GPU
891
892v_rsq_clamp_f64 v[254:255], v[1:2]
893// CHECK: error: instruction not supported on this GPU
894
895v_rsq_clamp_f64_e64 v[254:255], v[1:2]
896// CHECK: error: instruction not supported on this GPU
897
898v_rsq_legacy_f32 v255, v1
899// CHECK: error: instruction not supported on this GPU
900
901v_rsq_legacy_f32_e64 v255, v1
902// CHECK: error: instruction not supported on this GPU
903
904v_sub_co_ci_u32_dpp v0, vcc, v0, v0, vcc dpp8:[7,6,5,4,3,2,1,0] fi:1
905// CHECK: error: instruction not supported on this GPU
906
907v_sub_co_ci_u32_e32 v255, vcc, v1, v2, vcc
908// CHECK: error: instruction not supported on this GPU
909
910v_sub_co_ci_u32_e64 v255, s12, v1, v2, s6
911// CHECK: error: instruction not supported on this GPU
912
913v_sub_co_ci_u32_sdwa v1, v1, v4 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_0 src1_sel:DWORD
914// CHECK: error: instruction not supported on this GPU
915
916v_sub_nc_i16 v255, v1, v2
917// CHECK: error: instruction not supported on this GPU
918
919v_sub_nc_i32 v255, v1, v2
920// CHECK: error: instruction not supported on this GPU
921
922v_sub_nc_u16 v255, v1, v2
923// CHECK: error: instruction not supported on this GPU
924
925v_sub_nc_u32_dpp v5, v1, v2 dpp8:[7,6,5,4,3,2,1,0]
926// CHECK: error: instruction not supported on this GPU
927
928v_sub_nc_u32_e32 v255, v1, v2
929// CHECK: error: instruction not supported on this GPU
930
931v_sub_nc_u32_e64 v255, v1, v2
932// CHECK: error: instruction not supported on this GPU
933
934v_sub_nc_u32_sdwa v255, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD
935// CHECK: error: instruction not supported on this GPU
936
937v_subb_u32 v1, s[0:1], v2, v3, vcc
938// CHECK: error: instruction not supported on this GPU
939
940v_subb_u32_dpp v255, vcc, v1, v2, vcc quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0
941// CHECK: error: instruction not supported on this GPU
942
943v_subb_u32_e64 v255, s[12:13], v1, v2, s[6:7]
944// CHECK: error: instruction not supported on this GPU
945
946v_subb_u32_sdwa v1, vcc, v2, v3, vcc dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_1 src1_sel:BYTE_2
947// CHECK: error: instruction not supported on this GPU
948
949v_subbrev_u32 v1, s[0:1], v2, v3, vcc
950// CHECK: error: instruction not supported on this GPU
951
952v_subbrev_u32_dpp v255, vcc, v1, v2, vcc quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0
953// CHECK: error: instruction not supported on this GPU
954
955v_subbrev_u32_e64 v255, s[12:13], v1, v2, s[6:7]
956// CHECK: error: instruction not supported on this GPU
957
958v_subbrev_u32_sdwa v1, vcc, v2, v3, vcc dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_1 src1_sel:BYTE_2
959// CHECK: error: instruction not supported on this GPU
960
961v_subrev_co_ci_u32 v0, vcc_lo, src_lds_direct, v0, vcc_lo
962// CHECK: error: instruction not supported on this GPU
963
964v_subrev_co_ci_u32_dpp v0, vcc, v0, v0, vcc dpp8:[7,6,5,4,3,2,1,0]
965// CHECK: error: instruction not supported on this GPU
966
967v_subrev_co_ci_u32_e32 v1, 0, v1
968// CHECK: error: instruction not supported on this GPU
969
970v_subrev_co_ci_u32_e64 v255, s12, v1, v2, s6
971// CHECK: error: instruction not supported on this GPU
972
973v_subrev_co_ci_u32_sdwa v1, v1, v4 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_0 src1_sel:DWORD
974// CHECK: error: instruction not supported on this GPU
975
976v_subrev_i32 v1, s[0:1], v2, v3
977// CHECK: error: instruction not supported on this GPU
978
979v_subrev_i32_e64 v255, s[12:13], v1, v2
980// CHECK: error: instruction not supported on this GPU
981
982v_subrev_nc_u32 v0, src_lds_direct, v0
983// CHECK: error: instruction not supported on this GPU
984
985v_subrev_nc_u32_dpp v5, v1, v2 dpp8:[7,6,5,4,3,2,1,0] fi:1
986// CHECK: error: instruction not supported on this GPU
987
988v_subrev_nc_u32_e32 v255, v1, v2
989// CHECK: error: instruction not supported on this GPU
990
991v_subrev_nc_u32_e64 v255, v1, v2
992// CHECK: error: instruction not supported on this GPU
993
994v_subrev_nc_u32_sdwa v255, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD
995// CHECK: error: instruction not supported on this GPU
996
997v_swaprel_b32 v255, v1
998// CHECK: error: instruction not supported on this GPU
999
1000v_xnor_b32 v0, v1, v2
1001// CHECK: error: instruction not supported on this GPU
1002
1003v_xnor_b32_dpp v255, v1, v2  quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0
1004// CHECK: error: instruction not supported on this GPU
1005
1006v_xnor_b32_e32 v255, v1, v2
1007// CHECK: error: instruction not supported on this GPU
1008
1009v_xnor_b32_e64 v255, v1, v2
1010// CHECK: error: instruction not supported on this GPU
1011
1012v_xnor_b32_sdwa v255, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD
1013// CHECK: error: instruction not supported on this GPU
1014
1015v_xor3_b32 v255, v1, v2, v3
1016// CHECK: error: instruction not supported on this GPU
1017
1018//===----------------------------------------------------------------------===//
1019// Unsupported e32 variants.
1020//===----------------------------------------------------------------------===//
1021
1022v_add_i32_e32 v0, vcc, 0.5, v0
1023// CHECK: error: e32 variant of this instruction is not supported
1024
1025v_cvt_pkrtz_f16_f32_e32 v255, v1, v2
1026// CHECK: error: e32 variant of this instruction is not supported
1027
1028//===----------------------------------------------------------------------===//
1029// Unsupported e64 variants.
1030//===----------------------------------------------------------------------===//
1031
1032v_swap_b32_e64 v1, v2
1033// CHECK: error: e64 variant of this instruction is not supported
1034
1035//===----------------------------------------------------------------------===//
1036// Unsupported sdwa variants.
1037//===----------------------------------------------------------------------===//
1038
1039v_mac_f16_sdwa v255, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD
1040// CHECK: error: sdwa variant of this instruction is not supported
1041
1042v_mac_f32_sdwa v255, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD
1043// CHECK: error: sdwa variant of this instruction is not supported
1044