1 // RUN: %clang_cc1 -triple loongarch64 -target-feature +lsx -verify %s
5 v16i8
vslli_b(v16i8 _1
, int var
) {
6 v16i8 res
= __lsx_vslli_b(_1
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 7]}}
7 res
|= __lsx_vslli_b(_1
, 8); // expected-error {{argument value 8 is outside the valid range [0, 7]}}
8 res
|= __lsx_vslli_b(_1
, var
); // expected-error {{argument to '__builtin_lsx_vslli_b' must be a constant integer}}
12 v8i16
vslli_h(v8i16 _1
, int var
) {
13 v8i16 res
= __lsx_vslli_h(_1
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 15]}}
14 res
|= __lsx_vslli_h(_1
, 16); // expected-error {{argument value 16 is outside the valid range [0, 15]}}
15 res
|= __lsx_vslli_h(_1
, var
); // expected-error {{argument to '__builtin_lsx_vslli_h' must be a constant integer}}
19 v4i32
vslli_w(v4i32 _1
, int var
) {
20 v4i32 res
= __lsx_vslli_w(_1
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 31]}}
21 res
|= __lsx_vslli_w(_1
, 32); // expected-error {{argument value 32 is outside the valid range [0, 31]}}
22 res
|= __lsx_vslli_w(_1
, var
); // expected-error {{argument to '__builtin_lsx_vslli_w' must be a constant integer}}
26 v2i64
vslli_d(v2i64 _1
, int var
) {
27 v2i64 res
= __lsx_vslli_d(_1
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 63]}}
28 res
|= __lsx_vslli_d(_1
, 64); // expected-error {{argument value 64 is outside the valid range [0, 63]}}
29 res
|= __lsx_vslli_d(_1
, var
); // expected-error {{argument to '__builtin_lsx_vslli_d' must be a constant integer}}
33 v16i8
vsrai_b(v16i8 _1
, int var
) {
34 v16i8 res
= __lsx_vsrai_b(_1
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 7]}}
35 res
|= __lsx_vsrai_b(_1
, 8); // expected-error {{argument value 8 is outside the valid range [0, 7]}}
36 res
|= __lsx_vsrai_b(_1
, var
); // expected-error {{argument to '__builtin_lsx_vsrai_b' must be a constant integer}}
40 v8i16
vsrai_h(v8i16 _1
, int var
) {
41 v8i16 res
= __lsx_vsrai_h(_1
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 15]}}
42 res
|= __lsx_vsrai_h(_1
, 16); // expected-error {{argument value 16 is outside the valid range [0, 15]}}
43 res
|= __lsx_vsrai_h(_1
, var
); // expected-error {{argument to '__builtin_lsx_vsrai_h' must be a constant integer}}
47 v4i32
vsrai_w(v4i32 _1
, int var
) {
48 v4i32 res
= __lsx_vsrai_w(_1
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 31]}}
49 res
|= __lsx_vsrai_w(_1
, 32); // expected-error {{argument value 32 is outside the valid range [0, 31]}}
50 res
|= __lsx_vsrai_w(_1
, var
); // expected-error {{argument to '__builtin_lsx_vsrai_w' must be a constant integer}}
54 v2i64
vsrai_d(v2i64 _1
, int var
) {
55 v2i64 res
= __lsx_vsrai_d(_1
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 63]}}
56 res
|= __lsx_vsrai_d(_1
, 64); // expected-error {{argument value 64 is outside the valid range [0, 63]}}
57 res
|= __lsx_vsrai_d(_1
, var
); // expected-error {{argument to '__builtin_lsx_vsrai_d' must be a constant integer}}
61 v16i8
vsrari_b(v16i8 _1
, int var
) {
62 v16i8 res
= __lsx_vsrari_b(_1
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 7]}}
63 res
|= __lsx_vsrari_b(_1
, 8); // expected-error {{argument value 8 is outside the valid range [0, 7]}}
64 res
|= __lsx_vsrari_b(_1
, var
); // expected-error {{argument to '__builtin_lsx_vsrari_b' must be a constant integer}}
68 v8i16
vsrari_h(v8i16 _1
, int var
) {
69 v8i16 res
= __lsx_vsrari_h(_1
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 15]}}
70 res
|= __lsx_vsrari_h(_1
, 16); // expected-error {{argument value 16 is outside the valid range [0, 15]}}
71 res
|= __lsx_vsrari_h(_1
, var
); // expected-error {{argument to '__builtin_lsx_vsrari_h' must be a constant integer}}
75 v4i32
vsrari_w(v4i32 _1
, int var
) {
76 v4i32 res
= __lsx_vsrari_w(_1
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 31]}}
77 res
|= __lsx_vsrari_w(_1
, 32); // expected-error {{argument value 32 is outside the valid range [0, 31]}}
78 res
|= __lsx_vsrari_w(_1
, var
); // expected-error {{argument to '__builtin_lsx_vsrari_w' must be a constant integer}}
82 v2i64
vsrari_d(v2i64 _1
, int var
) {
83 v2i64 res
= __lsx_vsrari_d(_1
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 63]}}
84 res
|= __lsx_vsrari_d(_1
, 64); // expected-error {{argument value 64 is outside the valid range [0, 63]}}
85 res
|= __lsx_vsrari_d(_1
, var
); // expected-error {{argument to '__builtin_lsx_vsrari_d' must be a constant integer}}
89 v16i8
vsrli_b(v16i8 _1
, int var
) {
90 v16i8 res
= __lsx_vsrli_b(_1
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 7]}}
91 res
|= __lsx_vsrli_b(_1
, 8); // expected-error {{argument value 8 is outside the valid range [0, 7]}}
92 res
|= __lsx_vsrli_b(_1
, var
); // expected-error {{argument to '__builtin_lsx_vsrli_b' must be a constant integer}}
96 v8i16
vsrli_h(v8i16 _1
, int var
) {
97 v8i16 res
= __lsx_vsrli_h(_1
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 15]}}
98 res
|= __lsx_vsrli_h(_1
, 16); // expected-error {{argument value 16 is outside the valid range [0, 15]}}
99 res
|= __lsx_vsrli_h(_1
, var
); // expected-error {{argument to '__builtin_lsx_vsrli_h' must be a constant integer}}
103 v4i32
vsrli_w(v4i32 _1
, int var
) {
104 v4i32 res
= __lsx_vsrli_w(_1
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 31]}}
105 res
|= __lsx_vsrli_w(_1
, 32); // expected-error {{argument value 32 is outside the valid range [0, 31]}}
106 res
|= __lsx_vsrli_w(_1
, var
); // expected-error {{argument to '__builtin_lsx_vsrli_w' must be a constant integer}}
110 v2i64
vsrli_d(v2i64 _1
, int var
) {
111 v2i64 res
= __lsx_vsrli_d(_1
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 63]}}
112 res
|= __lsx_vsrli_d(_1
, 64); // expected-error {{argument value 64 is outside the valid range [0, 63]}}
113 res
|= __lsx_vsrli_d(_1
, var
); // expected-error {{argument to '__builtin_lsx_vsrli_d' must be a constant integer}}
117 v16i8
vsrlri_b(v16i8 _1
, int var
) {
118 v16i8 res
= __lsx_vsrlri_b(_1
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 7]}}
119 res
|= __lsx_vsrlri_b(_1
, 8); // expected-error {{argument value 8 is outside the valid range [0, 7]}}
120 res
|= __lsx_vsrlri_b(_1
, var
); // expected-error {{argument to '__builtin_lsx_vsrlri_b' must be a constant integer}}
124 v8i16
vsrlri_h(v8i16 _1
, int var
) {
125 v8i16 res
= __lsx_vsrlri_h(_1
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 15]}}
126 res
|= __lsx_vsrlri_h(_1
, 16); // expected-error {{argument value 16 is outside the valid range [0, 15]}}
127 res
|= __lsx_vsrlri_h(_1
, var
); // expected-error {{argument to '__builtin_lsx_vsrlri_h' must be a constant integer}}
131 v4i32
vsrlri_w(v4i32 _1
, int var
) {
132 v4i32 res
= __lsx_vsrlri_w(_1
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 31]}}
133 res
|= __lsx_vsrlri_w(_1
, 32); // expected-error {{argument value 32 is outside the valid range [0, 31]}}
134 res
|= __lsx_vsrlri_w(_1
, var
); // expected-error {{argument to '__builtin_lsx_vsrlri_w' must be a constant integer}}
138 v2i64
vsrlri_d(v2i64 _1
, int var
) {
139 v2i64 res
= __lsx_vsrlri_d(_1
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 63]}}
140 res
|= __lsx_vsrlri_d(_1
, 64); // expected-error {{argument value 64 is outside the valid range [0, 63]}}
141 res
|= __lsx_vsrlri_d(_1
, var
); // expected-error {{argument to '__builtin_lsx_vsrlri_d' must be a constant integer}}
145 v16u8
vbitclri_b(v16u8 _1
, int var
) {
146 v16u8 res
= __lsx_vbitclri_b(_1
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 7]}}
147 res
|= __lsx_vbitclri_b(_1
, 8); // expected-error {{argument value 8 is outside the valid range [0, 7]}}
148 res
|= __lsx_vbitclri_b(_1
, var
); // expected-error {{argument to '__builtin_lsx_vbitclri_b' must be a constant integer}}
152 v8u16
vbitclri_h(v8u16 _1
, int var
) {
153 v8u16 res
= __lsx_vbitclri_h(_1
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 15]}}
154 res
|= __lsx_vbitclri_h(_1
, 16); // expected-error {{argument value 16 is outside the valid range [0, 15]}}
155 res
|= __lsx_vbitclri_h(_1
, var
); // expected-error {{argument to '__builtin_lsx_vbitclri_h' must be a constant integer}}
159 v4u32
vbitclri_w(v4u32 _1
, int var
) {
160 v4u32 res
= __lsx_vbitclri_w(_1
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 31]}}
161 res
|= __lsx_vbitclri_w(_1
, 32); // expected-error {{argument value 32 is outside the valid range [0, 31]}}
162 res
|= __lsx_vbitclri_w(_1
, var
); // expected-error {{argument to '__builtin_lsx_vbitclri_w' must be a constant integer}}
166 v2u64
vbitclri_d(v2u64 _1
, int var
) {
167 v2u64 res
= __lsx_vbitclri_d(_1
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 63]}}
168 res
|= __lsx_vbitclri_d(_1
, 64); // expected-error {{argument value 64 is outside the valid range [0, 63]}}
169 res
|= __lsx_vbitclri_d(_1
, var
); // expected-error {{argument to '__builtin_lsx_vbitclri_d' must be a constant integer}}
173 v16u8
vbitseti_b(v16u8 _1
, int var
) {
174 v16u8 res
= __lsx_vbitseti_b(_1
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 7]}}
175 res
|= __lsx_vbitseti_b(_1
, 8); // expected-error {{argument value 8 is outside the valid range [0, 7]}}
176 res
|= __lsx_vbitseti_b(_1
, var
); // expected-error {{argument to '__builtin_lsx_vbitseti_b' must be a constant integer}}
180 v8u16
vbitseti_h(v8u16 _1
, int var
) {
181 v8u16 res
= __lsx_vbitseti_h(_1
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 15]}}
182 res
|= __lsx_vbitseti_h(_1
, 16); // expected-error {{argument value 16 is outside the valid range [0, 15]}}
183 res
|= __lsx_vbitseti_h(_1
, var
); // expected-error {{argument to '__builtin_lsx_vbitseti_h' must be a constant integer}}
187 v4u32
vbitseti_w(v4u32 _1
, int var
) {
188 v4u32 res
= __lsx_vbitseti_w(_1
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 31]}}
189 res
|= __lsx_vbitseti_w(_1
, 32); // expected-error {{argument value 32 is outside the valid range [0, 31]}}
190 res
|= __lsx_vbitseti_w(_1
, var
); // expected-error {{argument to '__builtin_lsx_vbitseti_w' must be a constant integer}}
194 v2u64
vbitseti_d(v2u64 _1
, int var
) {
195 v2u64 res
= __lsx_vbitseti_d(_1
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 63]}}
196 res
|= __lsx_vbitseti_d(_1
, 64); // expected-error {{argument value 64 is outside the valid range [0, 63]}}
197 res
|= __lsx_vbitseti_d(_1
, var
); // expected-error {{argument to '__builtin_lsx_vbitseti_d' must be a constant integer}}
201 v16u8
vbitrevi_b(v16u8 _1
, int var
) {
202 v16u8 res
= __lsx_vbitrevi_b(_1
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 7]}}
203 res
|= __lsx_vbitrevi_b(_1
, 8); // expected-error {{argument value 8 is outside the valid range [0, 7]}}
204 res
|= __lsx_vbitrevi_b(_1
, var
); // expected-error {{argument to '__builtin_lsx_vbitrevi_b' must be a constant integer}}
208 v8u16
vbitrevi_h(v8u16 _1
, int var
) {
209 v8u16 res
= __lsx_vbitrevi_h(_1
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 15]}}
210 res
|= __lsx_vbitrevi_h(_1
, 16); // expected-error {{argument value 16 is outside the valid range [0, 15]}}
211 res
|= __lsx_vbitrevi_h(_1
, var
); // expected-error {{argument to '__builtin_lsx_vbitrevi_h' must be a constant integer}}
215 v4u32
vbitrevi_w(v4u32 _1
, int var
) {
216 v4u32 res
= __lsx_vbitrevi_w(_1
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 31]}}
217 res
|= __lsx_vbitrevi_w(_1
, 32); // expected-error {{argument value 32 is outside the valid range [0, 31]}}
218 res
|= __lsx_vbitrevi_w(_1
, var
); // expected-error {{argument to '__builtin_lsx_vbitrevi_w' must be a constant integer}}
222 v2u64
vbitrevi_d(v2u64 _1
, int var
) {
223 v2u64 res
= __lsx_vbitrevi_d(_1
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 63]}}
224 res
|= __lsx_vbitrevi_d(_1
, 64); // expected-error {{argument value 64 is outside the valid range [0, 63]}}
225 res
|= __lsx_vbitrevi_d(_1
, var
); // expected-error {{argument to '__builtin_lsx_vbitrevi_d' must be a constant integer}}
229 v16i8
vaddi_bu(v16i8 _1
, int var
) {
230 v16i8 res
= __lsx_vaddi_bu(_1
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 31]}}
231 res
|= __lsx_vaddi_bu(_1
, 32); // expected-error {{argument value 32 is outside the valid range [0, 31]}}
232 res
|= __lsx_vaddi_bu(_1
, var
); // expected-error {{argument to '__builtin_lsx_vaddi_bu' must be a constant integer}}
236 v8i16
vaddi_hu(v8i16 _1
, int var
) {
237 v8i16 res
= __lsx_vaddi_hu(_1
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 31]}}
238 res
|= __lsx_vaddi_hu(_1
, 32); // expected-error {{argument value 32 is outside the valid range [0, 31]}}
239 res
|= __lsx_vaddi_hu(_1
, var
); // expected-error {{argument to '__builtin_lsx_vaddi_hu' must be a constant integer}}
243 v4i32
vaddi_wu(v4i32 _1
, int var
) {
244 v4i32 res
= __lsx_vaddi_wu(_1
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 31]}}
245 res
|= __lsx_vaddi_wu(_1
, 32); // expected-error {{argument value 32 is outside the valid range [0, 31]}}
246 res
|= __lsx_vaddi_wu(_1
, var
); // expected-error {{argument to '__builtin_lsx_vaddi_wu' must be a constant integer}}
250 v2i64
vaddi_du(v2i64 _1
, int var
) {
251 v2i64 res
= __lsx_vaddi_du(_1
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 31]}}
252 res
|= __lsx_vaddi_du(_1
, 32); // expected-error {{argument value 32 is outside the valid range [0, 31]}}
253 res
|= __lsx_vaddi_du(_1
, var
); // expected-error {{argument to '__builtin_lsx_vaddi_du' must be a constant integer}}
257 v16i8
vsubi_bu(v16i8 _1
, int var
) {
258 v16i8 res
= __lsx_vsubi_bu(_1
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 31]}}
259 res
|= __lsx_vsubi_bu(_1
, 32); // expected-error {{argument value 32 is outside the valid range [0, 31]}}
260 res
|= __lsx_vsubi_bu(_1
, var
); // expected-error {{argument to '__builtin_lsx_vsubi_bu' must be a constant integer}}
264 v8i16
vsubi_hu(v8i16 _1
, int var
) {
265 v8i16 res
= __lsx_vsubi_hu(_1
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 31]}}
266 res
|= __lsx_vsubi_hu(_1
, 32); // expected-error {{argument value 32 is outside the valid range [0, 31]}}
267 res
|= __lsx_vsubi_hu(_1
, var
); // expected-error {{argument to '__builtin_lsx_vsubi_hu' must be a constant integer}}
271 v4i32
vsubi_wu(v4i32 _1
, int var
) {
272 v4i32 res
= __lsx_vsubi_wu(_1
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 31]}}
273 res
|= __lsx_vsubi_wu(_1
, 32); // expected-error {{argument value 32 is outside the valid range [0, 31]}}
274 res
|= __lsx_vsubi_wu(_1
, var
); // expected-error {{argument to '__builtin_lsx_vsubi_wu' must be a constant integer}}
278 v2i64
vsubi_du(v2i64 _1
, int var
) {
279 v2i64 res
= __lsx_vsubi_du(_1
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 31]}}
280 res
|= __lsx_vsubi_du(_1
, 32); // expected-error {{argument value 32 is outside the valid range [0, 31]}}
281 res
|= __lsx_vsubi_du(_1
, var
); // expected-error {{argument to '__builtin_lsx_vsubi_du' must be a constant integer}}
285 v16i8
vmaxi_b(v16i8 _1
, int var
) {
286 v16i8 res
= __lsx_vmaxi_b(_1
, -17); // expected-error {{argument value -17 is outside the valid range [-16, 15]}}
287 res
|= __lsx_vmaxi_b(_1
, 16); // expected-error {{argument value 16 is outside the valid range [-16, 15]}}
288 res
|= __lsx_vmaxi_b(_1
, var
); // expected-error {{argument to '__builtin_lsx_vmaxi_b' must be a constant integer}}
292 v8i16
vmaxi_h(v8i16 _1
, int var
) {
293 v8i16 res
= __lsx_vmaxi_h(_1
, -17); // expected-error {{argument value -17 is outside the valid range [-16, 15]}}
294 res
|= __lsx_vmaxi_h(_1
, 16); // expected-error {{argument value 16 is outside the valid range [-16, 15]}}
295 res
|= __lsx_vmaxi_h(_1
, var
); // expected-error {{argument to '__builtin_lsx_vmaxi_h' must be a constant integer}}
299 v4i32
vmaxi_w(v4i32 _1
, int var
) {
300 v4i32 res
= __lsx_vmaxi_w(_1
, -17); // expected-error {{argument value -17 is outside the valid range [-16, 15]}}
301 res
|= __lsx_vmaxi_w(_1
, 16); // expected-error {{argument value 16 is outside the valid range [-16, 15]}}
302 res
|= __lsx_vmaxi_w(_1
, var
); // expected-error {{argument to '__builtin_lsx_vmaxi_w' must be a constant integer}}
306 v2i64
vmaxi_d(v2i64 _1
, int var
) {
307 v2i64 res
= __lsx_vmaxi_d(_1
, -17); // expected-error {{argument value -17 is outside the valid range [-16, 15]}}
308 res
|= __lsx_vmaxi_d(_1
, 16); // expected-error {{argument value 16 is outside the valid range [-16, 15]}}
309 res
|= __lsx_vmaxi_d(_1
, var
); // expected-error {{argument to '__builtin_lsx_vmaxi_d' must be a constant integer}}
313 v16u8
vmaxi_bu(v16u8 _1
, int var
) {
314 v16u8 res
= __lsx_vmaxi_bu(_1
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 31]}}
315 res
|= __lsx_vmaxi_bu(_1
, 32); // expected-error {{argument value 32 is outside the valid range [0, 31]}}
316 res
|= __lsx_vmaxi_bu(_1
, var
); // expected-error {{argument to '__builtin_lsx_vmaxi_bu' must be a constant integer}}
320 v8u16
vmaxi_hu(v8u16 _1
, int var
) {
321 v8u16 res
= __lsx_vmaxi_hu(_1
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 31]}}
322 res
|= __lsx_vmaxi_hu(_1
, 32); // expected-error {{argument value 32 is outside the valid range [0, 31]}}
323 res
|= __lsx_vmaxi_hu(_1
, var
); // expected-error {{argument to '__builtin_lsx_vmaxi_hu' must be a constant integer}}
327 v4u32
vmaxi_wu(v4u32 _1
, int var
) {
328 v4u32 res
= __lsx_vmaxi_wu(_1
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 31]}}
329 res
|= __lsx_vmaxi_wu(_1
, 32); // expected-error {{argument value 32 is outside the valid range [0, 31]}}
330 res
|= __lsx_vmaxi_wu(_1
, var
); // expected-error {{argument to '__builtin_lsx_vmaxi_wu' must be a constant integer}}
334 v2u64
vmaxi_du(v2u64 _1
, int var
) {
335 v2u64 res
= __lsx_vmaxi_du(_1
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 31]}}
336 res
|= __lsx_vmaxi_du(_1
, 32); // expected-error {{argument value 32 is outside the valid range [0, 31]}}
337 res
|= __lsx_vmaxi_du(_1
, var
); // expected-error {{argument to '__builtin_lsx_vmaxi_du' must be a constant integer}}
341 v16i8
vmini_b(v16i8 _1
, int var
) {
342 v16i8 res
= __lsx_vmini_b(_1
, -17); // expected-error {{argument value -17 is outside the valid range [-16, 15]}}
343 res
|= __lsx_vmini_b(_1
, 16); // expected-error {{argument value 16 is outside the valid range [-16, 15]}}
344 res
|= __lsx_vmini_b(_1
, var
); // expected-error {{argument to '__builtin_lsx_vmini_b' must be a constant integer}}
348 v8i16
vmini_h(v8i16 _1
, int var
) {
349 v8i16 res
= __lsx_vmini_h(_1
, -17); // expected-error {{argument value -17 is outside the valid range [-16, 15]}}
350 res
|= __lsx_vmini_h(_1
, 16); // expected-error {{argument value 16 is outside the valid range [-16, 15]}}
351 res
|= __lsx_vmini_h(_1
, var
); // expected-error {{argument to '__builtin_lsx_vmini_h' must be a constant integer}}}
355 v4i32
vmini_w(v4i32 _1
, int var
) {
356 v4i32 res
= __lsx_vmini_w(_1
, -17); // expected-error {{argument value -17 is outside the valid range [-16, 15]}}
357 res
|= __lsx_vmini_w(_1
, 16); // expected-error {{argument value 16 is outside the valid range [-16, 15]}}
358 res
|= __lsx_vmini_w(_1
, var
); // expected-error {{argument to '__builtin_lsx_vmini_w' must be a constant integer}}
362 v2i64
vmini_d(v2i64 _1
, int var
) {
363 v2i64 res
= __lsx_vmini_d(_1
, -17); // expected-error {{argument value -17 is outside the valid range [-16, 15]}}
364 res
|= __lsx_vmini_d(_1
, 16); // expected-error {{argument value 16 is outside the valid range [-16, 15]}}
365 res
|= __lsx_vmini_d(_1
, var
); // expected-error {{argument to '__builtin_lsx_vmini_d' must be a constant integer}}
369 v16u8
vmini_bu(v16u8 _1
, int var
) {
370 v16u8 res
= __lsx_vmini_bu(_1
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 31]}}
371 res
|= __lsx_vmini_bu(_1
, 32); // expected-error {{argument value 32 is outside the valid range [0, 31]}}
372 res
|= __lsx_vmini_bu(_1
, var
); // expected-error {{argument to '__builtin_lsx_vmini_bu' must be a constant integer}}
376 v8u16
vmini_hu(v8u16 _1
, int var
) {
377 v8u16 res
= __lsx_vmini_hu(_1
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 31]}}
378 res
|= __lsx_vmini_hu(_1
, 32); // expected-error {{argument value 32 is outside the valid range [0, 31]}}
379 res
|= __lsx_vmini_hu(_1
, var
); // expected-error {{argument to '__builtin_lsx_vmini_hu' must be a constant integer}}
383 v4u32
vmini_wu(v4u32 _1
, int var
) {
384 v4u32 res
= __lsx_vmini_wu(_1
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 31]}}
385 res
|= __lsx_vmini_wu(_1
, 32); // expected-error {{argument value 32 is outside the valid range [0, 31]}}
386 res
|= __lsx_vmini_wu(_1
, var
); // expected-error {{argument to '__builtin_lsx_vmini_wu' must be a constant integer}}
390 v2u64
vmini_du(v2u64 _1
, int var
) {
391 v2u64 res
= __lsx_vmini_du(_1
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 31]}}
392 res
|= __lsx_vmini_du(_1
, 32); // expected-error {{argument value 32 is outside the valid range [0, 31]}}
393 res
|= __lsx_vmini_du(_1
, var
); // expected-error {{argument to '__builtin_lsx_vmini_du' must be a constant integer}}
397 v16i8
vseqi_b(v16i8 _1
, int var
) {
398 v16i8 res
= __lsx_vseqi_b(_1
, -17); // expected-error {{argument value -17 is outside the valid range [-16, 15]}}
399 res
|= __lsx_vseqi_b(_1
, 16); // expected-error {{argument value 16 is outside the valid range [-16, 15]}}
400 res
|= __lsx_vseqi_b(_1
, var
); // expected-error {{argument to '__builtin_lsx_vseqi_b' must be a constant integer}}
404 v8i16
vseqi_h(v8i16 _1
, int var
) {
405 v8i16 res
= __lsx_vseqi_h(_1
, -17); // expected-error {{argument value -17 is outside the valid range [-16, 15]}}
406 res
|= __lsx_vseqi_h(_1
, 16); // expected-error {{argument value 16 is outside the valid range [-16, 15]}}
407 res
|= __lsx_vseqi_h(_1
, var
); // expected-error {{argument to '__builtin_lsx_vseqi_h' must be a constant integer}}
411 v4i32
vseqi_w(v4i32 _1
, int var
) {
412 v4i32 res
= __lsx_vseqi_w(_1
, -17); // expected-error {{argument value -17 is outside the valid range [-16, 15]}}
413 res
|= __lsx_vseqi_w(_1
, 16); // expected-error {{argument value 16 is outside the valid range [-16, 15]}}
414 res
|= __lsx_vseqi_w(_1
, var
); // expected-error {{argument to '__builtin_lsx_vseqi_w' must be a constant integer}}
418 v2i64
vseqi_d(v2i64 _1
, int var
) {
419 v2i64 res
= __lsx_vseqi_d(_1
, -17); // expected-error {{argument value -17 is outside the valid range [-16, 15]}}
420 res
|= __lsx_vseqi_d(_1
, 16); // expected-error {{argument value 16 is outside the valid range [-16, 15]}}
421 res
|= __lsx_vseqi_d(_1
, var
); // expected-error {{argument to '__builtin_lsx_vseqi_d' must be a constant integer}}
425 v16i8
vslti_b(v16i8 _1
, int var
) {
426 v16i8 res
= __lsx_vslti_b(_1
, -17); // expected-error {{argument value -17 is outside the valid range [-16, 15]}}
427 res
|= __lsx_vslti_b(_1
, 16); // expected-error {{argument value 16 is outside the valid range [-16, 15]}}
428 res
|= __lsx_vslti_b(_1
, var
); // expected-error {{argument to '__builtin_lsx_vslti_b' must be a constant integer}}
432 v8i16
vslti_h(v8i16 _1
, int var
) {
433 v8i16 res
= __lsx_vslti_h(_1
, -17); // expected-error {{argument value -17 is outside the valid range [-16, 15]}}
434 res
|= __lsx_vslti_h(_1
, 16); // expected-error {{argument value 16 is outside the valid range [-16, 15]}}
435 res
|= __lsx_vslti_h(_1
, var
); // expected-error {{argument to '__builtin_lsx_vslti_h' must be a constant integer}}
439 v4i32
vslti_w(v4i32 _1
, int var
) {
440 v4i32 res
= __lsx_vslti_w(_1
, -17); // expected-error {{argument value -17 is outside the valid range [-16, 15]}}
441 res
|= __lsx_vslti_w(_1
, 16); // expected-error {{argument value 16 is outside the valid range [-16, 15]}}
442 res
|= __lsx_vslti_w(_1
, var
); // expected-error {{argument to '__builtin_lsx_vslti_w' must be a constant integer}}
446 v2i64
vslti_d(v2i64 _1
, int var
) {
447 v2i64 res
= __lsx_vslti_d(_1
, -17); // expected-error {{argument value -17 is outside the valid range [-16, 15]}}
448 res
|= __lsx_vslti_d(_1
, 16); // expected-error {{argument value 16 is outside the valid range [-16, 15]}}
449 res
|= __lsx_vslti_d(_1
, var
); // expected-error {{argument to '__builtin_lsx_vslti_d' must be a constant integer}}
453 v16i8
vslti_bu(v16u8 _1
, int var
) {
454 v16i8 res
= __lsx_vslti_bu(_1
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 31]}}
455 res
|= __lsx_vslti_bu(_1
, 32); // expected-error {{argument value 32 is outside the valid range [0, 31]}}
456 res
|= __lsx_vslti_bu(_1
, var
); // expected-error {{argument to '__builtin_lsx_vslti_bu' must be a constant integer}}
460 v8i16
vslti_hu(v8u16 _1
, int var
) {
461 v8i16 res
= __lsx_vslti_hu(_1
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 31]}}
462 res
|= __lsx_vslti_hu(_1
, 32); // expected-error {{argument value 32 is outside the valid range [0, 31]}}
463 res
|= __lsx_vslti_hu(_1
, var
); // expected-error {{argument to '__builtin_lsx_vslti_hu' must be a constant integer}}
467 v4i32
vslti_wu(v4u32 _1
, int var
) {
468 v4i32 res
= __lsx_vslti_wu(_1
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 31]}}
469 res
|= __lsx_vslti_wu(_1
, 32); // expected-error {{argument value 32 is outside the valid range [0, 31]}}
470 res
|= __lsx_vslti_wu(_1
, var
); // expected-error {{argument to '__builtin_lsx_vslti_wu' must be a constant integer}}
474 v2i64
vslti_du(v2u64 _1
, int var
) {
475 v2i64 res
= __lsx_vslti_du(_1
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 31]}}
476 res
|= __lsx_vslti_du(_1
, 32); // expected-error {{argument value 32 is outside the valid range [0, 31]}}
477 res
|= __lsx_vslti_du(_1
, var
); // expected-error {{argument to '__builtin_lsx_vslti_du' must be a constant integer}}
481 v16i8
vslei_b(v16i8 _1
, int var
) {
482 v16i8 res
= __lsx_vslei_b(_1
, -17); // expected-error {{argument value -17 is outside the valid range [-16, 15]}}
483 res
|= __lsx_vslei_b(_1
, 16); // expected-error {{argument value 16 is outside the valid range [-16, 15]}}
484 res
|= __lsx_vslei_b(_1
, var
); // expected-error {{argument to '__builtin_lsx_vslei_b' must be a constant integer}}
488 v8i16
vslei_h(v8i16 _1
, int var
) {
489 v8i16 res
= __lsx_vslei_h(_1
, -17); // expected-error {{argument value -17 is outside the valid range [-16, 15]}}
490 res
|= __lsx_vslei_h(_1
, 16); // expected-error {{argument value 16 is outside the valid range [-16, 15]}}
491 res
|= __lsx_vslei_h(_1
, var
); // expected-error {{argument to '__builtin_lsx_vslei_h' must be a constant integer}}
495 v4i32
vslei_w(v4i32 _1
, int var
) {
496 v4i32 res
= __lsx_vslei_w(_1
, -17); // expected-error {{argument value -17 is outside the valid range [-16, 15]}}
497 res
|= __lsx_vslei_w(_1
, 16); // expected-error {{argument value 16 is outside the valid range [-16, 15]}}
498 res
|= __lsx_vslei_w(_1
, var
); // expected-error {{argument to '__builtin_lsx_vslei_w' must be a constant integer}}
502 v2i64
vslei_d(v2i64 _1
, int var
) {
503 v2i64 res
= __lsx_vslei_d(_1
, -17); // expected-error {{argument value -17 is outside the valid range [-16, 15]}}
504 res
|= __lsx_vslei_d(_1
, 16); // expected-error {{argument value 16 is outside the valid range [-16, 15]}}
505 res
|= __lsx_vslei_d(_1
, var
); // expected-error {{argument to '__builtin_lsx_vslei_d' must be a constant integer}}
509 v16i8
vslei_bu(v16u8 _1
, int var
) {
510 v16i8 res
= __lsx_vslei_bu(_1
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 31]}}
511 res
|= __lsx_vslei_bu(_1
, 32); // expected-error {{argument value 32 is outside the valid range [0, 31]}}
512 res
|= __lsx_vslei_bu(_1
, var
); // expected-error {{argument to '__builtin_lsx_vslei_bu' must be a constant integer}}
516 v8i16
vslei_hu(v8u16 _1
, int var
) {
517 v8i16 res
= __lsx_vslei_hu(_1
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 31]}}
518 res
|= __lsx_vslei_hu(_1
, 32); // expected-error {{argument value 32 is outside the valid range [0, 31]}}
519 res
|= __lsx_vslei_hu(_1
, var
); // expected-error {{argument to '__builtin_lsx_vslei_hu' must be a constant integer}}
523 v4i32
vslei_wu(v4u32 _1
, int var
) {
524 v4i32 res
= __lsx_vslei_wu(_1
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 31]}}
525 res
|= __lsx_vslei_wu(_1
, 32); // expected-error {{argument value 32 is outside the valid range [0, 31]}}
526 res
|= __lsx_vslei_wu(_1
, var
); // expected-error {{argument to '__builtin_lsx_vslei_wu' must be a constant integer}}
530 v2i64
vslei_du(v2u64 _1
, int var
) {
531 v2i64 res
= __lsx_vslei_du(_1
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 31]}}
532 res
|= __lsx_vslei_du(_1
, 32); // expected-error {{argument value 32 is outside the valid range [0, 31]}}
533 res
|= __lsx_vslei_du(_1
, var
); // expected-error {{argument to '__builtin_lsx_vslei_du' must be a constant integer}}
537 v16i8
vsat_b(v16i8 _1
, int var
) {
538 v16i8 res
= __lsx_vsat_b(_1
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 7]}}
539 res
|= __lsx_vsat_b(_1
, 8); // expected-error {{argument value 8 is outside the valid range [0, 7]}}
540 res
|= __lsx_vsat_b(_1
, var
); // expected-error {{argument to '__builtin_lsx_vsat_b' must be a constant integer}}
544 v8i16
vsat_h(v8i16 _1
, int var
) {
545 v8i16 res
= __lsx_vsat_h(_1
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 15]}}
546 res
|= __lsx_vsat_h(_1
, 16); // expected-error {{argument value 16 is outside the valid range [0, 15]}}
547 res
|= __lsx_vsat_h(_1
, var
); // expected-error {{argument to '__builtin_lsx_vsat_h' must be a constant integer}}
551 v4i32
vsat_w(v4i32 _1
, int var
) {
552 v4i32 res
= __lsx_vsat_w(_1
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 31]}}
553 res
|= __lsx_vsat_w(_1
, 32); // expected-error {{argument value 32 is outside the valid range [0, 31]}}
554 res
|= __lsx_vsat_w(_1
, var
); // expected-error {{argument to '__builtin_lsx_vsat_w' must be a constant integer}}
558 v2i64
vsat_d(v2i64 _1
, int var
) {
559 v2i64 res
= __lsx_vsat_d(_1
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 63]}}
560 res
|= __lsx_vsat_d(_1
, 64); // expected-error {{argument value 64 is outside the valid range [0, 63]}}
561 res
|= __lsx_vsat_d(_1
, var
); // expected-error {{argument to '__builtin_lsx_vsat_d' must be a constant integer}}
565 v16u8
vsat_bu(v16u8 _1
, int var
) {
566 v16u8 res
= __lsx_vsat_bu(_1
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 7]}}
567 res
|= __lsx_vsat_bu(_1
, 8); // expected-error {{argument value 8 is outside the valid range [0, 7]}}
568 res
|= __lsx_vsat_bu(_1
, var
); // expected-error {{argument to '__builtin_lsx_vsat_bu' must be a constant integer}}
572 v8u16
vsat_hu(v8u16 _1
, int var
) {
573 v8u16 res
= __lsx_vsat_hu(_1
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 15]}}
574 res
|= __lsx_vsat_hu(_1
, 16); // expected-error {{argument value 16 is outside the valid range [0, 15]}}
575 res
|= __lsx_vsat_hu(_1
, var
); // expected-error {{argument to '__builtin_lsx_vsat_hu' must be a constant integer}}
579 v4u32
vsat_wu(v4u32 _1
, int var
) {
580 v4u32 res
= __lsx_vsat_wu(_1
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 31]}}
581 res
|= __lsx_vsat_wu(_1
, 32); // expected-error {{argument value 32 is outside the valid range [0, 31]}}
582 res
|= __lsx_vsat_wu(_1
, var
); // expected-error {{argument to '__builtin_lsx_vsat_wu' must be a constant integer}}
586 v2u64
vsat_du(v2u64 _1
, int var
) {
587 v2u64 res
= __lsx_vsat_du(_1
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 63]}}
588 res
|= __lsx_vsat_du(_1
, 64); // expected-error {{argument value 64 is outside the valid range [0, 63]}}
589 res
|= __lsx_vsat_du(_1
, var
); // expected-error {{argument to '__builtin_lsx_vsat_du' must be a constant integer}}
593 v16i8
vreplvei_b(v16i8 _1
, int var
) {
594 v16i8 res
= __lsx_vreplvei_b(_1
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 15]}}
595 res
|= __lsx_vreplvei_b(_1
, 16); // expected-error {{argument value 16 is outside the valid range [0, 15]}}
596 res
|= __lsx_vreplvei_b(_1
, var
); // expected-error {{argument to '__builtin_lsx_vreplvei_b' must be a constant integer}}
600 v8i16
vreplvei_h(v8i16 _1
, int var
) {
601 v8i16 res
= __lsx_vreplvei_h(_1
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 7]}}
602 res
|= __lsx_vreplvei_h(_1
, 8); // expected-error {{argument value 8 is outside the valid range [0, 7]}}
603 res
|= __lsx_vreplvei_h(_1
, var
); // expected-error {{argument to '__builtin_lsx_vreplvei_h' must be a constant integer}}
607 v4i32
vreplvei_w(v4i32 _1
, int var
) {
608 v4i32 res
= __lsx_vreplvei_w(_1
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 3]}}
609 res
|= __lsx_vreplvei_w(_1
, 4); // expected-error {{argument value 4 is outside the valid range [0, 3]}}
610 res
|= __lsx_vreplvei_w(_1
, var
); // expected-error {{argument to '__builtin_lsx_vreplvei_w' must be a constant integer}}
614 v2i64
vreplvei_d(v2i64 _1
, int var
) {
615 v2i64 res
= __lsx_vreplvei_d(_1
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 1]}}
616 res
|= __lsx_vreplvei_d(_1
, 2); // expected-error {{argument value 2 is outside the valid range [0, 1]}}
617 res
|= __lsx_vreplvei_d(_1
, var
); // expected-error {{argument to '__builtin_lsx_vreplvei_d' must be a constant integer}}
621 v16u8
vandi_b(v16u8 _1
, int var
) {
622 v16u8 res
= __lsx_vandi_b(_1
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 255]}}
623 res
|= __lsx_vandi_b(_1
, 256); // expected-error {{argument value 256 is outside the valid range [0, 255]}}
624 res
|= __lsx_vandi_b(_1
, var
); // expected-error {{argument to '__builtin_lsx_vandi_b' must be a constant integer}}
628 v16u8
vori_b(v16u8 _1
, int var
) {
629 v16u8 res
= __lsx_vori_b(_1
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 255]}}
630 res
|= __lsx_vori_b(_1
, 256); // expected-error {{argument value 256 is outside the valid range [0, 255]}}
631 res
|= __lsx_vori_b(_1
, var
); // expected-error {{argument to '__builtin_lsx_vori_b' must be a constant integer}}
635 v16u8
vnori_b(v16u8 _1
, int var
) {
636 v16u8 res
= __lsx_vnori_b(_1
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 255]}}
637 res
|= __lsx_vnori_b(_1
, 256); // expected-error {{argument value 256 is outside the valid range [0, 255]}}
638 res
|= __lsx_vnori_b(_1
, var
); // expected-error {{argument to '__builtin_lsx_vnori_b' must be a constant integer}}
642 v16u8
vxori_b(v16u8 _1
, int var
) {
643 v16u8 res
= __lsx_vxori_b(_1
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 255]}}
644 res
|= __lsx_vxori_b(_1
, 256); // expected-error {{argument value 256 is outside the valid range [0, 255]}}
645 res
|= __lsx_vxori_b(_1
, var
); // expected-error {{argument to '__builtin_lsx_vxori_b' must be a constant integer}}
649 v16u8
vbitseli_b(v16u8 _1
, v16u8 _2
, int var
) {
650 v16u8 res
= __lsx_vbitseli_b(_1
, _2
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 255]}}
651 res
|= __lsx_vbitseli_b(_1
, _2
, 256); // expected-error {{argument value 256 is outside the valid range [0, 255]}}
652 res
|= __lsx_vbitseli_b(_1
, _2
, var
); // expected-error {{argument to '__builtin_lsx_vbitseli_b' must be a constant integer}}
656 v16i8
vshuf4i_b(v16i8 _1
, int var
) {
657 v16i8 res
= __lsx_vshuf4i_b(_1
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 255]}}
658 res
|= __lsx_vshuf4i_b(_1
, 256); // expected-error {{argument value 256 is outside the valid range [0, 255]}}
659 res
|= __lsx_vshuf4i_b(_1
, var
); // expected-error {{argument to '__builtin_lsx_vshuf4i_b' must be a constant integer}}
663 v8i16
vshuf4i_h(v8i16 _1
, int var
) {
664 v8i16 res
= __lsx_vshuf4i_h(_1
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 255]}}
665 res
|= __lsx_vshuf4i_h(_1
, 256); // expected-error {{argument value 256 is outside the valid range [0, 255]}}
666 res
|= __lsx_vshuf4i_h(_1
, var
); // expected-error {{argument to '__builtin_lsx_vshuf4i_h' must be a constant integer}}
670 v4i32
vshuf4i_w(v4i32 _1
, int var
) {
671 v4i32 res
= __lsx_vshuf4i_w(_1
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 255]}}
672 res
|= __lsx_vshuf4i_w(_1
, 256); // expected-error {{argument value 256 is outside the valid range [0, 255]}}
673 res
|= __lsx_vshuf4i_w(_1
, var
); // expected-error {{argument to '__builtin_lsx_vshuf4i_w' must be a constant integer}}
677 int vpickve2gr_b(v16i8 _1
, int var
) {
678 int res
= __lsx_vpickve2gr_b(_1
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 15]}}
679 res
|= __lsx_vpickve2gr_b(_1
, 16); // expected-error {{argument value 16 is outside the valid range [0, 15]}}
680 res
|= __lsx_vpickve2gr_b(_1
, var
); // expected-error {{argument to '__builtin_lsx_vpickve2gr_b' must be a constant integer}}
684 int vpickve2gr_h(v8i16 _1
, int var
) {
685 int res
= __lsx_vpickve2gr_h(_1
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 7]}}
686 res
|= __lsx_vpickve2gr_h(_1
, 8); // expected-error {{argument value 8 is outside the valid range [0, 7]}}
687 res
|= __lsx_vpickve2gr_h(_1
, var
); // expected-error {{argument to '__builtin_lsx_vpickve2gr_h' must be a constant integer}}
691 int vpickve2gr_w(v4i32 _1
, int var
) {
692 int res
= __lsx_vpickve2gr_w(_1
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 3]}}
693 res
|= __lsx_vpickve2gr_w(_1
, 4); // expected-error {{argument value 4 is outside the valid range [0, 3]}}
694 res
|= __lsx_vpickve2gr_w(_1
, var
); // expected-error {{argument to '__builtin_lsx_vpickve2gr_w' must be a constant integer}}
698 long vpickve2gr_d(v2i64 _1
, int var
) {
699 long res
= __lsx_vpickve2gr_d(_1
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 1]}}
700 res
|= __lsx_vpickve2gr_d(_1
, 2); // expected-error {{argument value 2 is outside the valid range [0, 1]}}
701 res
|= __lsx_vpickve2gr_d(_1
, var
); // expected-error {{argument to '__builtin_lsx_vpickve2gr_d' must be a constant integer}}
705 unsigned int vpickve2gr_bu(v16i8 _1
, int var
) {
706 unsigned int res
= __lsx_vpickve2gr_bu(_1
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 15]}}
707 res
|= __lsx_vpickve2gr_bu(_1
, 16); // expected-error {{argument value 16 is outside the valid range [0, 15]}}
708 res
|= __lsx_vpickve2gr_bu(_1
, var
); // expected-error {{argument to '__builtin_lsx_vpickve2gr_bu' must be a constant integer}}
712 unsigned int vpickve2gr_hu(v8i16 _1
, int var
) {
713 unsigned int res
= __lsx_vpickve2gr_hu(_1
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 7]}}
714 res
|= __lsx_vpickve2gr_hu(_1
, 8); // expected-error {{argument value 8 is outside the valid range [0, 7]}}
715 res
|= __lsx_vpickve2gr_hu(_1
, var
); // expected-error {{argument to '__builtin_lsx_vpickve2gr_hu' must be a constant integer}}
719 unsigned int vpickve2gr_wu(v4i32 _1
, int var
) {
720 unsigned int res
= __lsx_vpickve2gr_wu(_1
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 3]}}
721 res
|= __lsx_vpickve2gr_wu(_1
, 4); // expected-error {{argument value 4 is outside the valid range [0, 3]}}
722 res
|= __lsx_vpickve2gr_wu(_1
, var
); // expected-error {{argument to '__builtin_lsx_vpickve2gr_wu' must be a constant integer}}
726 unsigned long int vpickve2gr_du(v2i64 _1
, int var
) {
727 unsigned long int res
= __lsx_vpickve2gr_du(_1
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 1]}}
728 res
|= __lsx_vpickve2gr_du(_1
, 2); // expected-error {{argument value 2 is outside the valid range [0, 1]}}
729 res
|= __lsx_vpickve2gr_du(_1
, var
); // expected-error {{argument to '__builtin_lsx_vpickve2gr_du' must be a constant integer}}
733 v16i8
vinsgr2vr_b(v16i8 _1
, int var
) {
734 v16i8 res
= __lsx_vinsgr2vr_b(_1
, 1, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 15]}}
735 res
|= __lsx_vinsgr2vr_b(_1
, 1, 16); // expected-error {{argument value 16 is outside the valid range [0, 15]}}
736 res
|= __lsx_vinsgr2vr_b(_1
, 1, var
); // expected-error {{argument to '__builtin_lsx_vinsgr2vr_b' must be a constant integer}}
740 v8i16
vinsgr2vr_h(v8i16 _1
, int var
) {
741 v8i16 res
= __lsx_vinsgr2vr_h(_1
, 1, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 7]}}
742 res
|= __lsx_vinsgr2vr_h(_1
, 1, 8); // expected-error {{argument value 8 is outside the valid range [0, 7]}}
743 res
|= __lsx_vinsgr2vr_h(_1
, 1, var
); // expected-error {{argument to '__builtin_lsx_vinsgr2vr_h' must be a constant integer}}
747 v4i32
vinsgr2vr_w(v4i32 _1
, int var
) {
748 v4i32 res
= __lsx_vinsgr2vr_w(_1
, 1, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 3]}}
749 res
|= __lsx_vinsgr2vr_w(_1
, 1, 4); // expected-error {{argument value 4 is outside the valid range [0, 3]}}
750 res
|= __lsx_vinsgr2vr_w(_1
, 1, var
); // expected-error {{argument to '__builtin_lsx_vinsgr2vr_w' must be a constant integer}}
754 v2i64
vinsgr2vr_d(v2i64 _1
, int var
) {
755 v2i64 res
= __lsx_vinsgr2vr_d(_1
, 1, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 1]}}
756 res
|= __lsx_vinsgr2vr_d(_1
, 1, 2); // expected-error {{argument value 2 is outside the valid range [0, 1]}}
757 res
|= __lsx_vinsgr2vr_d(_1
, 1, var
); // expected-error {{argument to '__builtin_lsx_vinsgr2vr_d' must be a constant integer}}
761 v8i16
vsllwil_h_b(v16i8 _1
, int var
) {
762 v8i16 res
= __lsx_vsllwil_h_b(_1
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 7]}}
763 res
|= __lsx_vsllwil_h_b(_1
, 8); // expected-error {{argument value 8 is outside the valid range [0, 7]}}
764 res
|= __lsx_vsllwil_h_b(_1
, var
); // expected-error {{argument to '__builtin_lsx_vsllwil_h_b' must be a constant integer}}
768 v4i32
vsllwil_w_h(v8i16 _1
, int var
) {
769 v4i32 res
= __lsx_vsllwil_w_h(_1
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 15]}}
770 res
|= __lsx_vsllwil_w_h(_1
, 16); // expected-error {{argument value 16 is outside the valid range [0, 15]}}
771 res
|= __lsx_vsllwil_w_h(_1
, var
); // expected-error {{argument to '__builtin_lsx_vsllwil_w_h' must be a constant integer}}
775 v2i64
vsllwil_d_w(v4i32 _1
, int var
) {
776 v2i64 res
= __lsx_vsllwil_d_w(_1
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 31]}}
777 res
|= __lsx_vsllwil_d_w(_1
, 32); // expected-error {{argument value 32 is outside the valid range [0, 31]}}
778 res
|= __lsx_vsllwil_d_w(_1
, var
); // expected-error {{argument to '__builtin_lsx_vsllwil_d_w' must be a constant integer}}
782 v8u16
vsllwil_hu_bu(v16u8 _1
, int var
) {
783 v8u16 res
= __lsx_vsllwil_hu_bu(_1
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 7]}}
784 res
|= __lsx_vsllwil_hu_bu(_1
, 8); // expected-error {{argument value 8 is outside the valid range [0, 7]}}
785 res
|= __lsx_vsllwil_hu_bu(_1
, var
); // expected-error {{argument to '__builtin_lsx_vsllwil_hu_bu' must be a constant integer}}
789 v4u32
vsllwil_wu_hu(v8u16 _1
, int var
) {
790 v4u32 res
= __lsx_vsllwil_wu_hu(_1
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 15]}}
791 res
|= __lsx_vsllwil_wu_hu(_1
, 16); // expected-error {{argument value 16 is outside the valid range [0, 15]}}
792 res
|= __lsx_vsllwil_wu_hu(_1
, var
); // expected-error {{argument to '__builtin_lsx_vsllwil_wu_hu' must be a constant integer}}
796 v2u64
vsllwil_du_wu(v4u32 _1
, int var
) {
797 v2u64 res
= __lsx_vsllwil_du_wu(_1
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 31]}}
798 res
|= __lsx_vsllwil_du_wu(_1
, 32); // expected-error {{argument value 32 is outside the valid range [0, 31]}}
799 res
|= __lsx_vsllwil_du_wu(_1
, var
); // expected-error {{argument to '__builtin_lsx_vsllwil_du_wu' must be a constant integer}}
803 v16i8
vfrstpi_b(v16i8 _1
, v16i8 _2
, int var
) {
804 v16i8 res
= __lsx_vfrstpi_b(_1
, _2
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 31]}}
805 res
|= __lsx_vfrstpi_b(_1
, _2
, 32); // expected-error {{argument value 32 is outside the valid range [0, 31]}}
806 res
|= __lsx_vfrstpi_b(_1
, _2
, var
); // expected-error {{argument to '__builtin_lsx_vfrstpi_b' must be a constant integer}}
810 v8i16
vfrstpi_h(v8i16 _1
, v8i16 _2
, int var
) {
811 v8i16 res
= __lsx_vfrstpi_h(_1
, _2
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 31]}}
812 res
|= __lsx_vfrstpi_h(_1
, _2
, 32); // expected-error {{argument value 32 is outside the valid range [0, 31]}}
813 res
|= __lsx_vfrstpi_h(_1
, _2
, var
); // expected-error {{argument to '__builtin_lsx_vfrstpi_h' must be a constant integer}}
817 v2i64
vshuf4i_d(v2i64 _1
, v2i64 _2
, int var
) {
818 v2i64 res
= __lsx_vshuf4i_d(_1
, _2
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 255]}}
819 res
|= __lsx_vshuf4i_d(_1
, _2
, 256); // expected-error {{argument value 256 is outside the valid range [0, 255]}}
820 res
|= __lsx_vshuf4i_d(_1
, _2
, var
); // expected-error {{argument to '__builtin_lsx_vshuf4i_d' must be a constant integer}}
824 v16i8
vbsrl_v(v16i8 _1
, int var
) {
825 v16i8 res
= __lsx_vbsrl_v(_1
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 31]}}
826 res
|= __lsx_vbsrl_v(_1
, 32); // expected-error {{argument value 32 is outside the valid range [0, 31]}}
827 res
|= __lsx_vbsrl_v(_1
, var
); // expected-error {{argument to '__builtin_lsx_vbsrl_v' must be a constant integer}}
831 v16i8
vbsll_v(v16i8 _1
, int var
) {
832 v16i8 res
= __lsx_vbsll_v(_1
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 31]}}
833 res
|= __lsx_vbsll_v(_1
, 32); // expected-error {{argument value 32 is outside the valid range [0, 31]}}
834 res
|= __lsx_vbsll_v(_1
, var
); // expected-error {{argument to '__builtin_lsx_vbsll_v' must be a constant integer}}
838 v16i8
vextrins_b(v16i8 _1
, v16i8 _2
, int var
) {
839 v16i8 res
= __lsx_vextrins_b(_1
, _2
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 255]}}
840 res
|= __lsx_vextrins_b(_1
, _2
, 256); // expected-error {{argument value 256 is outside the valid range [0, 255]}}
841 res
|= __lsx_vextrins_b(_1
, _2
, var
); // expected-error {{argument to '__builtin_lsx_vextrins_b' must be a constant integer}}
845 v8i16
vextrins_h(v8i16 _1
, v8i16 _2
, int var
) {
846 v8i16 res
= __lsx_vextrins_h(_1
, _2
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 255]}}
847 res
|= __lsx_vextrins_h(_1
, _2
, 256); // expected-error {{argument value 256 is outside the valid range [0, 255]}}
848 res
|= __lsx_vextrins_h(_1
, _2
, var
); // expected-error {{argument to '__builtin_lsx_vextrins_h' must be a constant integer}}
852 v4i32
vextrins_w(v4i32 _1
, v4i32 _2
, int var
) {
853 v4i32 res
= __lsx_vextrins_w(_1
, _2
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 255]}}
854 res
|= __lsx_vextrins_w(_1
, _2
, 256); // expected-error {{argument value 256 is outside the valid range [0, 255]}}
855 res
|= __lsx_vextrins_w(_1
, _2
, var
); // expected-error {{argument to '__builtin_lsx_vextrins_w' must be a constant integer}}
859 v2i64
vextrins_d(v2i64 _1
, v2i64 _2
, int var
) {
860 v2i64 res
= __lsx_vextrins_d(_1
, _2
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 255]}}
861 res
|= __lsx_vextrins_d(_1
, _2
, 256); // expected-error {{argument value 256 is outside the valid range [0, 255]}}
862 res
|= __lsx_vextrins_d(_1
, _2
, var
); // expected-error {{argument to '__builtin_lsx_vextrins_d' must be a constant integer}}
866 void vstelm_b_idx(v16i8 _1
, void *_2
, int var
) {
867 __lsx_vstelm_b(_1
, _2
, 1, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 15]}}
868 __lsx_vstelm_b(_1
, _2
, 1, 16); // expected-error {{argument value 16 is outside the valid range [0, 15]}}
869 __lsx_vstelm_b(_1
, _2
, 1, var
); // expected-error {{argument to '__builtin_lsx_vstelm_b' must be a constant integer}}
872 void vstelm_h_idx(v8i16 _1
, void *_2
, int var
) {
873 __lsx_vstelm_h(_1
, _2
, 2, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 7]}}
874 __lsx_vstelm_h(_1
, _2
, 2, 8); // expected-error {{argument value 8 is outside the valid range [0, 7]}}
875 __lsx_vstelm_h(_1
, _2
, 2, var
); // expected-error {{argument to '__builtin_lsx_vstelm_h' must be a constant integer}}
878 void vstelm_w_idx(v4i32 _1
, void *_2
, int var
) {
879 __lsx_vstelm_w(_1
, _2
, 4, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 3]}}
880 __lsx_vstelm_w(_1
, _2
, 4, 4); // expected-error {{argument value 4 is outside the valid range [0, 3]}}
881 __lsx_vstelm_w(_1
, _2
, 4, var
); // expected-error {{argument to '__builtin_lsx_vstelm_w' must be a constant integer}}
884 void vstelm_d_idx(v2i64 _1
, void *_2
, int var
) {
885 __lsx_vstelm_d(_1
, _2
, 8, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 1]}}
886 __lsx_vstelm_d(_1
, _2
, 8, 2); // expected-error {{argument value 2 is outside the valid range [0, 1]}}
887 __lsx_vstelm_d(_1
, _2
, 8, var
); // expected-error {{argument to '__builtin_lsx_vstelm_d' must be a constant integer}}
890 void vstelm_b(v16i8 _1
, void *_2
, int var
) {
891 __lsx_vstelm_b(_1
, _2
, -129, 1); // expected-error {{argument value -129 is outside the valid range [-128, 127]}}
892 __lsx_vstelm_b(_1
, _2
, 128, 1); // expected-error {{argument value 128 is outside the valid range [-128, 127]}}
893 __lsx_vstelm_b(_1
, _2
, var
, 1); // expected-error {{argument to '__builtin_lsx_vstelm_b' must be a constant integer}}
896 void vstelm_h(v8i16 _1
, void *_2
, int var
) {
897 __lsx_vstelm_h(_1
, _2
, -258, 1); // expected-error {{argument value -258 is outside the valid range [-256, 254]}}
898 __lsx_vstelm_h(_1
, _2
, 256, 1); // expected-error {{argument value 256 is outside the valid range [-256, 254]}}
899 __lsx_vstelm_h(_1
, _2
, var
, 1); // expected-error {{argument to '__builtin_lsx_vstelm_h' must be a constant integer}}
902 void vstelm_w(v4i32 _1
, void *_2
, int var
) {
903 __lsx_vstelm_w(_1
, _2
, -516, 1); // expected-error {{argument value -516 is outside the valid range [-512, 508]}}
904 __lsx_vstelm_w(_1
, _2
, 512, 1); // expected-error {{argument value 512 is outside the valid range [-512, 508]}}
905 __lsx_vstelm_w(_1
, _2
, var
, 1); // expected-error {{argument to '__builtin_lsx_vstelm_w' must be a constant integer}}
908 void vstelm_d(v2i64 _1
, void *_2
, int var
) {
909 __lsx_vstelm_d(_1
, _2
, -1032, 1); // expected-error {{argument value -1032 is outside the valid range [-1024, 1016]}}
910 __lsx_vstelm_d(_1
, _2
, 1024, 1); // expected-error {{argument value 1024 is outside the valid range [-1024, 1016]}}
911 __lsx_vstelm_d(_1
, _2
, var
, 1); // expected-error {{argument to '__builtin_lsx_vstelm_d' must be a constant integer}}
914 v16i8
vldrepl_b(void *_1
, int var
) {
915 v16i8 res
= __lsx_vldrepl_b(_1
, -2049); // expected-error {{argument value -2049 is outside the valid range [-2048, 2047]}}
916 res
|= __lsx_vldrepl_b(_1
, 2048); // expected-error {{argument value 2048 is outside the valid range [-2048, 2047]}}
917 res
|= __lsx_vldrepl_b(_1
, var
); // expected-error {{argument to '__builtin_lsx_vldrepl_b' must be a constant integer}}
921 v8i16
vldrepl_h(void *_1
, int var
) {
922 v8i16 res
= __lsx_vldrepl_h(_1
, -2050); // expected-error {{argument value -2050 is outside the valid range [-2048, 2046]}}
923 res
|= __lsx_vldrepl_h(_1
, 2048); // expected-error {{argument value 2048 is outside the valid range [-2048, 2046]}}
924 res
|= __lsx_vldrepl_h(_1
, var
); // expected-error {{argument to '__builtin_lsx_vldrepl_h' must be a constant integer}}
928 v4i32
vldrepl_w(void *_1
, int var
) {
929 v4i32 res
= __lsx_vldrepl_w(_1
, -2052); // expected-error {{argument value -2052 is outside the valid range [-2048, 2044]}}
930 res
|= __lsx_vldrepl_w(_1
, 2048); // expected-error {{argument value 2048 is outside the valid range [-2048, 2044]}}
931 res
|= __lsx_vldrepl_w(_1
, var
); // expected-error {{argument to '__builtin_lsx_vldrepl_w' must be a constant integer}}
935 v2i64
vldrepl_d(void *_1
, int var
) {
936 v2i64 res
= __lsx_vldrepl_d(_1
, -2056); // expected-error {{argument value -2056 is outside the valid range [-2048, 2040]}}
937 res
|= __lsx_vldrepl_d(_1
, 2048); // expected-error {{argument value 2048 is outside the valid range [-2048, 2040]}}
938 res
|= __lsx_vldrepl_d(_1
, var
); // expected-error {{argument to '__builtin_lsx_vldrepl_d' must be a constant integer}}
942 v16i8
vrotri_b(v16i8 _1
, int var
) {
943 v16i8 res
= __lsx_vrotri_b(_1
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 7]}}
944 res
|= __lsx_vrotri_b(_1
, 8); // expected-error {{argument value 8 is outside the valid range [0, 7]}}
945 res
|= __lsx_vrotri_b(_1
, var
); // expected-error {{argument to '__builtin_lsx_vrotri_b' must be a constant integer}}
949 v8i16
vrotri_h(v8i16 _1
, int var
) {
950 v8i16 res
= __lsx_vrotri_h(_1
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 15]}}
951 res
|= __lsx_vrotri_h(_1
, 16); // expected-error {{argument value 16 is outside the valid range [0, 15]}}
952 res
|= __lsx_vrotri_h(_1
, var
); // expected-error {{argument to '__builtin_lsx_vrotri_h' must be a constant integer}}
956 v4i32
vrotri_w(v4i32 _1
, int var
) {
957 v4i32 res
= __lsx_vrotri_w(_1
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 31]}}
958 res
|= __lsx_vrotri_w(_1
, 32); // expected-error {{argument value 32 is outside the valid range [0, 31]}}
959 res
|= __lsx_vrotri_w(_1
, var
); // expected-error {{argument to '__builtin_lsx_vrotri_w' must be a constant integer}}
963 v2i64
vrotri_d(v2i64 _1
, int var
) {
964 v2i64 res
= __lsx_vrotri_d(_1
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 63]}}
965 res
|= __lsx_vrotri_d(_1
, 64); // expected-error {{argument value 64 is outside the valid range [0, 63]}}
966 res
|= __lsx_vrotri_d(_1
, var
); // expected-error {{argument to '__builtin_lsx_vrotri_d' must be a constant integer}}
970 v16i8
vsrlni_b_h(v16i8 _1
, v16i8 _2
, int var
) {
971 v16i8 res
= __lsx_vsrlni_b_h(_1
, _2
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 15]}}
972 res
|= __lsx_vsrlni_b_h(_1
, _2
, 16); // expected-error {{argument value 16 is outside the valid range [0, 15]}}
973 res
|= __lsx_vsrlni_b_h(_1
, _2
, var
); // expected-error {{argument to '__builtin_lsx_vsrlni_b_h' must be a constant integer}}
977 v8i16
vsrlni_h_w(v8i16 _1
, v8i16 _2
, int var
) {
978 v8i16 res
= __lsx_vsrlni_h_w(_1
, _2
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 31]}}
979 res
|= __lsx_vsrlni_h_w(_1
, _2
, 32); // expected-error {{argument value 32 is outside the valid range [0, 31]}}
980 res
|= __lsx_vsrlni_h_w(_1
, _2
, var
); // expected-error {{argument to '__builtin_lsx_vsrlni_h_w' must be a constant integer}}
984 v4i32
vsrlni_w_d(v4i32 _1
, v4i32 _2
, int var
) {
985 v4i32 res
= __lsx_vsrlni_w_d(_1
, _2
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 63]}}
986 res
|= __lsx_vsrlni_w_d(_1
, _2
, 64); // expected-error {{argument value 64 is outside the valid range [0, 63]}}
987 res
|= __lsx_vsrlni_w_d(_1
, _2
, var
); // expected-error {{argument to '__builtin_lsx_vsrlni_w_d' must be a constant integer}}
991 v2i64
vsrlni_d_q(v2i64 _1
, v2i64 _2
, int var
) {
992 v2i64 res
= __lsx_vsrlni_d_q(_1
, _2
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 127]}}
993 res
|= __lsx_vsrlni_d_q(_1
, _2
, 128); // expected-error {{argument value 128 is outside the valid range [0, 127]}}
994 res
|= __lsx_vsrlni_d_q(_1
, _2
, var
); // expected-error {{argument to '__builtin_lsx_vsrlni_d_q' must be a constant integer}}
998 v16i8
vsrlrni_b_h(v16i8 _1
, v16i8 _2
, int var
) {
999 v16i8 res
= __lsx_vsrlrni_b_h(_1
, _2
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 15]}}
1000 res
|= __lsx_vsrlrni_b_h(_1
, _2
, 16); // expected-error {{argument value 16 is outside the valid range [0, 15]}}
1001 res
|= __lsx_vsrlrni_b_h(_1
, _2
, var
); // expected-error {{argument to '__builtin_lsx_vsrlrni_b_h' must be a constant integer}}
1005 v8i16
vsrlrni_h_w(v8i16 _1
, v8i16 _2
, int var
) {
1006 v8i16 res
= __lsx_vsrlrni_h_w(_1
, _2
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 31]}}
1007 res
|= __lsx_vsrlrni_h_w(_1
, _2
, 32); // expected-error {{argument value 32 is outside the valid range [0, 31]}}
1008 res
|= __lsx_vsrlrni_h_w(_1
, _2
, var
); // expected-error {{argument to '__builtin_lsx_vsrlrni_h_w' must be a constant integer}}
1012 v4i32
vsrlrni_w_d(v4i32 _1
, v4i32 _2
, int var
) {
1013 v4i32 res
= __lsx_vsrlrni_w_d(_1
, _2
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 63]}}
1014 res
|= __lsx_vsrlrni_w_d(_1
, _2
, 64); // expected-error {{argument value 64 is outside the valid range [0, 63]}}
1015 res
|= __lsx_vsrlrni_w_d(_1
, _2
, var
); // expected-error {{argument to '__builtin_lsx_vsrlrni_w_d' must be a constant integer}}
1019 v2i64
vsrlrni_d_q(v2i64 _1
, v2i64 _2
, int var
) {
1020 v2i64 res
= __lsx_vsrlrni_d_q(_1
, _2
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 127]}}
1021 res
|= __lsx_vsrlrni_d_q(_1
, _2
, 128); // expected-error {{argument value 128 is outside the valid range [0, 127]}}
1022 res
|= __lsx_vsrlrni_d_q(_1
, _2
, var
); // expected-error {{argument to '__builtin_lsx_vsrlrni_d_q' must be a constant integer}}
1026 v16i8
vssrlni_b_h(v16i8 _1
, v16i8 _2
, int var
) {
1027 v16i8 res
= __lsx_vssrlni_b_h(_1
, _2
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 15]}}
1028 res
|= __lsx_vssrlni_b_h(_1
, _2
, 16); // expected-error {{argument value 16 is outside the valid range [0, 15]}}
1029 res
|= __lsx_vssrlni_b_h(_1
, _2
, var
); // expected-error {{argument to '__builtin_lsx_vssrlni_b_h' must be a constant integer}}
1033 v8i16
vssrlni_h_w(v8i16 _1
, v8i16 _2
, int var
) {
1034 v8i16 res
= __lsx_vssrlni_h_w(_1
, _2
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 31]}}
1035 res
|= __lsx_vssrlni_h_w(_1
, _2
, 32); // expected-error {{argument value 32 is outside the valid range [0, 31]}}
1036 res
|= __lsx_vssrlni_h_w(_1
, _2
, var
); // expected-error {{argument to '__builtin_lsx_vssrlni_h_w' must be a constant integer}}
1040 v4i32
vssrlni_w_d(v4i32 _1
, v4i32 _2
, int var
) {
1041 v4i32 res
= __lsx_vssrlni_w_d(_1
, _2
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 63]}}
1042 res
|= __lsx_vssrlni_w_d(_1
, _2
, 64); // expected-error {{argument value 64 is outside the valid range [0, 63]}}
1043 res
|= __lsx_vssrlni_w_d(_1
, _2
, var
); // expected-error {{argument to '__builtin_lsx_vssrlni_w_d' must be a constant integer}}
1047 v2i64
vssrlni_d_q(v2i64 _1
, v2i64 _2
, int var
) {
1048 v2i64 res
= __lsx_vssrlni_d_q(_1
, _2
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 127]}}
1049 res
|= __lsx_vssrlni_d_q(_1
, _2
, 128); // expected-error {{argument value 128 is outside the valid range [0, 127]}}
1050 res
|= __lsx_vssrlni_d_q(_1
, _2
, var
); // expected-error {{argument to '__builtin_lsx_vssrlni_d_q' must be a constant integer}}
1054 v16u8
vssrlni_bu_h(v16u8 _1
, v16i8 _2
, int var
) {
1055 v16u8 res
= __lsx_vssrlni_bu_h(_1
, _2
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 15]}}
1056 res
|= __lsx_vssrlni_bu_h(_1
, _2
, 16); // expected-error {{argument value 16 is outside the valid range [0, 15]}}
1057 res
|= __lsx_vssrlni_bu_h(_1
, _2
, var
); // expected-error {{argument to '__builtin_lsx_vssrlni_bu_h' must be a constant integer}}
1061 v8u16
vssrlni_hu_w(v8u16 _1
, v8i16 _2
, int var
) {
1062 v8u16 res
= __lsx_vssrlni_hu_w(_1
, _2
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 31]}}
1063 res
|= __lsx_vssrlni_hu_w(_1
, _2
, 32); // expected-error {{argument value 32 is outside the valid range [0, 31]}}
1064 res
|= __lsx_vssrlni_hu_w(_1
, _2
, var
); // expected-error {{argument to '__builtin_lsx_vssrlni_hu_w' must be a constant integer}}
1068 v4u32
vssrlni_wu_d(v4u32 _1
, v4i32 _2
, int var
) {
1069 v4u32 res
= __lsx_vssrlni_wu_d(_1
, _2
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 63]}}
1070 res
|= __lsx_vssrlni_wu_d(_1
, _2
, 64); // expected-error {{argument value 64 is outside the valid range [0, 63]}}
1071 res
|= __lsx_vssrlni_wu_d(_1
, _2
, var
); // expected-error {{argument to '__builtin_lsx_vssrlni_wu_d' must be a constant integer}}
1075 v2u64
vssrlni_du_q(v2u64 _1
, v2i64 _2
, int var
) {
1076 v2u64 res
= __lsx_vssrlni_du_q(_1
, _2
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 127]}}
1077 res
|= __lsx_vssrlni_du_q(_1
, _2
, 128); // expected-error {{argument value 128 is outside the valid range [0, 127]}}
1078 res
|= __lsx_vssrlni_du_q(_1
, _2
, var
); // expected-error {{argument to '__builtin_lsx_vssrlni_du_q' must be a constant integer}}
1082 v16i8
vssrlrni_b_h(v16i8 _1
, v16i8 _2
, int var
) {
1083 v16i8 res
= __lsx_vssrlrni_b_h(_1
, _2
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 15]}}
1084 res
|= __lsx_vssrlrni_b_h(_1
, _2
, 16); // expected-error {{argument value 16 is outside the valid range [0, 15]}}
1085 res
|= __lsx_vssrlrni_b_h(_1
, _2
, var
); // expected-error {{argument to '__builtin_lsx_vssrlrni_b_h' must be a constant integer}}
1089 v8i16
vssrlrni_h_w(v8i16 _1
, v8i16 _2
, int var
) {
1090 v8i16 res
= __lsx_vssrlrni_h_w(_1
, _2
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 31]}}
1091 res
|= __lsx_vssrlrni_h_w(_1
, _2
, 32); // expected-error {{argument value 32 is outside the valid range [0, 31]}}
1092 res
|= __lsx_vssrlrni_h_w(_1
, _2
, var
); // expected-error {{argument to '__builtin_lsx_vssrlrni_h_w' must be a constant integer}}
1096 v4i32
vssrlrni_w_d(v4i32 _1
, v4i32 _2
, int var
) {
1097 v4i32 res
= __lsx_vssrlrni_w_d(_1
, _2
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 63]}}
1098 res
|= __lsx_vssrlrni_w_d(_1
, _2
, 64); // expected-error {{argument value 64 is outside the valid range [0, 63]}}
1099 res
|= __lsx_vssrlrni_w_d(_1
, _2
, var
); // expected-error {{argument to '__builtin_lsx_vssrlrni_w_d' must be a constant integer}}
1103 v2i64
vssrlrni_d_q(v2i64 _1
, v2i64 _2
, int var
) {
1104 v2i64 res
= __lsx_vssrlrni_d_q(_1
, _2
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 127]}}
1105 res
|= __lsx_vssrlrni_d_q(_1
, _2
, 128); // expected-error {{argument value 128 is outside the valid range [0, 127]}}
1106 res
|= __lsx_vssrlrni_d_q(_1
, _2
, var
); // expected-error {{argument to '__builtin_lsx_vssrlrni_d_q' must be a constant integer}}
1110 v16u8
vssrlrni_bu_h(v16u8 _1
, v16i8 _2
, int var
) {
1111 v16u8 res
= __lsx_vssrlrni_bu_h(_1
, _2
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 15]}}
1112 res
|= __lsx_vssrlrni_bu_h(_1
, _2
, 16); // expected-error {{argument value 16 is outside the valid range [0, 15]}}
1113 res
|= __lsx_vssrlrni_bu_h(_1
, _2
, var
); // expected-error {{argument to '__builtin_lsx_vssrlrni_bu_h' must be a constant integer}}
1117 v8u16
vssrlrni_hu_w(v8u16 _1
, v8i16 _2
, int var
) {
1118 v8u16 res
= __lsx_vssrlrni_hu_w(_1
, _2
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 31]}}
1119 res
|= __lsx_vssrlrni_hu_w(_1
, _2
, 32); // expected-error {{argument value 32 is outside the valid range [0, 31]}}
1120 res
|= __lsx_vssrlrni_hu_w(_1
, _2
, var
); // expected-error {{argument to '__builtin_lsx_vssrlrni_hu_w' must be a constant integer}}
1124 v4u32
vssrlrni_wu_d(v4u32 _1
, v4i32 _2
, int var
) {
1125 v4u32 res
= __lsx_vssrlrni_wu_d(_1
, _2
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 63]}}
1126 res
|= __lsx_vssrlrni_wu_d(_1
, _2
, 64); // expected-error {{argument value 64 is outside the valid range [0, 63]}}
1127 res
|= __lsx_vssrlrni_wu_d(_1
, _2
, var
); // expected-error {{argument to '__builtin_lsx_vssrlrni_wu_d' must be a constant integer}}
1131 v2u64
vssrlrni_du_q(v2u64 _1
, v2i64 _2
, int var
) {
1132 v2u64 res
= __lsx_vssrlrni_du_q(_1
, _2
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 127]}}
1133 res
|= __lsx_vssrlrni_du_q(_1
, _2
, 128); // expected-error {{argument value 128 is outside the valid range [0, 127]}}
1134 res
|= __lsx_vssrlrni_du_q(_1
, _2
, var
); // expected-error {{argument to '__builtin_lsx_vssrlrni_du_q' must be a constant integer}}
1138 v16i8
vsrani_b_h(v16i8 _1
, v16i8 _2
, int var
) {
1139 v16i8 res
= __lsx_vsrani_b_h(_1
, _2
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 15]}}
1140 res
|= __lsx_vsrani_b_h(_1
, _2
, 16); // expected-error {{argument value 16 is outside the valid range [0, 15]}}
1141 res
|= __lsx_vsrani_b_h(_1
, _2
, var
); // expected-error {{argument to '__builtin_lsx_vsrani_b_h' must be a constant integer}}
1145 v8i16
vsrani_h_w(v8i16 _1
, v8i16 _2
, int var
) {
1146 v8i16 res
= __lsx_vsrani_h_w(_1
, _2
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 31]}}
1147 res
|= __lsx_vsrani_h_w(_1
, _2
, 32); // expected-error {{argument value 32 is outside the valid range [0, 31]}}
1148 res
|= __lsx_vsrani_h_w(_1
, _2
, var
); // expected-error {{argument to '__builtin_lsx_vsrani_h_w' must be a constant integer}}
1152 v4i32
vsrani_w_d(v4i32 _1
, v4i32 _2
, int var
) {
1153 v4i32 res
= __lsx_vsrani_w_d(_1
, _2
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 63]}}
1154 res
|= __lsx_vsrani_w_d(_1
, _2
, 64); // expected-error {{argument value 64 is outside the valid range [0, 63]}}
1155 res
|= __lsx_vsrani_w_d(_1
, _2
, var
); // expected-error {{argument to '__builtin_lsx_vsrani_w_d' must be a constant integer}}
1159 v2i64
vsrani_d_q(v2i64 _1
, v2i64 _2
, int var
) {
1160 v2i64 res
= __lsx_vsrani_d_q(_1
, _2
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 127]}}
1161 res
|= __lsx_vsrani_d_q(_1
, _2
, 128); // expected-error {{argument value 128 is outside the valid range [0, 127]}}
1162 res
|= __lsx_vsrani_d_q(_1
, _2
, var
); // expected-error {{argument to '__builtin_lsx_vsrani_d_q' must be a constant integer}}
1166 v16i8
vsrarni_b_h(v16i8 _1
, v16i8 _2
, int var
) {
1167 v16i8 res
= __lsx_vsrarni_b_h(_1
, _2
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 15]}}
1168 res
|= __lsx_vsrarni_b_h(_1
, _2
, 16); // expected-error {{argument value 16 is outside the valid range [0, 15]}}
1169 res
|= __lsx_vsrarni_b_h(_1
, _2
, var
); // expected-error {{argument to '__builtin_lsx_vsrarni_b_h' must be a constant integer}}
1173 v8i16
vsrarni_h_w(v8i16 _1
, v8i16 _2
, int var
) {
1174 v8i16 res
= __lsx_vsrarni_h_w(_1
, _2
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 31]}}
1175 res
|= __lsx_vsrarni_h_w(_1
, _2
, 32); // expected-error {{argument value 32 is outside the valid range [0, 31]}}
1176 res
|= __lsx_vsrarni_h_w(_1
, _2
, var
); // expected-error {{argument to '__builtin_lsx_vsrarni_h_w' must be a constant integer}}
1180 v4i32
vsrarni_w_d(v4i32 _1
, v4i32 _2
, int var
) {
1181 v4i32 res
= __lsx_vsrarni_w_d(_1
, _2
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 63]}}
1182 res
|= __lsx_vsrarni_w_d(_1
, _2
, 64); // expected-error {{argument value 64 is outside the valid range [0, 63]}}
1183 res
|= __lsx_vsrarni_w_d(_1
, _2
, var
); // expected-error {{argument to '__builtin_lsx_vsrarni_w_d' must be a constant integer}}
1187 v2i64
vsrarni_d_q(v2i64 _1
, v2i64 _2
, int var
) {
1188 v2i64 res
= __lsx_vsrarni_d_q(_1
, _2
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 127]}}
1189 res
|= __lsx_vsrarni_d_q(_1
, _2
, 128); // expected-error {{argument value 128 is outside the valid range [0, 127]}}
1190 res
|= __lsx_vsrarni_d_q(_1
, _2
, var
); // expected-error {{argument to '__builtin_lsx_vsrarni_d_q' must be a constant integer}}
1194 v16i8
vssrani_b_h(v16i8 _1
, v16i8 _2
, int var
) {
1195 v16i8 res
= __lsx_vssrani_b_h(_1
, _2
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 15]}}
1196 res
|= __lsx_vssrani_b_h(_1
, _2
, 16); // expected-error {{argument value 16 is outside the valid range [0, 15]}}
1197 res
|= __lsx_vssrani_b_h(_1
, _2
, var
); // expected-error {{argument to '__builtin_lsx_vssrani_b_h' must be a constant integer}}
1201 v8i16
vssrani_h_w(v8i16 _1
, v8i16 _2
, int var
) {
1202 v8i16 res
= __lsx_vssrani_h_w(_1
, _2
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 31]}}
1203 res
|= __lsx_vssrani_h_w(_1
, _2
, 32); // expected-error {{argument value 32 is outside the valid range [0, 31]}}
1204 res
|= __lsx_vssrani_h_w(_1
, _2
, var
); // expected-error {{argument to '__builtin_lsx_vssrani_h_w' must be a constant integer}}
1208 v4i32
vssrani_w_d(v4i32 _1
, v4i32 _2
, int var
) {
1209 v4i32 res
= __lsx_vssrani_w_d(_1
, _2
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 63]}}
1210 res
|= __lsx_vssrani_w_d(_1
, _2
, 64); // expected-error {{argument value 64 is outside the valid range [0, 63]}}
1211 res
|= __lsx_vssrani_w_d(_1
, _2
, var
); // expected-error {{argument to '__builtin_lsx_vssrani_w_d' must be a constant integer}}
1215 v2i64
vssrani_d_q(v2i64 _1
, v2i64 _2
, int var
) {
1216 v2i64 res
= __lsx_vssrani_d_q(_1
, _2
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 127]}}
1217 res
|= __lsx_vssrani_d_q(_1
, _2
, 128); // expected-error {{argument value 128 is outside the valid range [0, 127]}}
1218 res
|= __lsx_vssrani_d_q(_1
, _2
, var
); // expected-error {{argument to '__builtin_lsx_vssrani_d_q' must be a constant integer}}
1222 v16u8
vssrani_bu_h(v16u8 _1
, v16i8 _2
, int var
) {
1223 v16u8 res
= __lsx_vssrani_bu_h(_1
, _2
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 15]}}
1224 res
|= __lsx_vssrani_bu_h(_1
, _2
, 16); // expected-error {{argument value 16 is outside the valid range [0, 15]}}
1225 res
|= __lsx_vssrani_bu_h(_1
, _2
, var
); // expected-error {{argument to '__builtin_lsx_vssrani_bu_h' must be a constant integer}}
1229 v8u16
vssrani_hu_w(v8u16 _1
, v8i16 _2
, int var
) {
1230 v8u16 res
= __lsx_vssrani_hu_w(_1
, _2
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 31]}}
1231 res
|= __lsx_vssrani_hu_w(_1
, _2
, 32); // expected-error {{argument value 32 is outside the valid range [0, 31]}}
1232 res
|= __lsx_vssrani_hu_w(_1
, _2
, var
); // expected-error {{argument to '__builtin_lsx_vssrani_hu_w' must be a constant integer}}
1236 v4u32
vssrani_wu_d(v4u32 _1
, v4i32 _2
, int var
) {
1237 v4u32 res
= __lsx_vssrani_wu_d(_1
, _2
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 63]}}
1238 res
|= __lsx_vssrani_wu_d(_1
, _2
, 64); // expected-error {{argument value 64 is outside the valid range [0, 63]}}
1239 res
|= __lsx_vssrani_wu_d(_1
, _2
, var
); // expected-error {{argument to '__builtin_lsx_vssrani_wu_d' must be a constant integer}}
1243 v2u64
vssrani_du_q(v2u64 _1
, v2i64 _2
, int var
) {
1244 v2u64 res
= __lsx_vssrani_du_q(_1
, _2
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 127]}}
1245 res
|= __lsx_vssrani_du_q(_1
, _2
, 128); // expected-error {{argument value 128 is outside the valid range [0, 127]}}
1246 res
|= __lsx_vssrani_du_q(_1
, _2
, var
); // expected-error {{argument to '__builtin_lsx_vssrani_du_q' must be a constant integer}}
1250 v16i8
vssrarni_b_h(v16i8 _1
, v16i8 _2
, int var
) {
1251 v16i8 res
= __lsx_vssrarni_b_h(_1
, _2
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 15]}}
1252 res
|= __lsx_vssrarni_b_h(_1
, _2
, 16); // expected-error {{argument value 16 is outside the valid range [0, 15]}}
1253 res
|= __lsx_vssrarni_b_h(_1
, _2
, var
); // expected-error {{argument to '__builtin_lsx_vssrarni_b_h' must be a constant integer}}
1257 v8i16
vssrarni_h_w(v8i16 _1
, v8i16 _2
, int var
) {
1258 v8i16 res
= __lsx_vssrarni_h_w(_1
, _2
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 31]}}
1259 res
|= __lsx_vssrarni_h_w(_1
, _2
, 32); // expected-error {{argument value 32 is outside the valid range [0, 31]}}
1260 res
|= __lsx_vssrarni_h_w(_1
, _2
, var
); // expected-error {{argument to '__builtin_lsx_vssrarni_h_w' must be a constant integer}}
1264 v4i32
vssrarni_w_d(v4i32 _1
, v4i32 _2
, int var
) {
1265 v4i32 res
= __lsx_vssrarni_w_d(_1
, _2
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 63]}}
1266 res
|= __lsx_vssrarni_w_d(_1
, _2
, 64); // expected-error {{argument value 64 is outside the valid range [0, 63]}}
1267 res
|= __lsx_vssrarni_w_d(_1
, _2
, var
); // expected-error {{argument to '__builtin_lsx_vssrarni_w_d' must be a constant integer}}
1271 v2i64
vssrarni_d_q(v2i64 _1
, v2i64 _2
, int var
) {
1272 v2i64 res
= __lsx_vssrarni_d_q(_1
, _2
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 127]}}
1273 res
|= __lsx_vssrarni_d_q(_1
, _2
, 128); // expected-error {{argument value 128 is outside the valid range [0, 127]}}
1274 res
|= __lsx_vssrarni_d_q(_1
, _2
, var
); // expected-error {{argument to '__builtin_lsx_vssrarni_d_q' must be a constant integer}}
1278 v16u8
vssrarni_bu_h(v16u8 _1
, v16i8 _2
, int var
) {
1279 v16u8 res
= __lsx_vssrarni_bu_h(_1
, _2
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 15]}}
1280 res
|= __lsx_vssrarni_bu_h(_1
, _2
, 16); // expected-error {{argument value 16 is outside the valid range [0, 15]}}
1281 res
|= __lsx_vssrarni_bu_h(_1
, _2
, var
); // expected-error {{argument to '__builtin_lsx_vssrarni_bu_h' must be a constant integer}}
1285 v8u16
vssrarni_hu_w(v8u16 _1
, v8i16 _2
, int var
) {
1286 v8u16 res
= __lsx_vssrarni_hu_w(_1
, _2
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 31]}}
1287 res
|= __lsx_vssrarni_hu_w(_1
, _2
, 32); // expected-error {{argument value 32 is outside the valid range [0, 31]}}
1288 res
|= __lsx_vssrarni_hu_w(_1
, _2
, var
); // expected-error {{argument to '__builtin_lsx_vssrarni_hu_w' must be a constant integer}}
1292 v4u32
vssrarni_wu_d(v4u32 _1
, v4i32 _2
, int var
) {
1293 v4u32 res
= __lsx_vssrarni_wu_d(_1
, _2
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 63]}}
1294 res
|= __lsx_vssrarni_wu_d(_1
, _2
, 64); // expected-error {{argument value 64 is outside the valid range [0, 63]}}
1295 res
|= __lsx_vssrarni_wu_d(_1
, _2
, var
); // expected-error {{argument to '__builtin_lsx_vssrarni_wu_d' must be a constant integer}}
1299 v2u64
vssrarni_du_q(v2u64 _1
, v2i64 _2
, int var
) {
1300 v2u64 res
= __lsx_vssrarni_du_q(_1
, _2
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 127]}}
1301 res
|= __lsx_vssrarni_du_q(_1
, _2
, 128); // expected-error {{argument value 128 is outside the valid range [0, 127]}}
1302 res
|= __lsx_vssrarni_du_q(_1
, _2
, var
); // expected-error {{argument to '__builtin_lsx_vssrarni_du_q' must be a constant integer}}
1306 v4i32
vpermi_w(v4i32 _1
, v4i32 _2
, int var
) {
1307 v4i32 res
= __lsx_vpermi_w(_1
, _2
, -1); // expected-error {{argument value 4294967295 is outside the valid range [0, 255]}}
1308 res
|= __lsx_vpermi_w(_1
, _2
, 256); // expected-error {{argument value 256 is outside the valid range [0, 255]}}
1309 res
|= __lsx_vpermi_w(_1
, _2
, var
); // expected-error {{argument to '__builtin_lsx_vpermi_w' must be a constant integer}}
1313 v16i8
vld(void *_1
, int var
) {
1314 v16i8 res
= __lsx_vld(_1
, -2049); // expected-error {{argument value -2049 is outside the valid range [-2048, 2047]}}
1315 res
|= __lsx_vld(_1
, 2048); // expected-error {{argument value 2048 is outside the valid range [-2048, 2047]}}
1316 res
|= __lsx_vld(_1
, var
); // expected-error {{argument to '__builtin_lsx_vld' must be a constant integer}}
1320 void vst(v16i8 _1
, void *_2
, int var
) {
1321 __lsx_vst(_1
, _2
, -2049); // expected-error {{argument value -2049 is outside the valid range [-2048, 2047]}}
1322 __lsx_vst(_1
, _2
, 2048); // expected-error {{argument value 2048 is outside the valid range [-2048, 2047]}}
1323 __lsx_vst(_1
, _2
, var
); // expected-error {{argument to '__builtin_lsx_vst' must be a constant integer}}
1326 v2i64
vldi(int var
) {
1327 v2i64 res
= __lsx_vldi(-4097); // expected-error {{argument value -4097 is outside the valid range [-4096, 4095]}}
1328 res
|= __lsx_vldi(4096); // expected-error {{argument value 4096 is outside the valid range [-4096, 4095]}}
1329 res
|= __lsx_vldi(var
); // expected-error {{argument to '__builtin_lsx_vldi' must be a constant integer}}
1333 v16i8
vrepli_b(int var
) {
1334 v16i8 res
= __lsx_vrepli_b(-513); // expected-error {{argument value -513 is outside the valid range [-512, 511]}}
1335 res
|= __lsx_vrepli_b(512); // expected-error {{argument value 512 is outside the valid range [-512, 511]}}
1336 res
|= __lsx_vrepli_b(var
); // expected-error {{argument to '__builtin_lsx_vrepli_b' must be a constant integer}}
1340 v2i64
vrepli_d(int var
) {
1341 v2i64 res
= __lsx_vrepli_d(-513); // expected-error {{argument value -513 is outside the valid range [-512, 511]}}
1342 res
|= __lsx_vrepli_d(512); // expected-error {{argument value 512 is outside the valid range [-512, 511]}}
1343 res
|= __lsx_vrepli_d(var
); // expected-error {{argument to '__builtin_lsx_vrepli_d' must be a constant integer}}
1347 v8i16
vrepli_h(int var
) {
1348 v8i16 res
= __lsx_vrepli_h(-513); // expected-error {{argument value -513 is outside the valid range [-512, 511]}}
1349 res
|= __lsx_vrepli_h(512); // expected-error {{argument value 512 is outside the valid range [-512, 511]}}
1350 res
|= __lsx_vrepli_h(var
); // expected-error {{argument to '__builtin_lsx_vrepli_h' must be a constant integer}}
1354 v4i32
vrepli_w(int var
) {
1355 v4i32 res
= __lsx_vrepli_w(-513); // expected-error {{argument value -513 is outside the valid range [-512, 511]}}
1356 res
|= __lsx_vrepli_w(512); // expected-error {{argument value 512 is outside the valid range [-512, 511]}}
1357 res
|= __lsx_vrepli_w(var
); // expected-error {{argument to '__builtin_lsx_vrepli_w' must be a constant integer}}