Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / CodeGen / RISCV / rvv-intrinsics-handcrafted / xsfvcp-index-out-of-range.c
bloba424af84e8ba451c5723e2097711642018b988f3
1 // NOTE: Assertions have been autogenerated by utils/update_cc_test_checks.py
2 // REQUIRES: riscv-registered-target
3 // RUN: %clang_cc1 -triple riscv64 -target-feature +f -target-feature +d \
4 // RUN: -target-feature +v -target-feature +zfh -target-feature +zvfh \
5 // RUN: -target-feature +xsfvcp \
6 // RUN: -fsyntax-only -verify %s
8 #include <sifive_vector.h>
10 #define p27_26 (0b11)
11 #define p26 (0b1)
12 #define p24_20 (0b11111)
13 #define p11_7 (0b11111)
14 #define simm5 (15)
16 #define p27_26_overflow (0b100)
17 #define p26_overflow (0b10)
18 #define p24_20_overflow (0b100000)
19 #define p11_7_overflow (0b100001)
20 #define simm5_overflow (16)
22 // sf_vc_x_se
24 void test_sf_vc_x_se_u8mf8_p27_26_not_constant(uint8_t rs1, size_t vl, int index) {
25 // expected-error@+1 {{argument to '__riscv_sf_vc_x_se_u8mf8' must be a constant integer}}
26 __riscv_sf_vc_x_se_u8mf8(index, p24_20, p11_7, rs1, vl);
29 void test_sf_vc_x_se_u8mf8_24_20_not_constant(uint8_t rs1, size_t vl, int index) {
30 // expected-error@+1 {{argument to '__riscv_sf_vc_x_se_u8mf8' must be a constant integer}}
31 __riscv_sf_vc_x_se_u8mf8(p27_26, index, p11_7, rs1, vl);
34 void test_sf_vc_x_se_u8mf8_11_7_not_constant(uint8_t rs1, size_t vl, int index) {
35 // expected-error@+1 {{argument to '__riscv_sf_vc_x_se_u8mf8' must be a constant integer}}
36 __riscv_sf_vc_x_se_u8mf8(p27_26, p24_20, index, rs1, vl);
39 void test_sf_vc_x_se_u8mf8_p27_26_overflow(uint8_t rs1, size_t vl) {
40 // expected-error@+1 {{argument value 4 is outside the valid range [0, 3]}}
41 __riscv_sf_vc_x_se_u8mf8(p27_26_overflow, p24_20, p11_7, rs1, vl);
44 void test_sf_vc_x_se_u8mf8_p24_20_overflow(uint8_t rs1, size_t vl) {
45 // expected-error@+1 {{argument value 32 is outside the valid range [0, 31]}}
46 __riscv_sf_vc_x_se_u8mf8(p27_26, p24_20_overflow, p11_7, rs1, vl);
49 void test_sf_vc_x_se_u8mf8_p11_7_overflow(uint8_t rs1, size_t vl) {
50 // expected-error@+1 {{argument value 33 is outside the valid range [0, 31]}}
51 __riscv_sf_vc_x_se_u8mf8(p27_26, p24_20, p11_7_overflow, rs1, vl);
54 // sf_vc_i_se
56 void test_sf_vc_i_se_u8mf8_p27_26_not_constant(size_t vl, int index) {
57 // expected-error@+1 {{argument to '__riscv_sf_vc_i_se_u8mf8' must be a constant integer}}
58 __riscv_sf_vc_i_se_u8mf8(index, p24_20, p11_7, simm5, vl);
61 void test_sf_vc_i_se_u8mf8_24_20_not_constant(size_t vl, int index) {
62 // expected-error@+1 {{argument to '__riscv_sf_vc_i_se_u8mf8' must be a constant integer}}
63 __riscv_sf_vc_i_se_u8mf8(p27_26, index, p11_7, simm5, vl);
66 void test_sf_vc_i_se_u8mf8_11_7_not_constant(size_t vl, int index) {
67 // expected-error@+1 {{argument to '__riscv_sf_vc_i_se_u8mf8' must be a constant integer}}
68 __riscv_sf_vc_i_se_u8mf8(p27_26, p24_20, index, simm5, vl);
71 void test_sf_vc_i_se_u8mf8_simm5_not_constant(size_t vl, int index) {
72 // expected-error@+1 {{argument to '__riscv_sf_vc_i_se_u8mf8' must be a constant integer}}
73 __riscv_sf_vc_i_se_u8mf8(p27_26, p24_20, p11_7, index, vl);
76 void test_sf_vc_i_se_u8mf8_p27_26_overflow(size_t vl) {
77 // expected-error@+1 {{argument value 4 is outside the valid range [0, 3]}}
78 __riscv_sf_vc_i_se_u8mf8(p27_26_overflow, p24_20, p11_7, simm5, vl);
81 void test_sf_vc_i_se_u8mf8_p24_20_overflow(size_t vl) {
82 // expected-error@+1 {{argument value 32 is outside the valid range [0, 31]}}
83 __riscv_sf_vc_i_se_u8mf8(p27_26, p24_20_overflow, p11_7, simm5, vl);
86 void test_sf_vc_i_se_u8mf8_p11_7_overflow(size_t vl) {
87 // expected-error@+1 {{argument value 33 is outside the valid range [0, 31]}}
88 __riscv_sf_vc_i_se_u8mf8(p27_26, p24_20, p11_7_overflow, simm5, vl);
91 void test_sf_vc_i_se_u8mf8_simm5_overflow(size_t vl) {
92 // expected-error@+1 {{argument value 16 is outside the valid range [-16, 15]}}
93 __riscv_sf_vc_i_se_u8mf8(p27_26, p24_20, p11_7, simm5_overflow, vl);
96 // sf_vc_v_x_se
98 vuint8mf8_t test_sf_vc_v_x_se_u8mf8_p27_26_not_constant(uint8_t rs1, size_t vl, int index) {
99 // expected-error@+1 {{argument to '__riscv_sf_vc_v_x_se_u8mf8' must be a constant integer}}
100 return __riscv_sf_vc_v_x_se_u8mf8(index, p24_20, rs1, vl);
103 vuint8mf8_t test_sf_vc_v_x_se_u8mf8_p24_20_not_constant(uint8_t rs1, size_t vl, int index) {
104 // expected-error@+1 {{argument to '__riscv_sf_vc_v_x_se_u8mf8' must be a constant integer}}
105 return __riscv_sf_vc_v_x_se_u8mf8(p27_26, index, rs1, vl);
108 vuint8mf8_t test_sf_vc_v_x_se_u8mf8_p27_26_overflow(uint8_t rs1, size_t vl) {
109 // expected-error@+1 {{argument value 4 is outside the valid range [0, 3]}}
110 return __riscv_sf_vc_v_x_se_u8mf8(p27_26_overflow, p24_20, rs1, vl);
113 vuint8mf8_t test_sf_vc_v_x_se_u8mf8_p24_20_overflow(uint8_t rs1, size_t vl) {
114 // expected-error@+1 {{argument value 32 is outside the valid range [0, 31]}}
115 return __riscv_sf_vc_v_x_se_u8mf8(p27_26, p24_20_overflow, rs1, vl);
118 // sf_vc_v_x
120 vuint8mf8_t test_sf_vc_v_x_u8mf8_p27_26_not_constant(uint8_t rs1, size_t vl, int index) {
121 // expected-error@+1 {{argument to '__riscv_sf_vc_v_x_u8mf8' must be a constant integer}}
122 return __riscv_sf_vc_v_x_u8mf8(index, p24_20, rs1, vl);
125 vuint8mf8_t test_sf_vc_v_x_u8mf8_p24_20_not_constant(uint8_t rs1, size_t vl, int index) {
126 // expected-error@+1 {{argument to '__riscv_sf_vc_v_x_u8mf8' must be a constant integer}}
127 return __riscv_sf_vc_v_x_u8mf8(p27_26, index, rs1, vl);
130 vuint8mf8_t test_sf_vc_v_x_u8mf8_p27_26_overflow(uint8_t rs1, size_t vl) {
131 // expected-error@+1 {{argument value 4 is outside the valid range [0, 3]}}
132 return __riscv_sf_vc_v_x_u8mf8(p27_26_overflow, p24_20, rs1, vl);
135 vuint8mf8_t test_sf_vc_v_x_u8mf8_p24_20_overflow(uint8_t rs1, size_t vl) {
136 // expected-error@+1 {{argument value 32 is outside the valid range [0, 31]}}
137 return __riscv_sf_vc_v_x_u8mf8(p27_26, p24_20_overflow, rs1, vl);
140 // sf_vc_v_i_se
142 vuint8mf8_t test_sf_vc_v_i_se_u8mf8_p27_26_not_constant(size_t vl, int index) {
143 // expected-error@+1 {{argument to '__riscv_sf_vc_v_i_se_u8mf8' must be a constant integer}}
144 return __riscv_sf_vc_v_i_se_u8mf8(index, p24_20, simm5, vl);
147 vuint8mf8_t test_sf_vc_v_i_se_u8mf8_p24_20_not_constant(size_t vl, int index) {
148 // expected-error@+1 {{argument to '__riscv_sf_vc_v_i_se_u8mf8' must be a constant integer}}
149 return __riscv_sf_vc_v_i_se_u8mf8(p27_26, index, simm5, vl);
152 vuint8mf8_t test_sf_vc_v_i_se_u8mf8_simm5_not_constant(size_t vl, int index) {
153 // expected-error@+1 {{argument to '__riscv_sf_vc_v_i_se_u8mf8' must be a constant integer}}
154 return __riscv_sf_vc_v_i_se_u8mf8(p27_26, p24_20, index, vl);
157 vuint8mf8_t test_sf_vc_v_i_se_u8mf8_p27_26_overflow(size_t vl, int index) {
158 // expected-error@+1 {{argument value 4 is outside the valid range [0, 3]}}
159 return __riscv_sf_vc_v_i_se_u8mf8(p27_26_overflow, p24_20, simm5, vl);
162 vuint8mf8_t test_sf_vc_v_i_se_u8mf8_p24_20_overflow(size_t vl) {
163 // expected-error@+1 {{argument value 32 is outside the valid range [0, 31]}}
164 return __riscv_sf_vc_v_i_se_u8mf8(p27_26, p24_20_overflow, simm5, vl);
167 vuint8mf8_t test_sf_vc_v_i_se_u8mf8_simm5_overflow(size_t vl) {
168 // expected-error@+1 {{argument value 16 is outside the valid range [-16, 15]}}
169 return __riscv_sf_vc_v_i_se_u8mf8(p27_26, p24_20, simm5_overflow, vl);
172 // sf_vc_v_i
174 vuint8mf8_t test_sf_vc_v_i_u8mf8_p27_26_not_constant(size_t vl, int index) {
175 // expected-error@+1 {{argument to '__riscv_sf_vc_v_i_u8mf8' must be a constant integer}}
176 return __riscv_sf_vc_v_i_u8mf8(index, p24_20, simm5, vl);
179 vuint8mf8_t test_sf_vc_v_i_u8mf8_p24_20_not_constant(size_t vl, int index) {
180 // expected-error@+1 {{argument to '__riscv_sf_vc_v_i_u8mf8' must be a constant integer}}
181 return __riscv_sf_vc_v_i_u8mf8(p27_26, index, simm5, vl);
184 vuint8mf8_t test_sf_vc_v_i_u8mf8_simm5_not_constant(size_t vl, int index) {
185 // expected-error@+1 {{argument to '__riscv_sf_vc_v_i_u8mf8' must be a constant integer}}
186 return __riscv_sf_vc_v_i_u8mf8(p27_26, p24_20, index, vl);
189 vuint8mf8_t test_sf_vc_v_i_u8mf8_p27_26_overflow(size_t vl, int index) {
190 // expected-error@+1 {{argument value 4 is outside the valid range [0, 3]}}
191 return __riscv_sf_vc_v_i_u8mf8(p27_26_overflow, p24_20, simm5, vl);
194 vuint8mf8_t test_sf_vc_v_i_u8mf8_p24_20_overflow(size_t vl) {
195 // expected-error@+1 {{argument value 32 is outside the valid range [0, 31]}}
196 return __riscv_sf_vc_v_i_u8mf8(p27_26, p24_20_overflow, simm5, vl);
199 vuint8mf8_t test_sf_vc_v_i_u8mf8_simm5_overflow(size_t vl) {
200 // expected-error@+1 {{argument value 16 is outside the valid range [-16, 15]}}
201 return __riscv_sf_vc_v_i_u8mf8(p27_26, p24_20, simm5_overflow, vl);
204 // sf_vc_vv_se
206 void test_sf_vc_vv_se_u8mf8_p27_26_not_constant(vuint8mf8_t vs2, vuint8mf8_t vs1, size_t vl, int index) {
207 // expected-error@+1 {{argument to '__riscv_sf_vc_vv_se_u8mf8' must be a constant integer}}
208 __riscv_sf_vc_vv_se_u8mf8(index, p11_7, vs2, vs1, vl);
211 void test_sf_vc_vv_se_u8mf8_p11_7_not_constant(vuint8mf8_t vs2, vuint8mf8_t vs1, size_t vl, int index) {
212 // expected-error@+1 {{argument to '__riscv_sf_vc_vv_se_u8mf8' must be a constant integer}}
213 __riscv_sf_vc_vv_se_u8mf8(p27_26, index, vs2, vs1, vl);
216 void test_sf_vc_vv_se_u8mf8_p27_26_overflow(vuint8mf8_t vs2, vuint8mf8_t vs1, size_t vl) {
217 // expected-error@+1 {{argument value 4 is outside the valid range [0, 3]}}
218 __riscv_sf_vc_vv_se_u8mf8(p27_26_overflow, p11_7, vs2, vs1, vl);
221 void test_sf_vc_vv_se_u8mf8_p11_7_overflow(vuint8mf8_t vs2, vuint8mf8_t vs1, size_t vl) {
222 // expected-error@+1 {{argument value 33 is outside the valid range [0, 31]}}
223 __riscv_sf_vc_vv_se_u8mf8(p27_26, p11_7_overflow, vs2, vs1, vl);
226 // sf_vc_xv_se
228 void test_sf_vc_xv_se_u8mf8_p27_26_not_constant(vuint8mf8_t vs2, uint8_t rs1, size_t vl, int index) {
229 // expected-error@+1 {{argument to '__riscv_sf_vc_xv_se_u8mf8' must be a constant integer}}
230 __riscv_sf_vc_xv_se_u8mf8(index, p11_7, vs2, rs1, vl);
233 void test_sf_vc_xv_se_u8mf8_p11_7_not_constant(vuint8mf8_t vs2, uint8_t rs1, size_t vl, int index) {
234 // expected-error@+1 {{argument to '__riscv_sf_vc_xv_se_u8mf8' must be a constant integer}}
235 __riscv_sf_vc_xv_se_u8mf8(p27_26, index, vs2, rs1, vl);
238 void test_sf_vc_xv_se_u8mf8_p27_26_overflow(vuint8mf8_t vs2, uint8_t rs1, size_t vl) {
239 // expected-error@+1 {{argument value 4 is outside the valid range [0, 3]}}
240 __riscv_sf_vc_xv_se_u8mf8(p27_26_overflow, p11_7, vs2, rs1, vl);
243 void test_sf_vc_xv_se_u8mf8_p11_7_overflow(vuint8mf8_t vs2, uint8_t rs1, size_t vl) {
244 // expected-error@+1 {{argument value 33 is outside the valid range [0, 31]}}
245 __riscv_sf_vc_xv_se_u8mf8(p27_26, p11_7_overflow, vs2, rs1, vl);
248 // sf_vc_iv_se
250 void test_sf_vc_iv_se_u8mf8_p27_26_not_constant(vuint8mf8_t vs2, size_t vl, int index) {
251 // expected-error@+1 {{argument to '__riscv_sf_vc_iv_se_u8mf8' must be a constant integer}}
252 __riscv_sf_vc_iv_se_u8mf8(index, p11_7, vs2, simm5, vl);
255 void test_sf_vc_iv_se_u8mf8_p11_7_not_constant(vuint8mf8_t vs2, size_t vl, int index) {
256 // expected-error@+1 {{argument to '__riscv_sf_vc_iv_se_u8mf8' must be a constant integer}}
257 __riscv_sf_vc_iv_se_u8mf8(p27_26, index, vs2, simm5, vl);
260 void test_sf_vc_iv_se_u8mf8_simm5_not_constant(vuint8mf8_t vs2, size_t vl, int index) {
261 // expected-error@+1 {{argument to '__riscv_sf_vc_iv_se_u8mf8' must be a constant integer}}
262 __riscv_sf_vc_iv_se_u8mf8(p27_26, p11_7, vs2, index, vl);
265 void test_sf_vc_iv_se_u8mf8_p27_26_overflow(vuint8mf8_t vs2, size_t vl) {
266 // expected-error@+1 {{argument value 4 is outside the valid range [0, 3]}}
267 __riscv_sf_vc_iv_se_u8mf8(p27_26_overflow, p11_7, vs2, simm5, vl);
270 void test_sf_vc_iv_se_u8mf8_p11_7_overflow(vuint8mf8_t vs2, size_t vl) {
271 // expected-error@+1 {{argument value 33 is outside the valid range [0, 31]}}
272 __riscv_sf_vc_iv_se_u8mf8(p27_26, p11_7_overflow, vs2, simm5, vl);
275 void test_sf_vc_iv_se_u8mf8_simm5_overflow(vuint8mf8_t vs2, size_t vl) {
276 // expected-error@+1 {{argument value 16 is outside the valid range [-16, 15]}}
277 __riscv_sf_vc_iv_se_u8mf8(p27_26, p11_7, vs2, simm5_overflow, vl);
280 // sf_vc_fv_se
282 void test_sf_vc_fv_se_u16mf4_p26_not_constant(vuint16mf4_t vs2, _Float16 fs1, size_t vl, int index) {
283 // expected-error@+1 {{argument to '__riscv_sf_vc_fv_se_u16mf4' must be a constant integer}}
284 __riscv_sf_vc_fv_se_u16mf4(index, p11_7, vs2, fs1, vl);
287 void test_sf_vc_fv_se_u16mf4_p11_7_not_constant(vuint16mf4_t vs2, _Float16 fs1, size_t vl, int index) {
288 // expected-error@+1 {{argument to '__riscv_sf_vc_fv_se_u16mf4' must be a constant integer}}
289 __riscv_sf_vc_fv_se_u16mf4(p26, index, vs2, fs1, vl);
292 void test_sf_vc_fv_se_u16mf4_p26_overflow(vuint16mf4_t vs2, _Float16 fs1, size_t vl) {
293 // expected-error@+1 {{argument value 2 is outside the valid range [0, 1]}}
294 __riscv_sf_vc_fv_se_u16mf4(p26_overflow, p11_7, vs2, fs1, vl);
297 void test_sf_vc_fv_se_u16mf4_p11_7_overflow(vuint16mf4_t vs2, _Float16 fs1, size_t vl) {
298 // expected-error@+1 {{argument value 33 is outside the valid range [0, 31]}}
299 __riscv_sf_vc_fv_se_u16mf4(p26, p11_7_overflow, vs2, fs1, vl);
302 // sf_vc_v_vv_se
304 vuint8mf8_t test_sf_vc_v_vv_se_u8mf8_p27_26_not_constant(vuint8mf8_t vs2, vuint8mf8_t vs1, size_t vl, int index) {
305 // expected-error@+1 {{argument to '__riscv_sf_vc_v_vv_se_u8mf8' must be a constant integer}}
306 return __riscv_sf_vc_v_vv_se_u8mf8(index, vs2, vs1, vl);
309 vuint8mf8_t test_sf_vc_v_vv_se_u8mf8_p27_26_overflow(vuint8mf8_t vs2, vuint8mf8_t vs1, size_t vl) {
310 // expected-error@+1 {{argument value 4 is outside the valid range [0, 3]}}
311 return __riscv_sf_vc_v_vv_se_u8mf8(p27_26_overflow, vs2, vs1, vl);
314 // sf_vc_v_vv
316 vuint8mf8_t test_sf_vc_v_vv_u8mf8_p27_26_not_constant(vuint8mf8_t vs2, vuint8mf8_t vs1, size_t vl, int index) {
317 // expected-error@+1 {{argument to '__riscv_sf_vc_v_vv_u8mf8' must be a constant integer}}
318 return __riscv_sf_vc_v_vv_u8mf8(index, vs2, vs1, vl);
321 vuint8mf8_t test_sf_vc_v_vv_u8mf8_p27_26_overflow(vuint8mf8_t vs2, vuint8mf8_t vs1, size_t vl) {
322 // expected-error@+1 {{argument value 4 is outside the valid range [0, 3]}}
323 return __riscv_sf_vc_v_vv_u8mf8(p27_26_overflow, vs2, vs1, vl);
326 // sf_vc_v_xv_se
328 vuint8mf8_t test_sf_vc_v_xv_se_u8mf8_p27_26_not_constant(vuint8mf8_t vs2, uint8_t rs1, size_t vl, int index) {
329 // expected-error@+1 {{argument to '__riscv_sf_vc_v_xv_se_u8mf8' must be a constant integer}}
330 return __riscv_sf_vc_v_xv_se_u8mf8(index, vs2, rs1, vl);
333 vuint8mf8_t test_sf_vc_v_xv_se_u8mf8_p27_26_overflow(vuint8mf8_t vs2, uint8_t rs1, size_t vl) {
334 // expected-error@+1 {{argument value 4 is outside the valid range [0, 3]}}
335 return __riscv_sf_vc_v_xv_se_u8mf8(p27_26_overflow, vs2, rs1, vl);
338 // sf_vc_v_xv
340 vuint8mf8_t test_sf_vc_v_xv_u8mf8_p27_26_not_constant(vuint8mf8_t vs2, uint8_t rs1, size_t vl, int index) {
341 // expected-error@+1 {{argument to '__riscv_sf_vc_v_xv_u8mf8' must be a constant integer}}
342 return __riscv_sf_vc_v_xv_u8mf8(index, vs2, rs1, vl);
345 vuint8mf8_t test_sf_vc_v_xv_u8mf8_p27_26_overflow(vuint8mf8_t vs2, uint8_t rs1, size_t vl) {
346 // expected-error@+1 {{argument value 4 is outside the valid range [0, 3]}}
347 return __riscv_sf_vc_v_xv_u8mf8(p27_26_overflow, vs2, rs1, vl);
350 // sf_vc_v_iv_se
352 vuint8mf8_t test_sf_vc_v_iv_se_u8mf8_p27_26_not_constant(vuint8mf8_t vs2, size_t vl, int index) {
353 // expected-error@+1 {{argument to '__riscv_sf_vc_v_iv_se_u8mf8' must be a constant integer}}
354 return __riscv_sf_vc_v_iv_se_u8mf8(index, vs2, simm5, vl);
357 vuint8mf8_t test_sf_vc_v_iv_se_u8mf8_simm5_not_constant(vuint8mf8_t vs2, size_t vl, int index) {
358 // expected-error@+1 {{argument to '__riscv_sf_vc_v_iv_se_u8mf8' must be a constant integer}}
359 return __riscv_sf_vc_v_iv_se_u8mf8(p27_26, vs2, index, vl);
362 vuint8mf8_t test_sf_vc_v_iv_se_u8mf8_p27_26_overflow(vuint8mf8_t vs2, size_t vl) {
363 // expected-error@+1 {{argument value 4 is outside the valid range [0, 3]}}
364 return __riscv_sf_vc_v_iv_se_u8mf8(p27_26_overflow, vs2, simm5, vl);
367 vuint8mf8_t test_sf_vc_v_iv_se_u8mf8_simm5_overflow(vuint8mf8_t vs2, size_t vl) {
368 // expected-error@+1 {{argument value 16 is outside the valid range [-16, 15]}}
369 return __riscv_sf_vc_v_iv_se_u8mf8(p27_26, vs2, simm5_overflow, vl);
372 // sf_vc_v_iv
374 vuint8mf8_t test_sf_vc_v_iv_u8mf8_p27_26_not_constant(vuint8mf8_t vs2, size_t vl, int index) {
375 // expected-error@+1 {{argument to '__riscv_sf_vc_v_iv_u8mf8' must be a constant integer}}
376 return __riscv_sf_vc_v_iv_u8mf8(index, vs2, simm5, vl);
379 vuint8mf8_t test_sf_vc_v_iv_u8mf8_simm5_not_constant(vuint8mf8_t vs2, size_t vl, int index) {
380 // expected-error@+1 {{argument to '__riscv_sf_vc_v_iv_u8mf8' must be a constant integer}}
381 return __riscv_sf_vc_v_iv_u8mf8(p27_26, vs2, index, vl);
384 vuint8mf8_t test_sf_vc_v_iv_u8mf8_p27_26_overflow(vuint8mf8_t vs2, size_t vl) {
385 // expected-error@+1 {{argument value 4 is outside the valid range [0, 3]}}
386 return __riscv_sf_vc_v_iv_u8mf8(p27_26_overflow, vs2, simm5, vl);
389 vuint8mf8_t test_sf_vc_v_iv_u8mf8_simm5_overflow(vuint8mf8_t vs2, size_t vl) {
390 // expected-error@+1 {{argument value 16 is outside the valid range [-16, 15]}}
391 return __riscv_sf_vc_v_iv_u8mf8(p27_26, vs2, simm5_overflow, vl);
394 // sf_vc_v_fv_se
396 vuint16mf4_t test_sf_vc_v_fv_se_u16mf4_p26_not_constant(vuint16mf4_t vs2, _Float16 fs1, size_t vl, int index) {
397 //expected-error@+1 {{argument to '__riscv_sf_vc_v_fv_se_u16mf4' must be a constant integer}}
398 return __riscv_sf_vc_v_fv_se_u16mf4(index, vs2, fs1, vl);
401 vuint16mf4_t test_sf_vc_v_fv_se_u16mf4_p26_overflow(vuint16mf4_t vs2, _Float16 fs1, size_t vl) {
402 // expected-error@+1 {{argument value 2 is outside the valid range [0, 1]}}
403 return __riscv_sf_vc_v_fv_se_u16mf4(p26_overflow, vs2, fs1, vl);
406 // sf_vc_v_fv
408 vuint16mf4_t test_sf_vc_v_fv_u16mf4_p26_not_constant(vuint16mf4_t vs2, _Float16 fs1, size_t vl, int index) {
409 // expected-error@+1 {{argument to '__riscv_sf_vc_v_fv_se_u16mf4' must be a constant integer}}
410 return __riscv_sf_vc_v_fv_se_u16mf4(index, vs2, fs1, vl);
413 vuint16mf4_t test_sf_vc_v_fv_u16mf4_p26_overflow(vuint16mf4_t vs2, _Float16 fs1, size_t vl) {
414 // expected-error@+1 {{argument value 2 is outside the valid range [0, 1]}}
415 return __riscv_sf_vc_v_fv_u16mf4(p26_overflow, vs2, fs1, vl);
418 // sf_vc_vvv_se
420 void test_sf_vc_vvv_se_u8mf8_p27_26_not_constant(vuint8mf8_t vd, vuint8mf8_t vs2, vuint8mf8_t vs1, size_t vl, int index) {
421 // expected-error@+1 {{argument to '__riscv_sf_vc_vvv_se_u8mf8' must be a constant integer}}
422 __riscv_sf_vc_vvv_se_u8mf8(index, vd, vs2, vs1, vl);
425 void test_sf_vc_vvv_se_u8mf8_p27_26_overflow(vuint8mf8_t vd, vuint8mf8_t vs2, vuint8mf8_t vs1, size_t vl) {
426 // expected-error@+1 {{argument value 4 is outside the valid range [0, 3]}}
427 __riscv_sf_vc_vvv_se_u8mf8(p27_26_overflow, vd, vs2, vs1, vl);
430 // sf_vc_xvv_se
432 void test_sf_vc_xvv_se_u8mf8_p27_26_not_constant(vuint8mf8_t vd, vuint8mf8_t vs2, uint8_t rs1, size_t vl, int index) {
433 // expected-error@+1 {{argument to '__riscv_sf_vc_xvv_se_u8mf8' must be a constant integer}}
434 __riscv_sf_vc_xvv_se_u8mf8(index, vd, vs2, rs1, vl);
437 void test_sf_vc_xvv_se_u8mf8_p27_26_overflow(vuint8mf8_t vd, vuint8mf8_t vs2, uint8_t rs1, size_t vl) {
438 // expected-error@+1 {{argument value 4 is outside the valid range [0, 3]}}
439 __riscv_sf_vc_xvv_se_u8mf8(p27_26_overflow, vd, vs2, rs1, vl);
442 // sf_vc_ivv_se
444 void test_sf_vc_ivv_se_u8mf8_p27_26_not_constant(vuint8mf8_t vd, vuint8mf8_t vs2, size_t vl, int index) {
445 // expected-error@+1 {{argument to '__riscv_sf_vc_ivv_se_u8mf8' must be a constant integer}}
446 __riscv_sf_vc_ivv_se_u8mf8(index, vd, vs2, simm5, vl);
449 void test_sf_vc_ivv_se_u8mf8_simm5_not_constant(vuint8mf8_t vd, vuint8mf8_t vs2, size_t vl, int index) {
450 // expected-error@+1 {{argument to '__riscv_sf_vc_ivv_se_u8mf8' must be a constant integer}}
451 __riscv_sf_vc_ivv_se_u8mf8(p27_26, vd, vs2, index, vl);
454 void test_sf_vc_ivv_se_u8mf8_p27_26_overflow(vuint8mf8_t vd, vuint8mf8_t vs2, size_t vl) {
455 // expected-error@+1 {{argument value 4 is outside the valid range [0, 3]}}
456 __riscv_sf_vc_ivv_se_u8mf8(p27_26_overflow, vd, vs2, simm5, vl);
459 void test_sf_vc_ivv_se_u8mf8_simm5_overflow(vuint8mf8_t vd, vuint8mf8_t vs2, size_t vl) {
460 // expected-error@+1 {{argument value 16 is outside the valid range [-16, 15]}}
461 __riscv_sf_vc_ivv_se_u8mf8(p27_26, vd, vs2, simm5_overflow, vl);
464 // sf_vc_fvv_se
466 void test_sf_vc_fvv_se_u16mf4_p26_not_constant(vuint16mf4_t vd, vuint16mf4_t vs2, _Float16 fs1, size_t vl, int index) {
467 // expected-error@+1 {{argument to '__riscv_sf_vc_fvv_se_u16mf4' must be a constant integer}}
468 __riscv_sf_vc_fvv_se_u16mf4(index, vd, vs2, fs1, vl);
471 void test_sf_vc_fvv_se_u16mf4_p26_overflow(vuint16mf4_t vd, vuint16mf4_t vs2, _Float16 fs1, size_t vl) {
472 // expected-error@+1 {{argument value 2 is outside the valid range [0, 1]}}
473 __riscv_sf_vc_fvv_se_u16mf4(p26_overflow, vd, vs2, fs1, vl);
476 // sf_vc_v_vvv_se
478 vuint8mf8_t test_sf_vc_v_vvv_se_u8mf8_p27_26_not_constant(vuint8mf8_t vd, vuint8mf8_t vs2, vuint8mf8_t vs1, size_t vl, int index) {
479 // expected-error@+1 {{argument to '__riscv_sf_vc_v_vvv_se_u8mf8' must be a constant integer}}
480 return __riscv_sf_vc_v_vvv_se_u8mf8(index, vd, vs2, vs1, vl);
483 vuint8mf8_t test_sf_vc_v_vvv_se_u8mf8_p27_26_overflow(vuint8mf8_t vd, vuint8mf8_t vs2, vuint8mf8_t vs1, size_t vl) {
484 // expected-error@+1 {{argument value 4 is outside the valid range [0, 3]}}
485 return __riscv_sf_vc_v_vvv_se_u8mf8(p27_26_overflow, vd, vs2, vs1, vl);
488 // sf_vc_v_vvv
490 vuint8mf8_t test_sf_vc_v_vvv_u8mf8_p27_26_not_constant(vuint8mf8_t vd, vuint8mf8_t vs2, vuint8mf8_t vs1, size_t vl, int index) {
491 // expected-error@+1 {{argument to '__riscv_sf_vc_v_vvv_u8mf8' must be a constant integer}}
492 return __riscv_sf_vc_v_vvv_u8mf8(index, vd, vs2, vs1, vl);
495 vuint8mf8_t test_sf_vc_v_vvv_u8mf8_p27_26_overflow(vuint8mf8_t vd, vuint8mf8_t vs2, vuint8mf8_t vs1, size_t vl) {
496 // expected-error@+1 {{argument value 4 is outside the valid range [0, 3]}}
497 return __riscv_sf_vc_v_vvv_u8mf8(p27_26_overflow, vd, vs2, vs1, vl);
500 // sf_vc_v_xvv_se
502 vuint8mf8_t test_sf_vc_v_xvv_se_u8mf8_p27_26_not_constant(vuint8mf8_t vd, vuint8mf8_t vs2, uint8_t rs1, size_t vl, int index) {
503 // expected-error@+1 {{argument to '__riscv_sf_vc_v_xvv_se_u8mf8' must be a constant integer}}
504 return __riscv_sf_vc_v_xvv_se_u8mf8(index, vd, vs2, rs1, vl);
507 vuint8mf8_t test_sf_vc_v_xvv_se_u8mf8_p27_26_overflow(vuint8mf8_t vd, vuint8mf8_t vs2, uint8_t rs1, size_t vl) {
508 // expected-error@+1 {{argument value 4 is outside the valid range [0, 3]}}
509 return __riscv_sf_vc_v_xvv_se_u8mf8(p27_26_overflow, vd, vs2, rs1, vl);
512 // sf_vc_v_xvv
514 vuint8mf8_t test_sf_vc_v_xvv_u8mf8_p27_26_not_constant(vuint8mf8_t vd, vuint8mf8_t vs2, uint8_t rs1, size_t vl, int index) {
515 // expected-error@+1 {{argument to '__riscv_sf_vc_v_xvv_u8mf8' must be a constant integer}}
516 return __riscv_sf_vc_v_xvv_u8mf8(index, vd, vs2, rs1, vl);
519 vuint8mf8_t test_sf_vc_v_xvv_u8mf8_p27_26_overflow(vuint8mf8_t vd, vuint8mf8_t vs2, uint8_t rs1, size_t vl) {
520 // expected-error@+1 {{argument value 4 is outside the valid range [0, 3]}}
521 return __riscv_sf_vc_v_xvv_u8mf8(p27_26_overflow, vd, vs2, rs1, vl);
524 // sf_vc_v_ivv_se
526 vuint8mf8_t test_sf_vc_v_ivv_se_u8mf8_p27_26_not_constant(vuint8mf8_t vd, vuint8mf8_t vs2, size_t vl, int index) {
527 // expected-error@+1 {{argument to '__riscv_sf_vc_v_ivv_se_u8mf8' must be a constant integer}}
528 return __riscv_sf_vc_v_ivv_se_u8mf8(index, vd, vs2, simm5, vl);
531 vuint8mf8_t test_sf_vc_v_ivv_se_u8mf8_simm5_not_constant(vuint8mf8_t vd, vuint8mf8_t vs2, size_t vl, int index) {
532 // expected-error@+1 {{argument to '__riscv_sf_vc_v_ivv_se_u8mf8' must be a constant integer}}
533 return __riscv_sf_vc_v_ivv_se_u8mf8(p27_26, vd, vs2, index, vl);
536 vuint8mf8_t test_sf_vc_v_ivv_se_u8mf8_p27_26_overflow(vuint8mf8_t vd, vuint8mf8_t vs2, size_t vl) {
537 // expected-error@+1 {{argument value 4 is outside the valid range [0, 3]}}
538 return __riscv_sf_vc_v_ivv_se_u8mf8(p27_26_overflow, vd, vs2, simm5, vl);
541 vuint8mf8_t test_sf_vc_v_ivv_se_u8mf8_simm5_overflow(vuint8mf8_t vd, vuint8mf8_t vs2, size_t vl) {
542 // expected-error@+1 {{argument value 16 is outside the valid range [-16, 15]}}
543 return __riscv_sf_vc_v_ivv_se_u8mf8(p27_26, vd, vs2, simm5_overflow, vl);
546 // sf_vc_v_ivv
548 vuint8mf8_t test_sf_vc_v_ivv_u8mf8_p27_26_not_constant(vuint8mf8_t vd, vuint8mf8_t vs2, size_t vl, int index) {
549 // expected-error@+1 {{argument to '__riscv_sf_vc_v_ivv_u8mf8' must be a constant integer}}
550 return __riscv_sf_vc_v_ivv_u8mf8(index, vd, vs2, simm5, vl);
553 vuint8mf8_t test_sf_vc_v_ivv_u8mf8_simm5_not_constant(vuint8mf8_t vd, vuint8mf8_t vs2, size_t vl, int index) {
554 // expected-error@+1 {{argument to '__riscv_sf_vc_v_ivv_u8mf8' must be a constant integer}}
555 return __riscv_sf_vc_v_ivv_u8mf8(p27_26, vd, vs2, index, vl);
558 vuint8mf8_t test_sf_vc_v_ivv_u8mf8_p27_26_overflow(vuint8mf8_t vd, vuint8mf8_t vs2, size_t vl) {
559 // expected-error@+1 {{argument value 4 is outside the valid range [0, 3]}}
560 return __riscv_sf_vc_v_ivv_u8mf8(p27_26_overflow, vd, vs2, simm5, vl);
563 vuint8mf8_t test_sf_vc_v_ivv_u8mf8_simm5_overflow(vuint8mf8_t vd, vuint8mf8_t vs2, size_t vl) {
564 // expected-error@+1 {{argument value 16 is outside the valid range [-16, 15]}}
565 return __riscv_sf_vc_v_ivv_u8mf8(p27_26, vd, vs2, simm5_overflow, vl);
568 // sf_vc_v_fvv_se
570 vuint16mf4_t test_sf_vc_v_fvv_se_u16mf4_p26_not_constant(vuint16mf4_t vd, vuint16mf4_t vs2, _Float16 fs1, size_t vl, int index) {
571 // expected-error@+1 {{argument to '__riscv_sf_vc_v_fvv_se_u16mf4' must be a constant integer}}
572 return __riscv_sf_vc_v_fvv_se_u16mf4(index, vd, vs2, fs1, vl);
575 vuint16mf4_t test_sf_vc_v_fvv_se_u16mf4_p26_overflow(vuint16mf4_t vd, vuint16mf4_t vs2, _Float16 fs1, size_t vl) {
576 // expected-error@+1 {{argument value 2 is outside the valid range [0, 1]}}
577 return __riscv_sf_vc_v_fvv_se_u16mf4(p26_overflow, vd, vs2, fs1, vl);
580 // sf_vc_v_fvv
582 vuint16mf4_t test_sf_vc_v_fvv_u16mf4_p26_not_constant(vuint16mf4_t vd, vuint16mf4_t vs2, _Float16 fs1, size_t vl, int index) {
583 // expected-error@+1 {{argument to '__riscv_sf_vc_v_fvv_u16mf4' must be a constant integer}}
584 return __riscv_sf_vc_v_fvv_u16mf4(index, vd, vs2, fs1, vl);
587 vuint16mf4_t test_sf_vc_v_fvv_u16mf4_p26_overflow(vuint16mf4_t vd, vuint16mf4_t vs2, _Float16 fs1, size_t vl) {
588 // expected-error@+1 {{argument value 2 is outside the valid range [0, 1]}}
589 return __riscv_sf_vc_v_fvv_u16mf4(p26_overflow, vd, vs2, fs1, vl);
592 // sf_vc_vvw_se
594 void test_sf_vc_vvw_se_u8mf8_p27_26_not_constant(vuint16mf4_t vd, vuint8mf8_t vs2, vuint8mf8_t vs1, size_t vl, int index) {
595 // expected-error@+1 {{argument to '__riscv_sf_vc_vvw_se_u8mf8' must be a constant integer}}
596 __riscv_sf_vc_vvw_se_u8mf8(index, vd, vs2, vs1, vl);
599 void test_sf_vc_vvw_se_u8mf8_p27_26_overflow(vuint16mf4_t vd, vuint8mf8_t vs2, vuint8mf8_t vs1, size_t vl) {
600 // expected-error@+1 {{argument value 4 is outside the valid range [0, 3]}}
601 __riscv_sf_vc_vvw_se_u8mf8(p27_26_overflow, vd, vs2, vs1, vl);
604 // sf_vc_xvw_se
606 void test_sf_vc_xvw_se_u8mf8_p27_26_not_constant(vuint16mf4_t vd, vuint8mf8_t vs2, uint8_t rs1, size_t vl, int index) {
607 // expected-error@+1 {{argument to '__riscv_sf_vc_xvw_se_u8mf8' must be a constant integer}}
608 __riscv_sf_vc_xvw_se_u8mf8(index, vd, vs2, rs1, vl);
611 void test_sf_vc_xvw_se_u8mf8_p27_26_overflow(vuint16mf4_t vd, vuint8mf8_t vs2, uint8_t rs1, size_t vl) {
612 // expected-error@+1 {{argument value 4 is outside the valid range [0, 3]}}
613 __riscv_sf_vc_xvw_se_u8mf8(p27_26_overflow, vd, vs2, rs1, vl);
616 // sf_vc_ivw_se
618 void test_sf_vc_ivw_se_u8mf8_p27_26_not_constant(vuint16mf4_t vd, vuint8mf8_t vs2, size_t vl, int index) {
619 // expected-error@+1 {{argument to '__riscv_sf_vc_ivw_se_u8mf8' must be a constant integer}}
620 __riscv_sf_vc_ivw_se_u8mf8(index, vd, vs2, simm5, vl);
623 void test_sf_vc_ivw_se_u8mf8_simm5_not_constant(vuint16mf4_t vd, vuint8mf8_t vs2, size_t vl, int index) {
624 // expected-error@+1 {{argument to '__riscv_sf_vc_ivw_se_u8mf8' must be a constant integer}}
625 __riscv_sf_vc_ivw_se_u8mf8(p27_26, vd, vs2, index, vl);
628 void test_sf_vc_ivw_se_u8mf8_p27_26_overflow(vuint16mf4_t vd, vuint8mf8_t vs2, size_t vl) {
629 // expected-error@+1 {{argument value 4 is outside the valid range [0, 3]}}
630 __riscv_sf_vc_ivw_se_u8mf8(p27_26_overflow, vd, vs2, simm5, vl);
633 void test_sf_vc_ivw_se_u8mf8_simm5_overflow(vuint16mf4_t vd, vuint8mf8_t vs2, size_t vl) {
634 // expected-error@+1 {{argument value 16 is outside the valid range [-16, 15]}}
635 __riscv_sf_vc_ivw_se_u8mf8(p27_26, vd, vs2, simm5_overflow, vl);
638 // sf_vc_fvw_se
640 void test_sf_vc_fvw_se_u16mf4_p26_not_constant(vuint32mf2_t vd, vuint16mf4_t vs2, _Float16 fs1, size_t vl, int index) {
641 // expected-error@+1 {{argument to '__riscv_sf_vc_fvw_se_u16mf4' must be a constant integer}}
642 __riscv_sf_vc_fvw_se_u16mf4(index, vd, vs2, fs1, vl);
645 void test_sf_vc_fvw_se_u16mf4_p26_overflow(vuint32mf2_t vd, vuint16mf4_t vs2, _Float16 fs1, size_t vl) {
646 // expected-error@+1 {{argument value 2 is outside the valid range [0, 1]}}
647 __riscv_sf_vc_fvw_se_u16mf4(p26_overflow, vd, vs2, fs1, vl);
650 // sf_vc_v_vvw_se
652 vuint16mf4_t test_sf_vc_v_vvw_se_u8mf8_p27_26_not_constant(vuint16mf4_t vd, vuint8mf8_t vs2, vuint8mf8_t vs1, size_t vl, int index) {
653 // expected-error@+1 {{argument to '__riscv_sf_vc_v_vvw_se_u8mf8' must be a constant integer}}
654 return __riscv_sf_vc_v_vvw_se_u8mf8(index, vd, vs2, vs1, vl);
657 vuint16mf4_t test_sf_vc_v_vvw_se_u8mf8_p27_26_overflow(vuint16mf4_t vd, vuint8mf8_t vs2, vuint8mf8_t vs1, size_t vl) {
658 // expected-error@+1 {{argument value 4 is outside the valid range [0, 3]}}
659 return __riscv_sf_vc_v_vvw_se_u8mf8(p27_26_overflow, vd, vs2, vs1, vl);
662 // sf_vc_v_vvw
664 vuint16mf4_t test_sf_vc_v_vvw_u8mf8_p27_26_not_constant(vuint16mf4_t vd, vuint8mf8_t vs2, vuint8mf8_t vs1, size_t vl, int index) {
665 // expected-error@+1 {{argument to '__riscv_sf_vc_v_vvw_u8mf8' must be a constant integer}}
666 return __riscv_sf_vc_v_vvw_u8mf8(index, vd, vs2, vs1, vl);
669 vuint16mf4_t test_sf_vc_v_vvw_u8mf8_p27_26_overflow(vuint16mf4_t vd, vuint8mf8_t vs2, vuint8mf8_t vs1, size_t vl) {
670 // expected-error@+1 {{argument value 4 is outside the valid range [0, 3]}}
671 return __riscv_sf_vc_v_vvw_u8mf8(p27_26_overflow, vd, vs2, vs1, vl);
674 // sf_vc_v_xvw_se
676 vuint16mf4_t test_sf_vc_v_xvw_se_u8mf8_p27_26_not_constant(vuint16mf4_t vd, vuint8mf8_t vs2, uint8_t rs1, size_t vl, int index) {
677 // expected-error@+1 {{argument to '__riscv_sf_vc_v_xvw_se_u8mf8' must be a constant integer}}
678 return __riscv_sf_vc_v_xvw_se_u8mf8(index, vd, vs2, rs1, vl);
681 vuint16mf4_t test_sf_vc_v_xvw_se_u8mf8_p27_26_overflow(vuint16mf4_t vd, vuint8mf8_t vs2, uint8_t rs1, size_t vl) {
682 // expected-error@+1 {{argument value 4 is outside the valid range [0, 3]}}
683 return __riscv_sf_vc_v_xvw_se_u8mf8(p27_26_overflow, vd, vs2, rs1, vl);
686 // sf_vc_v_xvw
688 vuint16mf4_t test_sf_vc_v_xvw_u8mf8_p27_26_not_constant(vuint16mf4_t vd, vuint8mf8_t vs2, uint8_t rs1, size_t vl, int index) {
689 // expected-error@+1 {{argument to '__riscv_sf_vc_v_xvw_u8mf8' must be a constant integer}}
690 return __riscv_sf_vc_v_xvw_u8mf8(index, vd, vs2, rs1, vl);
693 vuint16mf4_t test_sf_vc_v_xvw_u8mf8_p27_26_overflow(vuint16mf4_t vd, vuint8mf8_t vs2, uint8_t rs1, size_t vl) {
694 // expected-error@+1 {{argument value 4 is outside the valid range [0, 3]}}
695 return __riscv_sf_vc_v_xvw_u8mf8(p27_26_overflow, vd, vs2, rs1, vl);
698 // sf_vc_v_ivw_se
700 vuint16mf4_t test_sf_vc_v_ivw_se_u8mf8_p27_26_not_constant(vuint16mf4_t vd, vuint8mf8_t vs2, size_t vl, int index) {
701 // expected-error@+1 {{argument to '__riscv_sf_vc_v_ivw_se_u8mf8' must be a constant integer}}
702 return __riscv_sf_vc_v_ivw_se_u8mf8(index, vd, vs2, simm5, vl);
705 vuint16mf4_t test_sf_vc_v_ivw_se_u8mf8_simm5_not_constant(vuint16mf4_t vd, vuint8mf8_t vs2, size_t vl, int index) {
706 // expected-error@+1 {{argument to '__riscv_sf_vc_v_ivw_se_u8mf8' must be a constant integer}}
707 return __riscv_sf_vc_v_ivw_se_u8mf8(p27_26, vd, vs2, index, vl);
710 vuint16mf4_t test_sf_vc_v_ivw_se_u8mf8_p27_26_overflow(vuint16mf4_t vd, vuint8mf8_t vs2, size_t vl) {
711 // expected-error@+1 {{argument value 4 is outside the valid range [0, 3]}}
712 return __riscv_sf_vc_v_ivw_se_u8mf8(p27_26_overflow, vd, vs2, simm5, vl);
715 vuint16mf4_t test_sf_vc_v_ivw_se_u8mf8_simm5_overflow(vuint16mf4_t vd, vuint8mf8_t vs2, size_t vl) {
716 // expected-error@+1 {{argument value 16 is outside the valid range [-16, 15]}}
717 return __riscv_sf_vc_v_ivw_se_u8mf8(p27_26, vd, vs2, simm5_overflow, vl);
720 // sf_vc_v_ivw
722 vuint16mf4_t test_sf_vc_v_ivw_u8mf8_p27_26_not_constant(vuint16mf4_t vd, vuint8mf8_t vs2, size_t vl, int index) {
723 // expected-error@+1 {{argument to '__riscv_sf_vc_v_ivw_u8mf8' must be a constant integer}}
724 return __riscv_sf_vc_v_ivw_u8mf8(index, vd, vs2, simm5, vl);
727 vuint16mf4_t test_sf_vc_v_ivw_u8mf8_simm5_not_constant(vuint16mf4_t vd, vuint8mf8_t vs2, size_t vl, int index) {
728 // expected-error@+1 {{argument to '__riscv_sf_vc_v_ivw_u8mf8' must be a constant integer}}
729 return __riscv_sf_vc_v_ivw_u8mf8(p27_26, vd, vs2, index, vl);
732 vuint16mf4_t test_sf_vc_v_ivw_u8mf8_p27_26_overflow(vuint16mf4_t vd, vuint8mf8_t vs2, size_t vl) {
733 // expected-error@+1 {{argument value 4 is outside the valid range [0, 3]}}
734 return __riscv_sf_vc_v_ivw_u8mf8(p27_26_overflow, vd, vs2, simm5, vl);
737 vuint16mf4_t test_sf_vc_v_ivw_u8mf8_simm5_overflow(vuint16mf4_t vd, vuint8mf8_t vs2, size_t vl) {
738 // expected-error@+1 {{argument value 16 is outside the valid range [-16, 15]}}
739 return __riscv_sf_vc_v_ivw_u8mf8(p27_26, vd, vs2, simm5_overflow, vl);
742 // sf_vc_v_fvw_se
744 vuint32mf2_t test_sf_vc_v_fvw_se_u16mf4_p26_not_constant(vuint32mf2_t vd, vuint16mf4_t vs2, _Float16 fs1, size_t vl, int index) {
745 // expected-error@+1 {{argument to '__riscv_sf_vc_v_fvw_se_u16mf4' must be a constant integer}}
746 return __riscv_sf_vc_v_fvw_se_u16mf4(index, vd, vs2, fs1, vl);
749 vuint32mf2_t test_sf_vc_v_fvw_se_u16mf4_p26_overflow(vuint32mf2_t vd, vuint16mf4_t vs2, _Float16 fs1, size_t vl) {
750 // expected-error@+1 {{argument value 2 is outside the valid range [0, 1]}}
751 return __riscv_sf_vc_v_fvw_se_u16mf4(p26_overflow, vd, vs2, fs1, vl);
754 // sf_vc_v_fvw
756 vuint32mf2_t test_sf_vc_v_fvw_u16mf4_p26_not_constant(vuint32mf2_t vd, vuint16mf4_t vs2, _Float16 fs1, size_t vl, int index) {
757 // expected-error@+1 {{argument to '__riscv_sf_vc_v_fvw_u16mf4' must be a constant integer}}
758 return __riscv_sf_vc_v_fvw_u16mf4(index, vd, vs2, fs1, vl);
761 vuint32mf2_t test_sf_vc_v_fvw_u16mf4_p26_overflow(vuint32mf2_t vd, vuint16mf4_t vs2, _Float16 fs1, size_t vl) {
762 // expected-error@+1 {{argument value 2 is outside the valid range [0, 1]}}
763 return __riscv_sf_vc_v_fvw_u16mf4(p26_overflow, vd, vs2, fs1, vl);