1 // RUN
: not llvm-mc
-arch
=amdgcn
-mcpu
=gfx1030
%s
2>&1 | FileCheck
--check-prefix
=GFX10
--implicit-check-
not=error
: %s
2 // RUN
: not llvm-mc
-arch
=amdgcn
-mcpu
=gfx1031
%s
2>&1 | FileCheck
--check-prefix
=GFX10
--implicit-check-
not=error
: %s
3 // RUN
: not llvm-mc
-arch
=amdgcn
-mcpu
=gfx1032
%s
2>&1 | FileCheck
--check-prefix
=GFX10
--implicit-check-
not=error
: %s
4 // RUN
: not llvm-mc
-arch
=amdgcn
-mcpu
=gfx1033
%s
2>&1 | FileCheck
--check-prefix
=GFX10
--implicit-check-
not=error
: %s
5 // RUN
: not llvm-mc
-arch
=amdgcn
-mcpu
=gfx1034
%s
2>&1 | FileCheck
--check-prefix
=GFX10
--implicit-check-
not=error
: %s
6 // RUN
: not llvm-mc
-arch
=amdgcn
-mcpu
=gfx1035
%s
2>&1 | FileCheck
--check-prefix
=GFX10
--implicit-check-
not=error
: %s
8 v_dot8c_i32_i4 v5
, v1
, v2
9 // GFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: instruction
not supported on this GPU
11 v_dot8c_i32_i4 v5
, v1
, v2 quad_perm
:[0,1,2,3] row_mask
:0x0 bank_mask
:0x0
12 // GFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: instruction
not supported on this GPU
14 v_dot8c_i32_i4 v5
, v1
, v2 quad_perm
:[0,1,2,3] row_mask
:0x0 bank_mask
:0x0 fi
:1
15 // GFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: instruction
not supported on this GPU
17 v_dot8c_i32_i4 v5
, v1
, v2 dpp8
:[7,6,5,4,3,2,1,0]
18 // GFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: instruction
not supported on this GPU
20 v_dot8c_i32_i4 v5
, v1
, v2 dpp8
:[7,6,5,4,3,2,1,0] fi
:1
21 // GFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: instruction
not supported on this GPU
23 s_get_waveid_in_workgroup s0
24 // GFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: instruction
not supported on this GPU
26 s_getreg_b32 s2
, hwreg
(HW_REG_XNACK_MASK
)
27 // GFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: specified hardware register is
not supported on this GPU
30 // GFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: instruction
not supported on this GPU
32 v_mad_f32 v0
, v1
, v2
, v3
33 // GFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: instruction
not supported on this GPU
35 v_madak_f32 v0
, v1
, v2
, 1
36 // GFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: instruction
not supported on this GPU
38 v_madmk_f32 v0
, v1
, 1, v2
39 // GFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: instruction
not supported on this GPU
41 v_mad_legacy_f32 v0
, v1
, v2
, v3
42 // GFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: instruction
not supported on this GPU
44 v_mac_legacy_f32 v0
, v1
, v2
45 // GFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: instruction
not supported on this GPU
47 ds_add_src2_u32 v1 offset
:65535 gds
48 // GFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: instruction
not supported on this GPU
50 ds_add_src2_u32 v1 offset
:65535
51 // GFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: instruction
not supported on this GPU
53 ds_add_src2_f32 v1 offset
:65535
54 // GFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: instruction
not supported on this GPU
56 ds_sub_src2_u32 v1 offset
:65535
57 // GFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: instruction
not supported on this GPU
59 ds_rsub_src2_u32 v1 offset
:65535
60 // GFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: instruction
not supported on this GPU
62 ds_inc_src2_u32 v1 offset
:65535
63 // GFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: instruction
not supported on this GPU
65 ds_dec_src2_u32 v1 offset
:65535
66 // GFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: instruction
not supported on this GPU
68 ds_min_src2_i32 v1 offset
:65535
69 // GFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: instruction
not supported on this GPU
71 ds_max_src2_i32 v1 offset
:65535
72 // GFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: instruction
not supported on this GPU
74 ds_min_src2_u32 v1 offset
:65535
75 // GFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: instruction
not supported on this GPU
77 ds_max_src2_u32 v1 offset
:65535
78 // GFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: instruction
not supported on this GPU
80 ds_and_src2_b32 v1 offset
:65535
81 // GFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: instruction
not supported on this GPU
83 ds_or_src2_b32 v1 offset
:65535
84 // GFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: instruction
not supported on this GPU
86 ds_xor_src2_b32 v1 offset
:65535
87 // GFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: instruction
not supported on this GPU
89 ds_min_src2_f32 v1 offset
:65535
90 // GFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: instruction
not supported on this GPU
92 ds_max_src2_f32 v1 offset
:65535
93 // GFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: instruction
not supported on this GPU
95 ds_add_src2_u64 v1 offset
:65535
96 // GFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: instruction
not supported on this GPU
98 ds_sub_src2_u64 v1 offset
:65535
99 // GFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: instruction
not supported on this GPU
101 ds_rsub_src2_u64 v1 offset
:65535
102 // GFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: instruction
not supported on this GPU
104 ds_inc_src2_u64 v1 offset
:65535
105 // GFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: instruction
not supported on this GPU
107 ds_dec_src2_u64 v1 offset
:65535
108 // GFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: instruction
not supported on this GPU
110 ds_min_src2_i64 v1 offset
:65535
111 // GFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: instruction
not supported on this GPU
113 ds_max_src2_i64 v1 offset
:65535
114 // GFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: instruction
not supported on this GPU
116 ds_min_src2_u64 v1 offset
:65535
117 // GFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: instruction
not supported on this GPU
119 ds_max_src2_u64 v1 offset
:65535
120 // GFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: instruction
not supported on this GPU
122 ds_and_src2_b64 v1 offset
:65535
123 // GFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: instruction
not supported on this GPU
125 ds_or_src2_b64 v1 offset
:65535
126 // GFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: instruction
not supported on this GPU
128 ds_xor_src2_b64 v1 offset
:65535
129 // GFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: instruction
not supported on this GPU
131 ds_min_src2_f64 v1 offset
:65535
132 // GFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: instruction
not supported on this GPU
134 ds_max_src2_f64 v1 offset
:65535
135 // GFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: instruction
not supported on this GPU
137 ds_write_src2_b32 v1 offset
:65535
138 // GFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: instruction
not supported on this GPU
140 ds_write_src2_b64 v1 offset
:65535
141 // GFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: instruction
not supported on this GPU
143 buffer_atomic_csub v5
, off
, s
[8:11], s3 offset
:4095
144 // GFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: instruction must use glc
146 global_atomic_csub v2
, v
[0:1], v2
, off offset
:100 slc
147 // GFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: instruction must use glc
149 image_msaa_load v
[1:4], v5
, s
[8:15] dmask
:0xf dim
:SQ_RSRC_IMG_1D
150 // GFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: invalid dim; must
be MSAA type
152 image_msaa_load v5
, v
[1:2], s
[8:15] dmask
:0x1 dim
:SQ_RSRC_IMG_2D d16
153 // GFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: invalid dim; must
be MSAA type