Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / llvm / test / MC / AMDGPU / gfx11_asm_vop2_t16_err.s
blob12697dfe259fde9c3671b575b17810f17e9867f7
1 // RUN: not llvm-mc -triple=amdgcn -mcpu=gfx1100 -mattr=+wavefrontsize32,-wavefrontsize64 -show-encoding %s 2>&1 | FileCheck --check-prefix=GFX11 --implicit-check-not=error: %s
2 // RUN: not llvm-mc -triple=amdgcn -mcpu=gfx1100 -mattr=-wavefrontsize32,+wavefrontsize64 -show-encoding %s 2>&1 | FileCheck --check-prefix=GFX11 --implicit-check-not=error: %s
4 v_add_f16_e32 v255, v1, v2
5 // GFX11: :[[@LINE-1]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode
7 v_fmaak_f16_e32 v255, v1, v2, 0xfe0b
8 // GFX11: :[[@LINE-1]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode
10 v_fmac_f16_e32 v255, v1, v2
11 // GFX11: :[[@LINE-1]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode
13 v_fmamk_f16_e32 v255, v1, 0xfe0b, v3
14 // GFX11: :[[@LINE-1]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode
16 v_ldexp_f16_e32 v255, v1, v2
17 // GFX11: :[[@LINE-1]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode
19 v_max_f16_e32 v255, v1, v2
20 // GFX11: :[[@LINE-1]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode
22 v_min_f16_e32 v255, v1, v2
23 // GFX11: :[[@LINE-1]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode
25 v_mul_f16_e32 v255, v1, v2
26 // GFX11: :[[@LINE-1]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode
28 v_sub_f16_e32 v255, v1, v2
29 // GFX11: :[[@LINE-1]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode
31 v_subrev_f16_e32 v255, v1, v2
32 // GFX11: :[[@LINE-1]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode
34 v_add_f16_e32 v5, v255, v2
35 // GFX11: :[[@LINE-1]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode
37 v_fmaak_f16_e32 v5, v255, v2, 0xfe0b
38 // GFX11: :[[@LINE-1]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode
40 v_fmac_f16_e32 v5, v255, v2
41 // GFX11: :[[@LINE-1]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode
43 v_fmamk_f16_e32 v5, v255, 0xfe0b, v3
44 // GFX11: :[[@LINE-1]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode
46 v_ldexp_f16_e32 v5, v255, v2
47 // GFX11: :[[@LINE-1]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode
49 v_max_f16_e32 v5, v255, v2
50 // GFX11: :[[@LINE-1]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode
52 v_min_f16_e32 v5, v255, v2
53 // GFX11: :[[@LINE-1]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode
55 v_mul_f16_e32 v5, v255, v2
56 // GFX11: :[[@LINE-1]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode
58 v_sub_f16_e32 v5, v255, v2
59 // GFX11: :[[@LINE-1]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode
61 v_subrev_f16_e32 v5, v255, v2
62 // GFX11: :[[@LINE-1]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode
64 v_add_f16_e32 v5, v1, v255
65 // GFX11: :[[@LINE-1]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode
67 v_fmaak_f16_e32 v5, v1, v255, 0xfe0b
68 // GFX11: :[[@LINE-1]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode
70 v_fmac_f16_e32 v5, v1, v255
71 // GFX11: :[[@LINE-1]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode
73 v_fmamk_f16_e32 v5, v1, 0xfe0b, v255
74 // GFX11: :[[@LINE-1]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode
76 v_ldexp_f16_e32 v5, v1, v255
77 // GFX11: :[[@LINE-1]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode
79 v_max_f16_e32 v5, v1, v255
80 // GFX11: :[[@LINE-1]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode
82 v_min_f16_e32 v5, v1, v255
83 // GFX11: :[[@LINE-1]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode
85 v_mul_f16_e32 v5, v1, v255
86 // GFX11: :[[@LINE-1]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode
88 v_sub_f16_e32 v5, v1, v255
89 // GFX11: :[[@LINE-1]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode
91 v_subrev_f16_e32 v5, v1, v255
92 // GFX11: :[[@LINE-1]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode
94 v_add_f16_dpp v255, v1, v2 quad_perm:[3,2,1,0]
95 // GFX11: :[[@LINE-1]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode
97 v_fmac_f16_dpp v255, v1, v2 quad_perm:[3,2,1,0]
98 // GFX11: :[[@LINE-1]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode
100 v_ldexp_f16_dpp v255, v1, v2 quad_perm:[3,2,1,0]
101 // GFX11: :[[@LINE-1]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode
103 v_max_f16_dpp v255, v1, v2 quad_perm:[3,2,1,0]
104 // GFX11: :[[@LINE-1]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode
106 v_min_f16_dpp v255, v1, v2 quad_perm:[3,2,1,0]
107 // GFX11: :[[@LINE-1]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode
109 v_mul_f16_dpp v255, v1, v2 quad_perm:[3,2,1,0]
110 // GFX11: :[[@LINE-1]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode
112 v_sub_f16_dpp v255, v1, v2 quad_perm:[3,2,1,0]
113 // GFX11: :[[@LINE-1]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode
115 v_subrev_f16_dpp v255, v1, v2 quad_perm:[3,2,1,0]
116 // GFX11: :[[@LINE-1]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode
118 v_add_f16_dpp v5, v255, v2 quad_perm:[3,2,1,0]
119 // GFX11: :[[@LINE-1]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode
121 v_fmac_f16_dpp v5, v255, v2 quad_perm:[3,2,1,0]
122 // GFX11: :[[@LINE-1]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode
124 v_ldexp_f16_dpp v5, v255, v2 quad_perm:[3,2,1,0]
125 // GFX11: :[[@LINE-1]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode
127 v_max_f16_dpp v5, v255, v2 quad_perm:[3,2,1,0]
128 // GFX11: :[[@LINE-1]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode
130 v_min_f16_dpp v5, v255, v2 quad_perm:[3,2,1,0]
131 // GFX11: :[[@LINE-1]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode
133 v_mul_f16_dpp v5, v255, v2 quad_perm:[3,2,1,0]
134 // GFX11: :[[@LINE-1]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode
136 v_sub_f16_dpp v5, v255, v2 quad_perm:[3,2,1,0]
137 // GFX11: :[[@LINE-1]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode
139 v_subrev_f16_dpp v5, v255, v2 quad_perm:[3,2,1,0]
140 // GFX11: :[[@LINE-1]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode
142 v_add_f16_dpp v5, v1, v255 quad_perm:[3,2,1,0]
143 // GFX11: :[[@LINE-1]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode
145 v_fmac_f16_dpp v5, v1, v255 quad_perm:[3,2,1,0]
146 // GFX11: :[[@LINE-1]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode
148 v_ldexp_f16_dpp v5, v1, v255 quad_perm:[3,2,1,0]
149 // GFX11: :[[@LINE-1]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode
151 v_max_f16_dpp v5, v1, v255 quad_perm:[3,2,1,0]
152 // GFX11: :[[@LINE-1]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode
154 v_min_f16_dpp v5, v1, v255 quad_perm:[3,2,1,0]
155 // GFX11: :[[@LINE-1]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode
157 v_mul_f16_dpp v5, v1, v255 quad_perm:[3,2,1,0]
158 // GFX11: :[[@LINE-1]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode
160 v_sub_f16_dpp v5, v1, v255 quad_perm:[3,2,1,0]
161 // GFX11: :[[@LINE-1]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode
163 v_subrev_f16_dpp v5, v1, v255 quad_perm:[3,2,1,0]
164 // GFX11: :[[@LINE-1]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode
166 v_add_f16_dpp v255, v1, v2 dpp8:[7,6,5,4,3,2,1,0]
167 // GFX11: :[[@LINE-1]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode
169 v_fmac_f16_dpp v255, v1, v2 dpp8:[7,6,5,4,3,2,1,0]
170 // GFX11: :[[@LINE-1]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode
172 v_ldexp_f16_dpp v255, v1, v2 dpp8:[7,6,5,4,3,2,1,0]
173 // GFX11: :[[@LINE-1]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode
175 v_max_f16_dpp v255, v1, v2 dpp8:[7,6,5,4,3,2,1,0]
176 // GFX11: :[[@LINE-1]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode
178 v_min_f16_dpp v255, v1, v2 dpp8:[7,6,5,4,3,2,1,0]
179 // GFX11: :[[@LINE-1]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode
181 v_mul_f16_dpp v255, v1, v2 dpp8:[7,6,5,4,3,2,1,0]
182 // GFX11: :[[@LINE-1]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode
184 v_sub_f16_dpp v255, v1, v2 dpp8:[7,6,5,4,3,2,1,0]
185 // GFX11: :[[@LINE-1]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode
187 v_subrev_f16_dpp v255, v1, v2 dpp8:[7,6,5,4,3,2,1,0]
188 // GFX11: :[[@LINE-1]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode
190 v_add_f16_dpp v5, v255, v2 dpp8:[7,6,5,4,3,2,1,0]
191 // GFX11: :[[@LINE-1]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode
193 v_fmac_f16_dpp v5, v255, v2 dpp8:[7,6,5,4,3,2,1,0]
194 // GFX11: :[[@LINE-1]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode
196 v_ldexp_f16_dpp v5, v255, v2 dpp8:[7,6,5,4,3,2,1,0]
197 // GFX11: :[[@LINE-1]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode
199 v_max_f16_dpp v5, v255, v2 dpp8:[7,6,5,4,3,2,1,0]
200 // GFX11: :[[@LINE-1]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode
202 v_min_f16_dpp v5, v255, v2 dpp8:[7,6,5,4,3,2,1,0]
203 // GFX11: :[[@LINE-1]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode
205 v_mul_f16_dpp v5, v255, v2 dpp8:[7,6,5,4,3,2,1,0]
206 // GFX11: :[[@LINE-1]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode
208 v_sub_f16_dpp v5, v255, v2 dpp8:[7,6,5,4,3,2,1,0]
209 // GFX11: :[[@LINE-1]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode
211 v_subrev_f16_dpp v5, v255, v2 dpp8:[7,6,5,4,3,2,1,0]
212 // GFX11: :[[@LINE-1]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode
214 v_add_f16_dpp v5, v1, v255 dpp8:[7,6,5,4,3,2,1,0]
215 // GFX11: :[[@LINE-1]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode
217 v_fmac_f16_dpp v5, v1, v255 dpp8:[7,6,5,4,3,2,1,0]
218 // GFX11: :[[@LINE-1]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode
220 v_ldexp_f16_dpp v5, v1, v255 dpp8:[7,6,5,4,3,2,1,0]
221 // GFX11: :[[@LINE-1]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode
223 v_max_f16_dpp v5, v1, v255 dpp8:[7,6,5,4,3,2,1,0]
224 // GFX11: :[[@LINE-1]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode
226 v_min_f16_dpp v5, v1, v255 dpp8:[7,6,5,4,3,2,1,0]
227 // GFX11: :[[@LINE-1]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode
229 v_mul_f16_dpp v5, v1, v255 dpp8:[7,6,5,4,3,2,1,0]
230 // GFX11: :[[@LINE-1]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode
232 v_sub_f16_dpp v5, v1, v255 dpp8:[7,6,5,4,3,2,1,0]
233 // GFX11: :[[@LINE-1]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode
235 v_subrev_f16_dpp v5, v1, v255 dpp8:[7,6,5,4,3,2,1,0]
236 // GFX11: :[[@LINE-1]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode