[ARM] Better OR's for MVE compares
[llvm-core.git] / test / MC / AMDGPU / vopc-vi.s
blobf79923dfbd2ec3d3066d3d29ff5e851bf5929da1
1 // RUN: llvm-mc -arch=amdgcn -mcpu=fiji -show-encoding %s | FileCheck -check-prefix=VI %s
2 // RUN: not llvm-mc -arch=amdgcn -mcpu=tahiti -show-encoding %s 2>&1 | FileCheck -check-prefix=NOSICI %s
3 // RUN: not llvm-mc -arch=amdgcn -mcpu=hawaii -show-encoding %s 2>&1 | FileCheck -check-prefix=NOSICI %s
5 v_cmp_class_f16 vcc, v2, v4
6 // VI: v_cmp_class_f16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x28,0x7c]
7 // NOSICI: error: instruction not supported on this GPU
9 v_cmpx_class_f16 vcc, v2, v4
10 // VI: v_cmpx_class_f16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x2a,0x7c]
11 // NOSICI: error: instruction not supported on this GPU
13 v_cmp_f_f16 vcc, v2, v4
14 // VI: v_cmp_f_f16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x40,0x7c]
15 // NOSICI: error: instruction not supported on this GPU
17 v_cmp_lt_f16 vcc, v2, v4
18 // VI: v_cmp_lt_f16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x42,0x7c]
19 // NOSICI: error: instruction not supported on this GPU
21 v_cmp_eq_f16 vcc, v2, v4
22 // VI: v_cmp_eq_f16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x44,0x7c]
23 // NOSICI: error: instruction not supported on this GPU
25 v_cmp_le_f16 vcc, v2, v4
26 // VI: v_cmp_le_f16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x46,0x7c]
27 // NOSICI: error: instruction not supported on this GPU
29 v_cmp_gt_f16 vcc, v2, v4
30 // VI: v_cmp_gt_f16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x48,0x7c]
31 // NOSICI: error: instruction not supported on this GPU
33 v_cmp_lg_f16 vcc, v2, v4
34 // VI: v_cmp_lg_f16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x4a,0x7c]
35 // NOSICI: error: instruction not supported on this GPU
37 v_cmp_ge_f16 vcc, v2, v4
38 // VI: v_cmp_ge_f16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x4c,0x7c]
39 // NOSICI: error: instruction not supported on this GPU
41 v_cmp_o_f16 vcc, v2, v4
42 // VI: v_cmp_o_f16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x4e,0x7c]
43 // NOSICI: error: instruction not supported on this GPU
45 v_cmp_u_f16 vcc, v2, v4
46 // VI: v_cmp_u_f16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x50,0x7c]
47 // NOSICI: error: instruction not supported on this GPU
49 v_cmp_nge_f16 vcc, v2, v4
50 // VI: v_cmp_nge_f16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x52,0x7c]
51 // NOSICI: error: instruction not supported on this GPU
53 v_cmp_nlg_f16 vcc, v2, v4
54 // VI: v_cmp_nlg_f16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x54,0x7c]
55 // NOSICI: error: instruction not supported on this GPU
57 v_cmp_ngt_f16 vcc, v2, v4
58 // VI: v_cmp_ngt_f16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x56,0x7c]
59 // NOSICI: error: instruction not supported on this GPU
61 v_cmp_nle_f16 vcc, v2, v4
62 // VI: v_cmp_nle_f16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x58,0x7c]
63 // NOSICI: error: instruction not supported on this GPU
65 v_cmp_neq_f16 vcc, v2, v4
66 // VI: v_cmp_neq_f16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x5a,0x7c]
67 // NOSICI: error: instruction not supported on this GPU
69 v_cmp_nlt_f16 vcc, v2, v4
70 // VI: v_cmp_nlt_f16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x5c,0x7c]
71 // NOSICI: error: instruction not supported on this GPU
73 v_cmp_tru_f16 vcc, v2, v4
74 // VI: v_cmp_tru_f16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x5e,0x7c]
75 // NOSICI: error: instruction not supported on this GPU
77 v_cmpx_f_f16 vcc, v2, v4
78 // VI: v_cmpx_f_f16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x60,0x7c]
79 // NOSICI: error: instruction not supported on this GPU
81 v_cmpx_lt_f16 vcc, v2, v4
82 // VI: v_cmpx_lt_f16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x62,0x7c]
83 // NOSICI: error: instruction not supported on this GPU
85 v_cmpx_eq_f16 vcc, v2, v4
86 // VI: v_cmpx_eq_f16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x64,0x7c]
87 // NOSICI: error: instruction not supported on this GPU
89 v_cmpx_le_f16 vcc, v2, v4
90 // VI: v_cmpx_le_f16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x66,0x7c]
91 // NOSICI: error: instruction not supported on this GPU
93 v_cmpx_gt_f16 vcc, v2, v4
94 // VI: v_cmpx_gt_f16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x68,0x7c]
95 // NOSICI: error: instruction not supported on this GPU
97 v_cmpx_lg_f16 vcc, v2, v4
98 // VI: v_cmpx_lg_f16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x6a,0x7c]
99 // NOSICI: error: instruction not supported on this GPU
101 v_cmpx_ge_f16 vcc, v2, v4
102 // VI: v_cmpx_ge_f16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x6c,0x7c]
103 // NOSICI: error: instruction not supported on this GPU
105 v_cmpx_o_f16 vcc, v2, v4
106 // VI: v_cmpx_o_f16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x6e,0x7c]
107 // NOSICI: error: instruction not supported on this GPU
109 v_cmpx_u_f16 vcc, v2, v4
110 // VI: v_cmpx_u_f16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x70,0x7c]
111 // NOSICI: error: instruction not supported on this GPU
113 v_cmpx_nge_f16 vcc, v2, v4
114 // VI: v_cmpx_nge_f16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x72,0x7c]
115 // NOSICI: error: instruction not supported on this GPU
117 v_cmpx_nlg_f16 vcc, v2, v4
118 // VI: v_cmpx_nlg_f16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x74,0x7c]
119 // NOSICI: error: instruction not supported on this GPU
121 v_cmpx_ngt_f16 vcc, v2, v4
122 // VI: v_cmpx_ngt_f16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x76,0x7c]
123 // NOSICI: error: instruction not supported on this GPU
125 v_cmpx_nle_f16 vcc, v2, v4
126 // VI: v_cmpx_nle_f16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x78,0x7c]
127 // NOSICI: error: instruction not supported on this GPU
129 v_cmpx_neq_f16 vcc, v2, v4
130 // VI: v_cmpx_neq_f16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x7a,0x7c]
131 // NOSICI: error: instruction not supported on this GPU
133 v_cmpx_nlt_f16 vcc, v2, v4
134 // VI: v_cmpx_nlt_f16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x7c,0x7c]
135 // NOSICI: error: instruction not supported on this GPU
137 v_cmpx_tru_f16 vcc, v2, v4
138 // VI: v_cmpx_tru_f16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x7e,0x7c]
139 // NOSICI: error: instruction not supported on this GPU
141 v_cmp_f_i16 vcc, v2, v4
142 // VI: v_cmp_f_i16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x40,0x7d]
143 // NOSICI: error: instruction not supported on this GPU
145 v_cmp_lt_i16 vcc, v2, v4
146 // VI: v_cmp_lt_i16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x42,0x7d]
147 // NOSICI: error: instruction not supported on this GPU
149 v_cmp_eq_i16 vcc, v2, v4
150 // VI: v_cmp_eq_i16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x44,0x7d]
151 // NOSICI: error: instruction not supported on this GPU
153 v_cmp_le_i16 vcc, v2, v4
154 // VI: v_cmp_le_i16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x46,0x7d]
155 // NOSICI: error: instruction not supported on this GPU
157 v_cmp_gt_i16 vcc, v2, v4
158 // VI: v_cmp_gt_i16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x48,0x7d]
159 // NOSICI: error: instruction not supported on this GPU
161 v_cmp_ne_i16 vcc, v2, v4
162 // VI: v_cmp_ne_i16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x4a,0x7d]
163 // NOSICI: error: instruction not supported on this GPU
165 v_cmp_ge_i16 vcc, v2, v4
166 // VI: v_cmp_ge_i16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x4c,0x7d]
167 // NOSICI: error: instruction not supported on this GPU
169 v_cmp_t_i16 vcc, v2, v4
170 // VI: v_cmp_t_i16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x4e,0x7d]
171 // NOSICI: error: instruction not supported on this GPU
173 v_cmp_f_u16 vcc, v2, v4
174 // VI: v_cmp_f_u16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x50,0x7d]
175 // NOSICI: error: instruction not supported on this GPU
177 v_cmp_lt_u16 vcc, v2, v4
178 // VI: v_cmp_lt_u16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x52,0x7d]
179 // NOSICI: error: instruction not supported on this GPU
181 v_cmp_eq_u16 vcc, v2, v4
182 // VI: v_cmp_eq_u16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x54,0x7d]
183 // NOSICI: error: instruction not supported on this GPU
185 v_cmp_le_u16 vcc, v2, v4
186 // VI: v_cmp_le_u16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x56,0x7d]
187 // NOSICI: error: instruction not supported on this GPU
189 v_cmp_gt_u16 vcc, v2, v4
190 // VI: v_cmp_gt_u16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x58,0x7d]
191 // NOSICI: error: instruction not supported on this GPU
193 v_cmp_ne_u16 vcc, v2, v4
194 // VI: v_cmp_ne_u16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x5a,0x7d]
195 // NOSICI: error: instruction not supported on this GPU
197 v_cmp_ge_u16 vcc, v2, v4
198 // VI: v_cmp_ge_u16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x5c,0x7d]
199 // NOSICI: error: instruction not supported on this GPU
201 v_cmp_t_u16 vcc, v2, v4
202 // VI: v_cmp_t_u16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x5e,0x7d]
203 // NOSICI: error: instruction not supported on this GPU
205 v_cmpx_f_i16 vcc, v2, v4
206 // VI: v_cmpx_f_i16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x60,0x7d]
207 // NOSICI: error: instruction not supported on this GPU
209 v_cmpx_lt_i16 vcc, v2, v4
210 // VI: v_cmpx_lt_i16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x62,0x7d]
211 // NOSICI: error: instruction not supported on this GPU
213 v_cmpx_eq_i16 vcc, v2, v4
214 // VI: v_cmpx_eq_i16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x64,0x7d]
215 // NOSICI: error: instruction not supported on this GPU
217 v_cmpx_le_i16 vcc, v2, v4
218 // VI: v_cmpx_le_i16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x66,0x7d]
219 // NOSICI: error: instruction not supported on this GPU
221 v_cmpx_gt_i16 vcc, v2, v4
222 // VI: v_cmpx_gt_i16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x68,0x7d]
223 // NOSICI: error: instruction not supported on this GPU
225 v_cmpx_ne_i16 vcc, v2, v4
226 // VI: v_cmpx_ne_i16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x6a,0x7d]
227 // NOSICI: error: instruction not supported on this GPU
229 v_cmpx_ge_i16 vcc, v2, v4
230 // VI: v_cmpx_ge_i16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x6c,0x7d]
231 // NOSICI: error: instruction not supported on this GPU
233 v_cmpx_t_i16 vcc, v2, v4
234 // VI: v_cmpx_t_i16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x6e,0x7d]
235 // NOSICI: error: instruction not supported on this GPU
237 v_cmpx_f_u16 vcc, v2, v4
238 // VI: v_cmpx_f_u16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x70,0x7d]
239 // NOSICI: error: instruction not supported on this GPU
241 v_cmpx_lt_u16 vcc, v2, v4
242 // VI: v_cmpx_lt_u16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x72,0x7d]
243 // NOSICI: error: instruction not supported on this GPU
245 v_cmpx_eq_u16 vcc, v2, v4
246 // VI: v_cmpx_eq_u16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x74,0x7d]
247 // NOSICI: error: instruction not supported on this GPU
249 v_cmpx_le_u16 vcc, v2, v4
250 // VI: v_cmpx_le_u16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x76,0x7d]
251 // NOSICI: error: instruction not supported on this GPU
253 v_cmpx_gt_u16 vcc, v2, v4
254 // VI: v_cmpx_gt_u16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x78,0x7d]
255 // NOSICI: error: instruction not supported on this GPU
257 v_cmpx_ne_u16 vcc, v2, v4
258 // VI: v_cmpx_ne_u16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x7a,0x7d]
259 // NOSICI: error: instruction not supported on this GPU
261 v_cmpx_ge_u16 vcc, v2, v4
262 // VI: v_cmpx_ge_u16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x7c,0x7d]
263 // NOSICI: error: instruction not supported on this GPU
265 v_cmpx_t_u16 vcc, v2, v4
266 // VI: v_cmpx_t_u16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x7e,0x7d]
267 // NOSICI: error: instruction not supported on this GPU