Debian Codegraph @

gcc/testsuite/gcc.target/riscv/rvv/base/zvfh-intrinsic.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-march=rv64gcv_zvfh -mabi=lp64 -O3" } */
3
4 #include "riscv_vector.h"
5
6 typedef _Float16 float16_t;
7
8 vfloat16mf4_t test_vfadd_vv_f16mf4(vfloat16mf4_t op1, vfloat16mf4_t op2, size_t vl) {
9 return __riscv_vfadd_vv_f16mf4(op1, op2, vl);
10 }
11
12 vfloat16m8_t test_vfadd_vf_f16m8(vfloat16m8_t op1, float16_t op2, size_t vl) {
13 return __riscv_vfadd_vf_f16m8(op1, op2, vl);
14 }
15
16 vfloat16mf4_t test_vfsub_vv_f16mf4(vfloat16mf4_t op1, vfloat16mf4_t op2, size_t vl) {
17 return __riscv_vfsub_vv_f16mf4(op1, op2, vl);
18 }
19
20 vfloat16m8_t test_vfsub_vf_f16m8(vfloat16m8_t op1, float16_t op2, size_t vl) {
21 return __riscv_vfsub_vf_f16m8(op1, op2, vl);
22 }
23
24 vfloat16mf4_t test_vfrsub_vf_f16mf4(vfloat16mf4_t op1, float16_t op2, size_t vl) {
25 return __riscv_vfrsub_vf_f16mf4(op1, op2, vl);
26 }
27
28 vfloat16m8_t test_vfrsub_vf_f16m8(vfloat16m8_t op1, float16_t op2, size_t vl) {
29 return __riscv_vfrsub_vf_f16m8(op1, op2, vl);
30 }
31
32 vfloat32mf2_t test_vfwadd_vv_f32mf2(vfloat16mf4_t op1, vfloat16mf4_t op2, size_t vl) {
33 return __riscv_vfwadd_vv_f32mf2(op1, op2, vl);
34 }
35
36 vfloat32m8_t test_vfwadd_vv_f32m8(vfloat16m4_t op1, vfloat16m4_t op2, size_t vl) {
37 return __riscv_vfwadd_vv_f32m8(op1, op2, vl);
38 }
39
40 vfloat32mf2_t test_vfwadd_wv_f32mf2(vfloat32mf2_t op1, vfloat16mf4_t op2, size_t vl) {
41 return __riscv_vfwadd_wv_f32mf2(op1, op2, vl);
42 }
43
44 vfloat32m8_t test_vfwadd_wv_f32m8(vfloat32m8_t op1, vfloat16m4_t op2, size_t vl) {
45 return __riscv_vfwadd_wv_f32m8(op1, op2, vl);
46 }
47
48 vfloat32mf2_t test_vfwsub_vv_f32mf2(vfloat16mf4_t op1, vfloat16mf4_t op2, size_t vl) {
49 return __riscv_vfwsub_vv_f32mf2(op1, op2, vl);
50 }
51
52 vfloat32m8_t test_vfwsub_vv_f32m8(vfloat16m4_t op1, vfloat16m4_t op2, size_t vl) {
53 return __riscv_vfwsub_vv_f32m8(op1, op2, vl);
54 }
55
56 vfloat32mf2_t test_vfwsub_wv_f32mf2(vfloat32mf2_t op1, vfloat16mf4_t op2, size_t vl) {
57 return __riscv_vfwsub_wv_f32mf2(op1, op2, vl);
58 }
59
60 vfloat32m8_t test_vfwsub_wv_f32m8(vfloat32m8_t op1, vfloat16m4_t op2, size_t vl) {
61 return __riscv_vfwsub_wv_f32m8(op1, op2, vl);
62 }
63
64 vfloat16mf4_t test_vfmul_vv_f16mf4(vfloat16mf4_t op1, vfloat16mf4_t op2, size_t vl) {
65 return __riscv_vfmul_vv_f16mf4(op1, op2, vl);
66 }
67
68 vfloat16m8_t test_vfmul_vf_f16m8(vfloat16m8_t op1, float16_t op2, size_t vl) {
69 return __riscv_vfmul_vf_f16m8(op1, op2, vl);
70 }
71
72 vfloat16mf4_t test_vfdiv_vv_f16mf4(vfloat16mf4_t op1, vfloat16mf4_t op2, size_t vl) {
73 return __riscv_vfdiv_vv_f16mf4(op1, op2, vl);
74 }
75
76 vfloat16m8_t test_vfdiv_vf_f16m8(vfloat16m8_t op1, float16_t op2, size_t vl) {
77 return __riscv_vfdiv_vf_f16m8(op1, op2, vl);
78 }
79
80 vfloat16mf4_t test_vfrdiv_vf_f16mf4(vfloat16mf4_t op1, float16_t op2, size_t vl) {
81 return __riscv_vfrdiv_vf_f16mf4(op1, op2, vl);
82 }
83
84 vfloat16m8_t test_vfrdiv_vf_f16m8(vfloat16m8_t op1, float16_t op2, size_t vl) {
85 return __riscv_vfrdiv_vf_f16m8(op1, op2, vl);
86 }
87
88 vfloat32mf2_t test_vfwmul_vv_f32mf2(vfloat16mf4_t op1, vfloat16mf4_t op2, size_t vl) {
89 return __riscv_vfwmul_vv_f32mf2(op1, op2, vl);
90 }
91
92 vfloat32m8_t test_vfwmul_vf_f32m8(vfloat16m4_t op1, float16_t op2, size_t vl) {
93 return __riscv_vfwmul_vf_f32m8(op1, op2, vl);
94 }
95
96 vfloat16mf4_t test_vfmacc_vv_f16mf4(vfloat16mf4_t vd, vfloat16mf4_t vs1, vfloat16mf4_t vs2, size_t vl) {
97 return __riscv_vfmacc_vv_f16mf4(vd, vs1, vs2, vl);
98 }
99
100 vfloat16m8_t test_vfmacc_vf_f16m8(vfloat16m8_t vd, float16_t rs1, vfloat16m8_t vs2, size_t vl) {
101 return __riscv_vfmacc_vf_f16m8(vd, rs1, vs2, vl);
102 }
103
104 vfloat16mf4_t test_vfnmacc_vv_f16mf4(vfloat16mf4_t vd, vfloat16mf4_t vs1, vfloat16mf4_t vs2, size_t vl) {
105 return __riscv_vfnmacc_vv_f16mf4(vd, vs1, vs2, vl);
106 }
107
108 vfloat16m8_t test_vfnmacc_vf_f16m8(vfloat16m8_t vd, float16_t rs1, vfloat16m8_t vs2, size_t vl) {
109 return __riscv_vfnmacc_vf_f16m8(vd, rs1, vs2, vl);
110 }
111
112 vfloat16mf4_t test_vfmsac_vv_f16mf4(vfloat16mf4_t vd, vfloat16mf4_t vs1, vfloat16mf4_t vs2, size_t vl) {
113 return __riscv_vfmsac_vv_f16mf4(vd, vs1, vs2, vl);
114 }
115
116 vfloat16m8_t test_vfmsac_vf_f16m8(vfloat16m8_t vd, float16_t rs1, vfloat16m8_t vs2, size_t vl) {
117 return __riscv_vfmsac_vf_f16m8(vd, rs1, vs2, vl);
118 }
119
120 vfloat16mf4_t test_vfnmsac_vv_f16mf4(vfloat16mf4_t vd, vfloat16mf4_t vs1, vfloat16mf4_t vs2, size_t vl) {
121 return __riscv_vfnmsac_vv_f16mf4(vd, vs1, vs2, vl);
122 }
123
124 vfloat16m8_t test_vfnmsac_vf_f16m8(vfloat16m8_t vd, float16_t rs1, vfloat16m8_t vs2, size_t vl) {
125 return __riscv_vfnmsac_vf_f16m8(vd, rs1, vs2, vl);
126 }
127
128 vfloat16mf4_t test_vfmadd_vv_f16mf4(vfloat16mf4_t vd, vfloat16mf4_t vs1, vfloat16mf4_t vs2, size_t vl) {
129 return __riscv_vfmadd_vv_f16mf4(vd, vs1, vs2, vl);
130 }
131
132 vfloat16m8_t test_vfmadd_vf_f16m8(vfloat16m8_t vd, float16_t rs1, vfloat16m8_t vs2, size_t vl) {
133 return __riscv_vfmadd_vf_f16m8(vd, rs1, vs2, vl);
134 }
135
136 vfloat16mf4_t test_vfnmadd_vv_f16mf4(vfloat16mf4_t vd, vfloat16mf4_t vs1, vfloat16mf4_t vs2, size_t vl) {
137 return __riscv_vfnmadd_vv_f16mf4(vd, vs1, vs2, vl);
138 }
139
140 vfloat16m8_t test_vfnmadd_vf_f16m8(vfloat16m8_t vd, float16_t rs1, vfloat16m8_t vs2, size_t vl) {
141 return __riscv_vfnmadd_vf_f16m8(vd, rs1, vs2, vl);
142 }
143
144 vfloat16mf4_t test_vfmsub_vv_f16mf4(vfloat16mf4_t vd, vfloat16mf4_t vs1, vfloat16mf4_t vs2, size_t vl) {
145 return __riscv_vfmsub_vv_f16mf4(vd, vs1, vs2, vl);
146 }
147
148 vfloat16m8_t test_vfmsub_vf_f16m8(vfloat16m8_t vd, float16_t rs1, vfloat16m8_t vs2, size_t vl) {
149 return __riscv_vfmsub_vf_f16m8(vd, rs1, vs2, vl);
150 }
151
152 vfloat16mf4_t test_vfnmsub_vv_f16mf4(vfloat16mf4_t vd, vfloat16mf4_t vs1, vfloat16mf4_t vs2, size_t vl) {
153 return __riscv_vfnmsub_vv_f16mf4(vd, vs1, vs2, vl);
154 }
155
156 vfloat16m8_t test_vfnmsub_vf_f16m8(vfloat16m8_t vd, float16_t rs1, vfloat16m8_t vs2, size_t vl) {
157 return __riscv_vfnmsub_vf_f16m8(vd, rs1, vs2, vl);
158 }
159
160 vfloat32mf2_t test_vfwmacc_vv_f32mf2(vfloat32mf2_t vd, vfloat16mf4_t vs1, vfloat16mf4_t vs2, size_t vl) {
161 return __riscv_vfwmacc_vv_f32mf2(vd, vs1, vs2, vl);
162 }
163
164 vfloat32m8_t test_vfwmacc_vf_f32m8(vfloat32m8_t vd, float16_t vs1, vfloat16m4_t vs2, size_t vl) {
165 return __riscv_vfwmacc_vf_f32m8(vd, vs1, vs2, vl);
166 }
167
168 vfloat32mf2_t test_vfwnmacc_vv_f32mf2(vfloat32mf2_t vd, vfloat16mf4_t vs1, vfloat16mf4_t vs2, size_t vl) {
169 return __riscv_vfwnmacc_vv_f32mf2(vd, vs1, vs2, vl);
170 }
171
172 vfloat32m8_t test_vfwnmacc_vf_f32m8(vfloat32m8_t vd, float16_t vs1, vfloat16m4_t vs2, size_t vl) {
173 return __riscv_vfwnmacc_vf_f32m8(vd, vs1, vs2, vl);
174 }
175
176 vfloat32mf2_t test_vfwmsac_vv_f32mf2(vfloat32mf2_t vd, vfloat16mf4_t vs1, vfloat16mf4_t vs2, size_t vl) {
177 return __riscv_vfwmsac_vv_f32mf2(vd, vs1, vs2, vl);
178 }
179
180 vfloat32m8_t test_vfwmsac_vf_f32m8(vfloat32m8_t vd, float16_t vs1, vfloat16m4_t vs2, size_t vl) {
181 return __riscv_vfwmsac_vf_f32m8(vd, vs1, vs2, vl);
182 }
183
184 vfloat32mf2_t test_vfwnmsac_vv_f32mf2(vfloat32mf2_t vd, vfloat16mf4_t vs1, vfloat16mf4_t vs2, size_t vl) {
185 return __riscv_vfwnmsac_vv_f32mf2(vd, vs1, vs2, vl);
186 }
187
188 vfloat32m8_t test_vfwnmsac_vf_f32m8(vfloat32m8_t vd, float16_t vs1, vfloat16m4_t vs2, size_t vl) {
189 return __riscv_vfwnmsac_vf_f32m8(vd, vs1, vs2, vl);
190 }
191
192 vfloat16mf4_t test_vfsqrt_v_f16mf4(vfloat16mf4_t op1, size_t vl) {
193 return __riscv_vfsqrt_v_f16mf4(op1, vl);
194 }
195
196 vfloat16m8_t test_vfsqrt_v_f16m8(vfloat16m8_t op1, size_t vl) {
197 return __riscv_vfsqrt_v_f16m8(op1, vl);
198 }
199
200 vfloat16mf4_t test_vfrsqrt7_v_f16mf4(vfloat16mf4_t op1, size_t vl) {
201 return __riscv_vfrsqrt7_v_f16mf4(op1, vl);
202 }
203
204 vfloat16m8_t test_vfrsqrt7_v_f16m8(vfloat16m8_t op1, size_t vl) {
205 return __riscv_vfrsqrt7_v_f16m8(op1, vl);
206 }
207
208 vfloat16mf4_t test_vfrec7_v_f16mf4(vfloat16mf4_t op1, size_t vl) {
209 return __riscv_vfrec7_v_f16mf4(op1, vl);
210 }
211
212 vfloat16m8_t test_vfrec7_v_f16m8(vfloat16m8_t op1, size_t vl) {
213 return __riscv_vfrec7_v_f16m8(op1, vl);
214 }
215
216 vfloat16mf4_t test_vfmin_vv_f16mf4(vfloat16mf4_t op1, vfloat16mf4_t op2, size_t vl) {
217 return __riscv_vfmin_vv_f16mf4(op1, op2, vl);
218 }
219
220 vfloat16m8_t test_vfmin_vf_f16m8(vfloat16m8_t op1, float16_t op2, size_t vl) {
221 return __riscv_vfmin_vf_f16m8(op1, op2, vl);
222 }
223
224 vfloat16mf4_t test_vfmax_vv_f16mf4(vfloat16mf4_t op1, vfloat16mf4_t op2, size_t vl) {
225 return __riscv_vfmax_vv_f16mf4(op1, op2, vl);
226 }
227
228 vfloat16m8_t test_vfmax_vf_f16m8(vfloat16m8_t op1, float16_t op2, size_t vl) {
229 return __riscv_vfmax_vf_f16m8(op1, op2, vl);
230 }
231
232 vfloat16mf4_t test_vfsgnj_vv_f16mf4(vfloat16mf4_t op1, vfloat16mf4_t op2, size_t vl) {
233 return __riscv_vfsgnj_vv_f16mf4(op1, op2, vl);
234 }
235
236 vfloat16m8_t test_vfsgnj_vf_f16m8(vfloat16m8_t op1, float16_t op2, size_t vl) {
237 return __riscv_vfsgnj_vf_f16m8(op1, op2, vl);
238 }
239
240 vfloat16mf4_t test_vfsgnjn_vv_f16mf4(vfloat16mf4_t op1, vfloat16mf4_t op2, size_t vl) {
241 return __riscv_vfsgnjn_vv_f16mf4(op1, op2, vl);
242 }
243
244 vfloat16m8_t test_vfsgnjn_vf_f16m8(vfloat16m8_t op1, float16_t op2, size_t vl) {
245 return __riscv_vfsgnjn_vf_f16m8(op1, op2, vl);
246 }
247
248 vfloat16mf4_t test_vfsgnjx_vv_f16mf4(vfloat16mf4_t op1, vfloat16mf4_t op2, size_t vl) {
249 return __riscv_vfsgnjx_vv_f16mf4(op1, op2, vl);
250 }
251
252 vfloat16m8_t test_vfsgnjx_vf_f16m8(vfloat16m8_t op1, float16_t op2, size_t vl) {
253 return __riscv_vfsgnjx_vf_f16m8(op1, op2, vl);
254 }
255
256 vbool64_t test_vmfeq_vv_f16mf4_b64(vfloat16mf4_t op1, vfloat16mf4_t op2, size_t vl) {
257 return __riscv_vmfeq_vv_f16mf4_b64(op1, op2, vl);
258 }
259
260 vbool2_t test_vmfeq_vf_f16m8_b2(vfloat16m8_t op1, float16_t op2, size_t vl) {
261 return __riscv_vmfeq_vf_f16m8_b2(op1, op2, vl);
262 }
263
264 vbool64_t test_vmfne_vv_f16mf4_b64(vfloat16mf4_t op1, vfloat16mf4_t op2, size_t vl) {
265 return __riscv_vmfne_vv_f16mf4_b64(op1, op2, vl);
266 }
267
268 vbool2_t test_vmfne_vf_f16m8_b2(vfloat16m8_t op1, float16_t op2, size_t vl) {
269 return __riscv_vmfne_vf_f16m8_b2(op1, op2, vl);
270 }
271
272 vbool64_t test_vmflt_vv_f16mf4_b64(vfloat16mf4_t op1, vfloat16mf4_t op2, size_t vl) {
273 return __riscv_vmflt_vv_f16mf4_b64(op1, op2, vl);
274 }
275
276 vbool2_t test_vmflt_vf_f16m8_b2(vfloat16m8_t op1, float16_t op2, size_t vl) {
277 return __riscv_vmflt_vf_f16m8_b2(op1, op2, vl);
278 }
279
280 vbool64_t test_vmfle_vv_f16mf4_b64(vfloat16mf4_t op1, vfloat16mf4_t op2, size_t vl) {
281 return __riscv_vmfle_vv_f16mf4_b64(op1, op2, vl);
282 }
283
284 vbool2_t test_vmfle_vf_f16m8_b2(vfloat16m8_t op1, float16_t op2, size_t vl) {
285 return __riscv_vmfle_vf_f16m8_b2(op1, op2, vl);
286 }
287
288 vbool64_t test_vmfgt_vv_f16mf4_b64(vfloat16mf4_t op1, vfloat16mf4_t op2, size_t vl) {
289 return __riscv_vmfgt_vv_f16mf4_b64(op1, op2, vl);
290 }
291
292 vbool2_t test_vmfgt_vf_f16m8_b2(vfloat16m8_t op1, float16_t op2, size_t vl) {
293 return __riscv_vmfgt_vf_f16m8_b2(op1, op2, vl);
294 }
295
296 vbool64_t test_vmfge_vv_f16mf4_b64(vfloat16mf4_t op1, vfloat16mf4_t op2, size_t vl) {
297 return __riscv_vmfge_vv_f16mf4_b64(op1, op2, vl);
298 }
299
300 vbool2_t test_vmfge_vf_f16m8_b2(vfloat16m8_t op1, float16_t op2, size_t vl) {
301 return __riscv_vmfge_vf_f16m8_b2(op1, op2, vl);
302 }
303
304 vuint16mf4_t test_vfclass_v_u16mf4(vfloat16mf4_t op1, size_t vl) {
305 return __riscv_vfclass_v_u16mf4(op1, vl);
306 }
307
308 vuint16m8_t test_vfclass_v_u16m8(vfloat16m8_t op1, size_t vl) {
309 return __riscv_vfclass_v_u16m8(op1, vl);
310 }
311
312 vfloat16mf4_t test_vfmerge_vfm_f16mf4(vfloat16mf4_t op1, float16_t op2, vbool64_t mask, size_t vl) {
313 return __riscv_vfmerge_vfm_f16mf4(op1, op2, mask, vl);
314 }
315
316 vfloat16m8_t test_vfmerge_vfm_f16m8(vfloat16m8_t op1, float16_t op2, vbool2_t mask, size_t vl) {
317 return __riscv_vfmerge_vfm_f16m8(op1, op2, mask, vl);
318 }
319
320 vfloat16mf4_t test_vfmv_v_f_f16mf4(float16_t src, size_t vl) {
321 return __riscv_vfmv_v_f_f16mf4(src, vl);
322 }
323
324 vfloat16m8_t test_vfmv_v_f_f16m8(float16_t src, size_t vl) {
325 return __riscv_vfmv_v_f_f16m8(src, vl);
326 }
327
328 vint16mf4_t test_vfcvt_x_f_v_i16mf4(vfloat16mf4_t src, size_t vl) {
329 return __riscv_vfcvt_x_f_v_i16mf4(src, vl);
330 }
331
332 vuint16m8_t test_vfcvt_xu_f_v_u16m8(vfloat16m8_t src, size_t vl) {
333 return __riscv_vfcvt_xu_f_v_u16m8(src, vl);
334 }
335
336 vfloat16mf4_t test_vfcvt_f_x_v_f16mf4(vint16mf4_t src, size_t vl) {
337 return __riscv_vfcvt_f_x_v_f16mf4(src, vl);
338 }
339
340 vfloat16m8_t test_vfcvt_f_xu_v_f16m8(vuint16m8_t src, size_t vl) {
341 return __riscv_vfcvt_f_xu_v_f16m8(src, vl);
342 }
343
344 vint16mf4_t test_vfcvt_rtz_x_f_v_i16mf4(vfloat16mf4_t src, size_t vl) {
345 return __riscv_vfcvt_rtz_x_f_v_i16mf4(src, vl);
346 }
347
348 vuint16m8_t test_vfcvt_rtz_xu_f_v_u16m8(vfloat16m8_t src, size_t vl) {
349 return __riscv_vfcvt_rtz_xu_f_v_u16m8(src, vl);
350 }
351
352 vfloat16mf4_t test_vfwcvt_f_x_v_f16mf4(vint8mf8_t src, size_t vl) {
353 return __riscv_vfwcvt_f_x_v_f16mf4(src, vl);
354 }
355
356 vuint32m8_t test_vfwcvt_xu_f_v_u32m8(vfloat16m4_t src, size_t vl) {
357 return __riscv_vfwcvt_xu_f_v_u32m8(src, vl);
358 }
359
360 vint8mf8_t test_vfncvt_x_f_w_i8mf8(vfloat16mf4_t src, size_t vl) {
361 return __riscv_vfncvt_x_f_w_i8mf8(src, vl);
362 }
363
364 vfloat16m4_t test_vfncvt_f_xu_w_f16m4(vuint32m8_t src, size_t vl) {
365 return __riscv_vfncvt_f_xu_w_f16m4(src, vl);
366 }
367
368 vfloat16m1_t test_vfredosum_vs_f16mf4_f16m1(vfloat16mf4_t vector, vfloat16m1_t scalar, size_t vl) {
369 return __riscv_vfredosum_vs_f16mf4_f16m1(vector, scalar, vl);
370 }
371
372 vfloat16m1_t test_vfredosum_vs_f16m8_f16m1(vfloat16m8_t vector, vfloat16m1_t scalar, size_t vl) {
373 return __riscv_vfredosum_vs_f16m8_f16m1(vector, scalar, vl);
374 }
375
376 vfloat16m1_t test_vfredusum_vs_f16mf4_f16m1(vfloat16mf4_t vector, vfloat16m1_t scalar, size_t vl) {
377 return __riscv_vfredusum_vs_f16mf4_f16m1(vector, scalar, vl);
378 }
379
380 vfloat16m1_t test_vfredusum_vs_f16m8_f16m1(vfloat16m8_t vector, vfloat16m1_t scalar, size_t vl) {
381 return __riscv_vfredusum_vs_f16m8_f16m1(vector, scalar, vl);
382 }
383
384 vfloat16m1_t test_vfredmax_vs_f16mf4_f16m1(vfloat16mf4_t vector, vfloat16m1_t scalar, size_t vl) {
385 return __riscv_vfredmax_vs_f16mf4_f16m1(vector, scalar, vl);
386 }
387
388 vfloat16m1_t test_vfredmax_vs_f16m8_f16m1(vfloat16m8_t vector, vfloat16m1_t scalar, size_t vl) {
389 return __riscv_vfredmax_vs_f16m8_f16m1(vector, scalar, vl);
390 }
391
392 vfloat16m1_t test_vfredmin_vs_f16mf4_f16m1(vfloat16mf4_t vector, vfloat16m1_t scalar, size_t vl) {
393 return __riscv_vfredmin_vs_f16mf4_f16m1(vector, scalar, vl);
394 }
395
396 vfloat16m1_t test_vfredmin_vs_f16m8_f16m1(vfloat16m8_t vector, vfloat16m1_t scalar, size_t vl) {
397 return __riscv_vfredmin_vs_f16m8_f16m1(vector, scalar, vl);
398 }
399
400 vfloat32m1_t test_vfwredosum_vs_f16mf4_f32m1(vfloat16mf4_t vector, vfloat32m1_t scalar, size_t vl) {
401 return __riscv_vfwredosum_vs_f16mf4_f32m1(vector, scalar, vl);
402 }
403
404 vfloat32m1_t test_vfwredosum_vs_f16m8_f32m1(vfloat16m8_t vector, vfloat32m1_t scalar, size_t vl) {
405 return __riscv_vfwredosum_vs_f16m8_f32m1(vector, scalar, vl);
406 }
407
408 vfloat32m1_t test_vfwredusum_vs_f16mf4_f32m1(vfloat16mf4_t vector, vfloat32m1_t scalar, size_t vl) {
409 return __riscv_vfwredusum_vs_f16mf4_f32m1(vector, scalar, vl);
410 }
411
412 vfloat32m1_t test_vfwredusum_vs_f16m8_f32m1(vfloat16m8_t vector, vfloat32m1_t scalar, size_t vl) {
413 return __riscv_vfwredusum_vs_f16m8_f32m1(vector, scalar, vl);
414 }
415
416 vfloat16mf4_t test_vfslide1up_vf_f16mf4(vfloat16mf4_t src, float16_t value, size_t vl) {
417 return __riscv_vfslide1up_vf_f16mf4(src, value, vl);
418 }
419
420 vfloat16m8_t test_vfslide1up_vf_f16m8(vfloat16m8_t src, float16_t value, size_t vl) {
421 return __riscv_vfslide1up_vf_f16m8(src, value, vl);
422 }
423
424 vfloat16mf4_t test_vfslide1down_vf_f16mf4(vfloat16mf4_t src, float16_t value, size_t vl) {
425 return __riscv_vfslide1down_vf_f16mf4(src, value, vl);
426 }
427
428 vfloat16m8_t test_vfslide1down_vf_f16m8(vfloat16m8_t src, float16_t value, size_t vl) {
429 return __riscv_vfslide1down_vf_f16m8(src, value, vl);
430 }
431
432 /* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*mf4,\s*t[au],\s*m[au]} 51 } } */
433 /* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m4,\s*t[au],\s*m[au]} 11 } } */
434 /* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m8,\s*t[au],\s*m[au]} 42 } } */
435 /* { dg-final { scan-assembler-times {vfadd\.v[fv]\s+v[0-9]+,\s*v[0-9]+,\s*[vfa]+[0-9]+} 2 } } */
436 /* { dg-final { scan-assembler-times {vfsub\.v[fv]\s+v[0-9]+,\s*v[0-9]+,\s*[vfa]+[0-9]+} 2 } } */
437 /* { dg-final { scan-assembler-times {vfrsub\.vf\s+v[0-9]+,\s*v[0-9]+,\s*[vfa]+[0-9]+} 2 } } */
438 /* { dg-final { scan-assembler-times {vfwadd\.[wv]v\s+v[0-9]+,\s*v[0-9]+,\s*[vfa]+[0-9]+} 4 } } */
439 /* { dg-final { scan-assembler-times {vfwsub\.[wv]v\s+v[0-9]+,\s*v[0-9]+,\s*[vfa]+[0-9]+} 4 } } */
440 /* { dg-final { scan-assembler-times {vfmul\.v[vf]\s+v[0-9]+,\s*v[0-9]+,\s*[vfa]+[0-9]+} 2 } } */
441 /* { dg-final { scan-assembler-times {vfdiv\.v[vf]\s+v[0-9]+,\s*v[0-9]+,\s*[vfa]+[0-9]+} 2 } } */
442 /* { dg-final { scan-assembler-times {vfrdiv\.vf\s+v[0-9]+,\s*v[0-9]+,\s*[vfa]+[0-9]+} 2 } } */
443 /* { dg-final { scan-assembler-times {vfwmul\.v[vf]\s+v[0-9]+,\s*v[0-9]+,\s*[vfa]+[0-9]+} 2 } } */
444 /* { dg-final { scan-assembler-times {vfmacc\.v[vf]\s+v[0-9]+,\s*[vfa]+[0-9]+,\s*v[0-9]+} 2 } } */
445 /* { dg-final { scan-assembler-times {vfnmacc\.v[vf]\s+v[0-9]+,\s*[vfa]+[0-9]+,\s*v[0-9]+} 2 } } */
446 /* { dg-final { scan-assembler-times {vfmsac\.v[vf]\s+v[0-9]+,\s*[vfa]+[0-9]+,\s*v[0-9]+} 2 } } */
447 /* { dg-final { scan-assembler-times {vfnmsac\.v[vf]\s+v[0-9]+,\s*[vfa]+[0-9]+,\s*v[0-9]+} 2 } } */
448 /* { dg-final { scan-assembler-times {vfmadd\.v[vf]\s+v[0-9]+,\s*[vfa]+[0-9]+,\s*v[0-9]+} 2 } } */
449 /* { dg-final { scan-assembler-times {vfnmadd\.v[vf]\s+v[0-9]+,\s*[vfa]+[0-9]+,\s*v[0-9]+} 2 } } */
450 /* { dg-final { scan-assembler-times {vfmsub\.v[vf]\s+v[0-9]+,\s*[vfa]+[0-9]+,\s*v[0-9]+} 2 } } */
451 /* { dg-final { scan-assembler-times {vfnmsub\.v[vf]\s+v[0-9]+,\s*[vfa]+[0-9]+,\s*v[0-9]+} 2 } } */
452 /* { dg-final { scan-assembler-times {vfwmacc\.v[vf]\s+v[0-9]+,\s*[vfa]+[0-9]+,\s*v[0-9]+} 2 } } */
453 /* { dg-final { scan-assembler-times {vfwnmacc\.v[vf]\s+v[0-9]+,\s*[vfa]+[0-9]+,\s*v[0-9]+} 2 } } */
454 /* { dg-final { scan-assembler-times {vfwmsac\.v[vf]\s+v[0-9]+,\s*[vfa]+[0-9]+,\s*v[0-9]+} 2 } } */
455 /* { dg-final { scan-assembler-times {vfwnmsac\.v[vf]\s+v[0-9]+,\s*[vfa]+[0-9]+,\s*v[0-9]+} 2 } } */
456 /* { dg-final { scan-assembler-times {vfsqrt\.v\s+v[0-9]+,\s*v[0-9]+} 2 } } */
457 /* { dg-final { scan-assembler-times {vfrsqrt7\.v\s+v[0-9]+,\s*v[0-9]+} 2 } } */
458 /* { dg-final { scan-assembler-times {vfrec7\.v\s+v[0-9]+,\s*v[0-9]+} 2 } } */
459 /* { dg-final { scan-assembler-times {vfmin\.v[vf]\s+v[0-9]+,\s*v[0-9]+,\s*[vfa]+[0-9]+} 2 } } */
460 /* { dg-final { scan-assembler-times {vfmax\.v[vf]\s+v[0-9]+,\s*v[0-9]+,\s*[vfa]+[0-9]+} 2 } } */
461 /* { dg-final { scan-assembler-times {vfsgnj\.v[vf]\s+v[0-9]+,\s*v[0-9]+,\s*[vfa]+[0-9]+} 2 } } */
462 /* { dg-final { scan-assembler-times {vfsgnjn\.v[vf]\s+v[0-9]+,\s*v[0-9]+,\s*[vfa]+[0-9]+} 2 } } */
463 /* { dg-final { scan-assembler-times {vfsgnjx\.v[vf]\s+v[0-9]+,\s*v[0-9]+,\s*[vfa]+[0-9]+} 2 } } */
464 /* { dg-final { scan-assembler-times {vmfeq\.v[vf]\s+v[0-9]+,\s*v[0-9]+,\s*[vfa]+[0-9]+} 2 } } */
465 /* { dg-final { scan-assembler-times {vmfne\.v[vf]\s+v[0-9]+,\s*v[0-9]+,\s*[vfa]+[0-9]+} 2 } } */
466 /* { dg-final { scan-assembler-times {vmflt\.v[vf]\s+v[0-9]+,\s*v[0-9]+,\s*[vfa]+[0-9]+} 2 } } */
467 /* { dg-final { scan-assembler-times {vmfle\.v[vf]\s+v[0-9]+,\s*v[0-9]+,\s*[vfa]+[0-9]+} 2 } } */
468 /* { dg-final { scan-assembler-times {vmfgt\.v[vf]\s+v[0-9]+,\s*v[0-9]+,\s*[vfa]+[0-9]+} 2 } } */
469 /* { dg-final { scan-assembler-times {vmfge\.v[vf]\s+v[0-9]+,\s*v[0-9]+,\s*[vfa]+[0-9]+} 2 } } */
470 /* { dg-final { scan-assembler-times {vfclass\.v\s+v[0-9]+,\s*v[0-9]+} 2 } } */
471 /* { dg-final { scan-assembler-times {vfmerge\.vfm\s+v[0-9]+,\s*v[0-9]+,\s*fa[0-9]+,\s*v0} 2 } } */
472 /* { dg-final { scan-assembler-times {vfmv\.v\.f\s+v[0-9]+,\s*fa[0-9]+} 2 } } */
473 /* { dg-final { scan-assembler-times {vfcvt\.x\.f\.v\s+v[0-9]+,\s*v[0-9]+} 1 } } */
474 /* { dg-final { scan-assembler-times {vfcvt\.xu\.f\.v\s+v[0-9]+,\s*v[0-9]+} 1 } } */
475 /* { dg-final { scan-assembler-times {vfcvt\.f\.x\.v\s+v[0-9]+,\s*v[0-9]+} 1 } } */
476 /* { dg-final { scan-assembler-times {vfcvt\.f\.x\.v\s+v[0-9]+,\s*v[0-9]+} 1 } } */
477 /* { dg-final { scan-assembler-times {vfcvt\.rtz\.x\.f\.v\s+v[0-9]+,\s*v[0-9]+} 1 } } */
478 /* { dg-final { scan-assembler-times {vfcvt\.rtz\.xu\.f\.v\s+v[0-9]+,\s*v[0-9]+} 1 } } */
479 /* { dg-final { scan-assembler-times {vfwcvt\.f\.x\.v\s+v[0-9]+,\s*v[0-9]+} 1 } } */
480 /* { dg-final { scan-assembler-times {vfwcvt\.xu\.f\.v\s+v[0-9]+,\s*v[0-9]+} 1 } } */
481 /* { dg-final { scan-assembler-times {vfncvt\.x\.f\.w\s+v[0-9]+,\s*v[0-9]+} 1 } } */
482 /* { dg-final { scan-assembler-times {vfncvt\.f\.xu\.w\s+v[0-9]+,\s*v[0-9]+} 1 } } */
483 /* { dg-final { scan-assembler-times {vfredosum\.vs\s+v[0-9]+,\s*v[0-9]+,\s*v[0-9]+} 2 } } */
484 /* { dg-final { scan-assembler-times {vfredusum\.vs\s+v[0-9]+,\s*v[0-9]+,\s*v[0-9]+} 2 } } */
485 /* { dg-final { scan-assembler-times {vfredmax\.vs\s+v[0-9]+,\s*v[0-9]+,\s*v[0-9]+} 2 } } */
486 /* { dg-final { scan-assembler-times {vfredmin\.vs\s+v[0-9]+,\s*v[0-9]+,\s*v[0-9]+} 2 } } */
487 /* { dg-final { scan-assembler-times {vfwredosum\.vs\s+v[0-9]+,\s*v[0-9]+,\s*v[0-9]+} 2 } } */
488 /* { dg-final { scan-assembler-times {vfwredusum\.vs\s+v[0-9]+,\s*v[0-9]+,\s*v[0-9]+} 2 } } */
489 /* { dg-final { scan-assembler-times {vfslide1up\.vf\s+v[0-9]+,\s*v[0-9]+,\s*fa[0-9]+} 2 } } */
490 /* { dg-final { scan-assembler-times {vfslide1down\.vf\s+v[0-9]+,\s*v[0-9]+,\s*fa[0-9]+} 2 } } */