[Frontend] Remove unused includes (NFC) (#116927)
[llvm-project.git] / llvm / test / MC / AMDGPU / gfx1030_err.s
blob51498d3c86d7fe31cb9975336baf4fe01aa2045d
1 // RUN: not llvm-mc -triple=amdgcn -mcpu=gfx1030 %s 2>&1 | FileCheck --check-prefix=GFX10 --implicit-check-not=error: %s
2 // RUN: not llvm-mc -triple=amdgcn -mcpu=gfx1031 %s 2>&1 | FileCheck --check-prefix=GFX10 --implicit-check-not=error: %s
3 // RUN: not llvm-mc -triple=amdgcn -mcpu=gfx1032 %s 2>&1 | FileCheck --check-prefix=GFX10 --implicit-check-not=error: %s
4 // RUN: not llvm-mc -triple=amdgcn -mcpu=gfx1033 %s 2>&1 | FileCheck --check-prefix=GFX10 --implicit-check-not=error: %s
5 // RUN: not llvm-mc -triple=amdgcn -mcpu=gfx1034 %s 2>&1 | FileCheck --check-prefix=GFX10 --implicit-check-not=error: %s
6 // RUN: not llvm-mc -triple=amdgcn -mcpu=gfx1035 %s 2>&1 | FileCheck --check-prefix=GFX10 --implicit-check-not=error: %s
7 // RUN: not llvm-mc -triple=amdgcn -mcpu=gfx1036 %s 2>&1 | FileCheck --check-prefix=GFX10 --implicit-check-not=error: %s
9 v_dot8c_i32_i4 v5, v1, v2
10 // GFX10: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
12 v_dot8c_i32_i4 v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0
13 // GFX10: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
15 v_dot8c_i32_i4 v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 fi:1
16 // GFX10: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
18 v_dot8c_i32_i4 v5, v1, v2 dpp8:[7,6,5,4,3,2,1,0]
19 // GFX10: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
21 v_dot8c_i32_i4 v5, v1, v2 dpp8:[7,6,5,4,3,2,1,0] fi:1
22 // GFX10: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
24 s_get_waveid_in_workgroup s0
25 // GFX10: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
27 s_getreg_b32 s2, hwreg(HW_REG_XNACK_MASK)
28 // GFX10: :[[@LINE-1]]:{{[0-9]+}}: error: invalid hardware register: not supported on this GPU
30 v_mac_f32 v0, v1, v2
31 // GFX10: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
33 v_mad_f32 v0, v1, v2, v3
34 // GFX10: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
36 v_madak_f32 v0, v1, v2, 1
37 // GFX10: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
39 v_madmk_f32 v0, v1, 1, v2
40 // GFX10: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
42 v_mad_legacy_f32 v0, v1, v2, v3
43 // GFX10: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
45 v_mac_legacy_f32 v0, v1, v2
46 // GFX10: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
48 ds_add_src2_u32 v1 offset:65535 gds
49 // GFX10: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
51 ds_add_src2_u32 v1 offset:65535
52 // GFX10: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
54 ds_add_src2_f32 v1 offset:65535
55 // GFX10: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
57 ds_sub_src2_u32 v1 offset:65535
58 // GFX10: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
60 ds_rsub_src2_u32 v1 offset:65535
61 // GFX10: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
63 ds_inc_src2_u32 v1 offset:65535
64 // GFX10: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
66 ds_dec_src2_u32 v1 offset:65535
67 // GFX10: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
69 ds_min_src2_i32 v1 offset:65535
70 // GFX10: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
72 ds_max_src2_i32 v1 offset:65535
73 // GFX10: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
75 ds_min_src2_u32 v1 offset:65535
76 // GFX10: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
78 ds_max_src2_u32 v1 offset:65535
79 // GFX10: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
81 ds_and_src2_b32 v1 offset:65535
82 // GFX10: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
84 ds_or_src2_b32 v1 offset:65535
85 // GFX10: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
87 ds_xor_src2_b32 v1 offset:65535
88 // GFX10: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
90 ds_min_src2_f32 v1 offset:65535
91 // GFX10: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
93 ds_max_src2_f32 v1 offset:65535
94 // GFX10: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
96 ds_add_src2_u64 v1 offset:65535
97 // GFX10: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
99 ds_sub_src2_u64 v1 offset:65535
100 // GFX10: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
102 ds_rsub_src2_u64 v1 offset:65535
103 // GFX10: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
105 ds_inc_src2_u64 v1 offset:65535
106 // GFX10: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
108 ds_dec_src2_u64 v1 offset:65535
109 // GFX10: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
111 ds_min_src2_i64 v1 offset:65535
112 // GFX10: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
114 ds_max_src2_i64 v1 offset:65535
115 // GFX10: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
117 ds_min_src2_u64 v1 offset:65535
118 // GFX10: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
120 ds_max_src2_u64 v1 offset:65535
121 // GFX10: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
123 ds_and_src2_b64 v1 offset:65535
124 // GFX10: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
126 ds_or_src2_b64 v1 offset:65535
127 // GFX10: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
129 ds_xor_src2_b64 v1 offset:65535
130 // GFX10: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
132 ds_min_src2_f64 v1 offset:65535
133 // GFX10: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
135 ds_max_src2_f64 v1 offset:65535
136 // GFX10: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
138 ds_write_src2_b32 v1 offset:65535
139 // GFX10: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
141 ds_write_src2_b64 v1 offset:65535
142 // GFX10: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
144 image_msaa_load v[1:4], v5, s[8:15] dmask:0xf dim:SQ_RSRC_IMG_1D
145 // GFX10: :[[@LINE-1]]:{{[0-9]+}}: error: invalid dim; must be MSAA type
147 image_msaa_load v5, v[1:2], s[8:15] dmask:0x1 dim:SQ_RSRC_IMG_2D d16
148 // GFX10: :[[@LINE-1]]:{{[0-9]+}}: error: invalid dim; must be MSAA type
150 //===----------------------------------------------------------------------===//
151 // s_waitcnt_depctr.
152 //===----------------------------------------------------------------------===//
154 s_waitcnt_depctr depctr_hold_cnt(-1)
155 // GFX10: :[[@LINE-1]]:{{[0-9]+}}: error: invalid value for depctr_hold_cnt
157 s_waitcnt_depctr depctr_sa_sdst(-1)
158 // GFX10: :[[@LINE-1]]:{{[0-9]+}}: error: invalid value for depctr_sa_sdst
160 s_waitcnt_depctr depctr_va_vdst(-1)
161 // GFX10: :[[@LINE-1]]:{{[0-9]+}}: error: invalid value for depctr_va_vdst
163 s_waitcnt_depctr depctr_va_sdst(-1)
164 // GFX10: :[[@LINE-1]]:{{[0-9]+}}: error: invalid value for depctr_va_sdst
166 s_waitcnt_depctr depctr_va_ssrc(-1)
167 // GFX10: :[[@LINE-1]]:{{[0-9]+}}: error: invalid value for depctr_va_ssrc
169 s_waitcnt_depctr depctr_va_vcc(-1)
170 // GFX10: :[[@LINE-1]]:{{[0-9]+}}: error: invalid value for depctr_va_vcc
172 s_waitcnt_depctr depctr_vm_vsrc(-1)
173 // GFX10: :[[@LINE-1]]:{{[0-9]+}}: error: invalid value for depctr_vm_vsrc
175 s_waitcnt_depctr depctr_hold_cnt(2)
176 // GFX10: :[[@LINE-1]]:{{[0-9]+}}: error: invalid value for depctr_hold_cnt
178 s_waitcnt_depctr depctr_sa_sdst(2)
179 // GFX10: :[[@LINE-1]]:{{[0-9]+}}: error: invalid value for depctr_sa_sdst
181 s_waitcnt_depctr depctr_va_vdst(16)
182 // GFX10: :[[@LINE-1]]:{{[0-9]+}}: error: invalid value for depctr_va_vdst
184 s_waitcnt_depctr depctr_va_sdst(8)
185 // GFX10: :[[@LINE-1]]:{{[0-9]+}}: error: invalid value for depctr_va_sdst
187 s_waitcnt_depctr depctr_va_ssrc(2)
188 // GFX10: :[[@LINE-1]]:{{[0-9]+}}: error: invalid value for depctr_va_ssrc
190 s_waitcnt_depctr depctr_va_vcc(2)
191 // GFX10: :[[@LINE-1]]:{{[0-9]+}}: error: invalid value for depctr_va_vcc
193 s_waitcnt_depctr depctr_vm_vsrc(8)
194 // GFX10: :[[@LINE-1]]:{{[0-9]+}}: error: invalid value for depctr_vm_vsrc
196 s_waitcnt_depctr depctr_vm_(8)
197 // GFX10: :[[@LINE-1]]:{{[0-9]+}}: error: invalid counter name depctr_vm_
199 s_waitcnt_depctr depctr_hold_cnt(0) depctr_hold_cnt(0)
200 // GFX10: :[[@LINE-1]]:{{[0-9]+}}: error: duplicate counter name depctr_hold_cnt
202 s_waitcnt_depctr depctr_sa_sdst(0) depctr_sa_sdst(0)
203 // GFX10: :[[@LINE-1]]:{{[0-9]+}}: error: duplicate counter name depctr_sa_sdst
205 image_bvh_intersect_ray v[4:7], v[9:16], s[4:7] noa16
206 // GFX10: :[[@LINE-1]]:{{[0-9]+}}: error: image address size does not match a16
208 image_bvh_intersect_ray v[39:42], [v50, v46, v23, v17, v16, v15, v21, v20], s[12:15] noa16
209 // GFX10: :[[@LINE-1]]:{{[0-9]+}}: error: image address size does not match a16
211 // missing dim
212 image_msaa_load v[1:4], v[5:7], s[8:15] dmask:0xf glc
213 // GFX10: :[[@LINE-1]]:{{[0-9]+}}: error: missing dim operand