Skip to content

Commit c512d95

Browse files
committed
[Auto-gen] Update zvfbfmin tests under ../auto-generated. (make git-commit-autogen-zvfbfwma-test)
1 parent 3f47729 commit c512d95

File tree

8 files changed

+2682
-0
lines changed

8 files changed

+2682
-0
lines changed
Lines changed: 233 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,233 @@
1+
#include <riscv_vector.h>
2+
#include <stdint.h>
3+
4+
vfloat32mf2_t test_vfwmaccbf16_vv_f32mf2(vfloat32mf2_t vd, vbfloat16mf4_t vs1,
5+
vbfloat16mf4_t vs2, size_t vl) {
6+
return __riscv_vfwmaccbf16_vv_f32mf2(vd, vs1, vs2, vl);
7+
}
8+
9+
vfloat32mf2_t test_vfwmaccbf16_vf_f32mf2(vfloat32mf2_t vd, __bf16 vs1,
10+
vbfloat16mf4_t vs2, size_t vl) {
11+
return __riscv_vfwmaccbf16_vf_f32mf2(vd, vs1, vs2, vl);
12+
}
13+
14+
vfloat32m1_t test_vfwmaccbf16_vv_f32m1(vfloat32m1_t vd, vbfloat16mf2_t vs1,
15+
vbfloat16mf2_t vs2, size_t vl) {
16+
return __riscv_vfwmaccbf16_vv_f32m1(vd, vs1, vs2, vl);
17+
}
18+
19+
vfloat32m1_t test_vfwmaccbf16_vf_f32m1(vfloat32m1_t vd, __bf16 vs1,
20+
vbfloat16mf2_t vs2, size_t vl) {
21+
return __riscv_vfwmaccbf16_vf_f32m1(vd, vs1, vs2, vl);
22+
}
23+
24+
vfloat32m2_t test_vfwmaccbf16_vv_f32m2(vfloat32m2_t vd, vbfloat16m1_t vs1,
25+
vbfloat16m1_t vs2, size_t vl) {
26+
return __riscv_vfwmaccbf16_vv_f32m2(vd, vs1, vs2, vl);
27+
}
28+
29+
vfloat32m2_t test_vfwmaccbf16_vf_f32m2(vfloat32m2_t vd, __bf16 vs1,
30+
vbfloat16m1_t vs2, size_t vl) {
31+
return __riscv_vfwmaccbf16_vf_f32m2(vd, vs1, vs2, vl);
32+
}
33+
34+
vfloat32m4_t test_vfwmaccbf16_vv_f32m4(vfloat32m4_t vd, vbfloat16m2_t vs1,
35+
vbfloat16m2_t vs2, size_t vl) {
36+
return __riscv_vfwmaccbf16_vv_f32m4(vd, vs1, vs2, vl);
37+
}
38+
39+
vfloat32m4_t test_vfwmaccbf16_vf_f32m4(vfloat32m4_t vd, __bf16 vs1,
40+
vbfloat16m2_t vs2, size_t vl) {
41+
return __riscv_vfwmaccbf16_vf_f32m4(vd, vs1, vs2, vl);
42+
}
43+
44+
vfloat32m8_t test_vfwmaccbf16_vv_f32m8(vfloat32m8_t vd, vbfloat16m4_t vs1,
45+
vbfloat16m4_t vs2, size_t vl) {
46+
return __riscv_vfwmaccbf16_vv_f32m8(vd, vs1, vs2, vl);
47+
}
48+
49+
vfloat32m8_t test_vfwmaccbf16_vf_f32m8(vfloat32m8_t vd, __bf16 vs1,
50+
vbfloat16m4_t vs2, size_t vl) {
51+
return __riscv_vfwmaccbf16_vf_f32m8(vd, vs1, vs2, vl);
52+
}
53+
54+
vfloat32mf2_t test_vfwmaccbf16_vv_f32mf2_m(vbool64_t vm, vfloat32mf2_t vd,
55+
vbfloat16mf4_t vs1,
56+
vbfloat16mf4_t vs2, size_t vl) {
57+
return __riscv_vfwmaccbf16_vv_f32mf2_m(vm, vd, vs1, vs2, vl);
58+
}
59+
60+
vfloat32mf2_t test_vfwmaccbf16_vf_f32mf2_m(vbool64_t vm, vfloat32mf2_t vd,
61+
__bf16 vs1, vbfloat16mf4_t vs2,
62+
size_t vl) {
63+
return __riscv_vfwmaccbf16_vf_f32mf2_m(vm, vd, vs1, vs2, vl);
64+
}
65+
66+
vfloat32m1_t test_vfwmaccbf16_vv_f32m1_m(vbool32_t vm, vfloat32m1_t vd,
67+
vbfloat16mf2_t vs1, vbfloat16mf2_t vs2,
68+
size_t vl) {
69+
return __riscv_vfwmaccbf16_vv_f32m1_m(vm, vd, vs1, vs2, vl);
70+
}
71+
72+
vfloat32m1_t test_vfwmaccbf16_vf_f32m1_m(vbool32_t vm, vfloat32m1_t vd,
73+
__bf16 vs1, vbfloat16mf2_t vs2,
74+
size_t vl) {
75+
return __riscv_vfwmaccbf16_vf_f32m1_m(vm, vd, vs1, vs2, vl);
76+
}
77+
78+
vfloat32m2_t test_vfwmaccbf16_vv_f32m2_m(vbool16_t vm, vfloat32m2_t vd,
79+
vbfloat16m1_t vs1, vbfloat16m1_t vs2,
80+
size_t vl) {
81+
return __riscv_vfwmaccbf16_vv_f32m2_m(vm, vd, vs1, vs2, vl);
82+
}
83+
84+
vfloat32m2_t test_vfwmaccbf16_vf_f32m2_m(vbool16_t vm, vfloat32m2_t vd,
85+
__bf16 vs1, vbfloat16m1_t vs2,
86+
size_t vl) {
87+
return __riscv_vfwmaccbf16_vf_f32m2_m(vm, vd, vs1, vs2, vl);
88+
}
89+
90+
vfloat32m4_t test_vfwmaccbf16_vv_f32m4_m(vbool8_t vm, vfloat32m4_t vd,
91+
vbfloat16m2_t vs1, vbfloat16m2_t vs2,
92+
size_t vl) {
93+
return __riscv_vfwmaccbf16_vv_f32m4_m(vm, vd, vs1, vs2, vl);
94+
}
95+
96+
vfloat32m4_t test_vfwmaccbf16_vf_f32m4_m(vbool8_t vm, vfloat32m4_t vd,
97+
__bf16 vs1, vbfloat16m2_t vs2,
98+
size_t vl) {
99+
return __riscv_vfwmaccbf16_vf_f32m4_m(vm, vd, vs1, vs2, vl);
100+
}
101+
102+
vfloat32m8_t test_vfwmaccbf16_vv_f32m8_m(vbool4_t vm, vfloat32m8_t vd,
103+
vbfloat16m4_t vs1, vbfloat16m4_t vs2,
104+
size_t vl) {
105+
return __riscv_vfwmaccbf16_vv_f32m8_m(vm, vd, vs1, vs2, vl);
106+
}
107+
108+
vfloat32m8_t test_vfwmaccbf16_vf_f32m8_m(vbool4_t vm, vfloat32m8_t vd,
109+
__bf16 vs1, vbfloat16m4_t vs2,
110+
size_t vl) {
111+
return __riscv_vfwmaccbf16_vf_f32m8_m(vm, vd, vs1, vs2, vl);
112+
}
113+
114+
vfloat32mf2_t test_vfwmaccbf16_vv_f32mf2_rm(vfloat32mf2_t vd,
115+
vbfloat16mf4_t vs1,
116+
vbfloat16mf4_t vs2, size_t vl) {
117+
return __riscv_vfwmaccbf16_vv_f32mf2_rm(vd, vs1, vs2, __RISCV_FRM_RNE, vl);
118+
}
119+
120+
vfloat32mf2_t test_vfwmaccbf16_vf_f32mf2_rm(vfloat32mf2_t vd, __bf16 vs1,
121+
vbfloat16mf4_t vs2, size_t vl) {
122+
return __riscv_vfwmaccbf16_vf_f32mf2_rm(vd, vs1, vs2, __RISCV_FRM_RNE, vl);
123+
}
124+
125+
vfloat32m1_t test_vfwmaccbf16_vv_f32m1_rm(vfloat32m1_t vd, vbfloat16mf2_t vs1,
126+
vbfloat16mf2_t vs2, size_t vl) {
127+
return __riscv_vfwmaccbf16_vv_f32m1_rm(vd, vs1, vs2, __RISCV_FRM_RNE, vl);
128+
}
129+
130+
vfloat32m1_t test_vfwmaccbf16_vf_f32m1_rm(vfloat32m1_t vd, __bf16 vs1,
131+
vbfloat16mf2_t vs2, size_t vl) {
132+
return __riscv_vfwmaccbf16_vf_f32m1_rm(vd, vs1, vs2, __RISCV_FRM_RNE, vl);
133+
}
134+
135+
vfloat32m2_t test_vfwmaccbf16_vv_f32m2_rm(vfloat32m2_t vd, vbfloat16m1_t vs1,
136+
vbfloat16m1_t vs2, size_t vl) {
137+
return __riscv_vfwmaccbf16_vv_f32m2_rm(vd, vs1, vs2, __RISCV_FRM_RNE, vl);
138+
}
139+
140+
vfloat32m2_t test_vfwmaccbf16_vf_f32m2_rm(vfloat32m2_t vd, __bf16 vs1,
141+
vbfloat16m1_t vs2, size_t vl) {
142+
return __riscv_vfwmaccbf16_vf_f32m2_rm(vd, vs1, vs2, __RISCV_FRM_RNE, vl);
143+
}
144+
145+
vfloat32m4_t test_vfwmaccbf16_vv_f32m4_rm(vfloat32m4_t vd, vbfloat16m2_t vs1,
146+
vbfloat16m2_t vs2, size_t vl) {
147+
return __riscv_vfwmaccbf16_vv_f32m4_rm(vd, vs1, vs2, __RISCV_FRM_RNE, vl);
148+
}
149+
150+
vfloat32m4_t test_vfwmaccbf16_vf_f32m4_rm(vfloat32m4_t vd, __bf16 vs1,
151+
vbfloat16m2_t vs2, size_t vl) {
152+
return __riscv_vfwmaccbf16_vf_f32m4_rm(vd, vs1, vs2, __RISCV_FRM_RNE, vl);
153+
}
154+
155+
vfloat32m8_t test_vfwmaccbf16_vv_f32m8_rm(vfloat32m8_t vd, vbfloat16m4_t vs1,
156+
vbfloat16m4_t vs2, size_t vl) {
157+
return __riscv_vfwmaccbf16_vv_f32m8_rm(vd, vs1, vs2, __RISCV_FRM_RNE, vl);
158+
}
159+
160+
vfloat32m8_t test_vfwmaccbf16_vf_f32m8_rm(vfloat32m8_t vd, __bf16 vs1,
161+
vbfloat16m4_t vs2, size_t vl) {
162+
return __riscv_vfwmaccbf16_vf_f32m8_rm(vd, vs1, vs2, __RISCV_FRM_RNE, vl);
163+
}
164+
165+
vfloat32mf2_t test_vfwmaccbf16_vv_f32mf2_rm_m(vbool64_t vm, vfloat32mf2_t vd,
166+
vbfloat16mf4_t vs1,
167+
vbfloat16mf4_t vs2, size_t vl) {
168+
return __riscv_vfwmaccbf16_vv_f32mf2_rm_m(vm, vd, vs1, vs2, __RISCV_FRM_RNE,
169+
vl);
170+
}
171+
172+
vfloat32mf2_t test_vfwmaccbf16_vf_f32mf2_rm_m(vbool64_t vm, vfloat32mf2_t vd,
173+
__bf16 vs1, vbfloat16mf4_t vs2,
174+
size_t vl) {
175+
return __riscv_vfwmaccbf16_vf_f32mf2_rm_m(vm, vd, vs1, vs2, __RISCV_FRM_RNE,
176+
vl);
177+
}
178+
179+
vfloat32m1_t test_vfwmaccbf16_vv_f32m1_rm_m(vbool32_t vm, vfloat32m1_t vd,
180+
vbfloat16mf2_t vs1,
181+
vbfloat16mf2_t vs2, size_t vl) {
182+
return __riscv_vfwmaccbf16_vv_f32m1_rm_m(vm, vd, vs1, vs2, __RISCV_FRM_RNE,
183+
vl);
184+
}
185+
186+
vfloat32m1_t test_vfwmaccbf16_vf_f32m1_rm_m(vbool32_t vm, vfloat32m1_t vd,
187+
__bf16 vs1, vbfloat16mf2_t vs2,
188+
size_t vl) {
189+
return __riscv_vfwmaccbf16_vf_f32m1_rm_m(vm, vd, vs1, vs2, __RISCV_FRM_RNE,
190+
vl);
191+
}
192+
193+
vfloat32m2_t test_vfwmaccbf16_vv_f32m2_rm_m(vbool16_t vm, vfloat32m2_t vd,
194+
vbfloat16m1_t vs1,
195+
vbfloat16m1_t vs2, size_t vl) {
196+
return __riscv_vfwmaccbf16_vv_f32m2_rm_m(vm, vd, vs1, vs2, __RISCV_FRM_RNE,
197+
vl);
198+
}
199+
200+
vfloat32m2_t test_vfwmaccbf16_vf_f32m2_rm_m(vbool16_t vm, vfloat32m2_t vd,
201+
__bf16 vs1, vbfloat16m1_t vs2,
202+
size_t vl) {
203+
return __riscv_vfwmaccbf16_vf_f32m2_rm_m(vm, vd, vs1, vs2, __RISCV_FRM_RNE,
204+
vl);
205+
}
206+
207+
vfloat32m4_t test_vfwmaccbf16_vv_f32m4_rm_m(vbool8_t vm, vfloat32m4_t vd,
208+
vbfloat16m2_t vs1,
209+
vbfloat16m2_t vs2, size_t vl) {
210+
return __riscv_vfwmaccbf16_vv_f32m4_rm_m(vm, vd, vs1, vs2, __RISCV_FRM_RNE,
211+
vl);
212+
}
213+
214+
vfloat32m4_t test_vfwmaccbf16_vf_f32m4_rm_m(vbool8_t vm, vfloat32m4_t vd,
215+
__bf16 vs1, vbfloat16m2_t vs2,
216+
size_t vl) {
217+
return __riscv_vfwmaccbf16_vf_f32m4_rm_m(vm, vd, vs1, vs2, __RISCV_FRM_RNE,
218+
vl);
219+
}
220+
221+
vfloat32m8_t test_vfwmaccbf16_vv_f32m8_rm_m(vbool4_t vm, vfloat32m8_t vd,
222+
vbfloat16m4_t vs1,
223+
vbfloat16m4_t vs2, size_t vl) {
224+
return __riscv_vfwmaccbf16_vv_f32m8_rm_m(vm, vd, vs1, vs2, __RISCV_FRM_RNE,
225+
vl);
226+
}
227+
228+
vfloat32m8_t test_vfwmaccbf16_vf_f32m8_rm_m(vbool4_t vm, vfloat32m8_t vd,
229+
__bf16 vs1, vbfloat16m4_t vs2,
230+
size_t vl) {
231+
return __riscv_vfwmaccbf16_vf_f32m8_rm_m(vm, vd, vs1, vs2, __RISCV_FRM_RNE,
232+
vl);
233+
}

0 commit comments

Comments
 (0)