Skip to content

Commit 44e1b6f

Browse files
committed
[Auto-gen] Update bfloat16 tests under ../auto-generated. (make git-commit-autogen-zvfh-test)
1 parent 81c72b6 commit 44e1b6f

File tree

960 files changed

+148002
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

960 files changed

+148002
-0
lines changed
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
#include <riscv_vector.h>
2+
#include <stdint.h>
3+
4+
vfloat16mf4_t test_vcompress_vm_f16mf4(vfloat16mf4_t vs2, vbool64_t vs1,
5+
size_t vl) {
6+
return __riscv_vcompress_vm_f16mf4(vs2, vs1, vl);
7+
}
8+
9+
vfloat16mf2_t test_vcompress_vm_f16mf2(vfloat16mf2_t vs2, vbool32_t vs1,
10+
size_t vl) {
11+
return __riscv_vcompress_vm_f16mf2(vs2, vs1, vl);
12+
}
13+
14+
vfloat16m1_t test_vcompress_vm_f16m1(vfloat16m1_t vs2, vbool16_t vs1,
15+
size_t vl) {
16+
return __riscv_vcompress_vm_f16m1(vs2, vs1, vl);
17+
}
18+
19+
vfloat16m2_t test_vcompress_vm_f16m2(vfloat16m2_t vs2, vbool8_t vs1,
20+
size_t vl) {
21+
return __riscv_vcompress_vm_f16m2(vs2, vs1, vl);
22+
}
23+
24+
vfloat16m4_t test_vcompress_vm_f16m4(vfloat16m4_t vs2, vbool4_t vs1,
25+
size_t vl) {
26+
return __riscv_vcompress_vm_f16m4(vs2, vs1, vl);
27+
}
28+
29+
vfloat16m8_t test_vcompress_vm_f16m8(vfloat16m8_t vs2, vbool2_t vs1,
30+
size_t vl) {
31+
return __riscv_vcompress_vm_f16m8(vs2, vs1, vl);
32+
}
Lines changed: 169 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,169 @@
1+
#include <riscv_vector.h>
2+
#include <stdint.h>
3+
4+
vfloat16m2_t test_vcreate_v_f16m1_f16m2(vfloat16m1_t v0, vfloat16m1_t v1) {
5+
return __riscv_vcreate_v_f16m1_f16m2(v0, v1);
6+
}
7+
8+
vfloat16m4_t test_vcreate_v_f16m1_f16m4(vfloat16m1_t v0, vfloat16m1_t v1,
9+
vfloat16m1_t v2, vfloat16m1_t v3) {
10+
return __riscv_vcreate_v_f16m1_f16m4(v0, v1, v2, v3);
11+
}
12+
13+
vfloat16m8_t test_vcreate_v_f16m1_f16m8(vfloat16m1_t v0, vfloat16m1_t v1,
14+
vfloat16m1_t v2, vfloat16m1_t v3,
15+
vfloat16m1_t v4, vfloat16m1_t v5,
16+
vfloat16m1_t v6, vfloat16m1_t v7) {
17+
return __riscv_vcreate_v_f16m1_f16m8(v0, v1, v2, v3, v4, v5, v6, v7);
18+
}
19+
20+
vfloat16m4_t test_vcreate_v_f16m2_f16m4(vfloat16m2_t v0, vfloat16m2_t v1) {
21+
return __riscv_vcreate_v_f16m2_f16m4(v0, v1);
22+
}
23+
24+
vfloat16m8_t test_vcreate_v_f16m2_f16m8(vfloat16m2_t v0, vfloat16m2_t v1,
25+
vfloat16m2_t v2, vfloat16m2_t v3) {
26+
return __riscv_vcreate_v_f16m2_f16m8(v0, v1, v2, v3);
27+
}
28+
29+
vfloat16m8_t test_vcreate_v_f16m4_f16m8(vfloat16m4_t v0, vfloat16m4_t v1) {
30+
return __riscv_vcreate_v_f16m4_f16m8(v0, v1);
31+
}
32+
33+
vfloat16mf4x2_t test_vcreate_v_f16mf4x2(vfloat16mf4_t v0, vfloat16mf4_t v1) {
34+
return __riscv_vcreate_v_f16mf4x2(v0, v1);
35+
}
36+
37+
vfloat16mf4x3_t test_vcreate_v_f16mf4x3(vfloat16mf4_t v0, vfloat16mf4_t v1,
38+
vfloat16mf4_t v2) {
39+
return __riscv_vcreate_v_f16mf4x3(v0, v1, v2);
40+
}
41+
42+
vfloat16mf4x4_t test_vcreate_v_f16mf4x4(vfloat16mf4_t v0, vfloat16mf4_t v1,
43+
vfloat16mf4_t v2, vfloat16mf4_t v3) {
44+
return __riscv_vcreate_v_f16mf4x4(v0, v1, v2, v3);
45+
}
46+
47+
vfloat16mf4x5_t test_vcreate_v_f16mf4x5(vfloat16mf4_t v0, vfloat16mf4_t v1,
48+
vfloat16mf4_t v2, vfloat16mf4_t v3,
49+
vfloat16mf4_t v4) {
50+
return __riscv_vcreate_v_f16mf4x5(v0, v1, v2, v3, v4);
51+
}
52+
53+
vfloat16mf4x6_t test_vcreate_v_f16mf4x6(vfloat16mf4_t v0, vfloat16mf4_t v1,
54+
vfloat16mf4_t v2, vfloat16mf4_t v3,
55+
vfloat16mf4_t v4, vfloat16mf4_t v5) {
56+
return __riscv_vcreate_v_f16mf4x6(v0, v1, v2, v3, v4, v5);
57+
}
58+
59+
vfloat16mf4x7_t test_vcreate_v_f16mf4x7(vfloat16mf4_t v0, vfloat16mf4_t v1,
60+
vfloat16mf4_t v2, vfloat16mf4_t v3,
61+
vfloat16mf4_t v4, vfloat16mf4_t v5,
62+
vfloat16mf4_t v6) {
63+
return __riscv_vcreate_v_f16mf4x7(v0, v1, v2, v3, v4, v5, v6);
64+
}
65+
66+
vfloat16mf4x8_t test_vcreate_v_f16mf4x8(vfloat16mf4_t v0, vfloat16mf4_t v1,
67+
vfloat16mf4_t v2, vfloat16mf4_t v3,
68+
vfloat16mf4_t v4, vfloat16mf4_t v5,
69+
vfloat16mf4_t v6, vfloat16mf4_t v7) {
70+
return __riscv_vcreate_v_f16mf4x8(v0, v1, v2, v3, v4, v5, v6, v7);
71+
}
72+
73+
vfloat16mf2x2_t test_vcreate_v_f16mf2x2(vfloat16mf2_t v0, vfloat16mf2_t v1) {
74+
return __riscv_vcreate_v_f16mf2x2(v0, v1);
75+
}
76+
77+
vfloat16mf2x3_t test_vcreate_v_f16mf2x3(vfloat16mf2_t v0, vfloat16mf2_t v1,
78+
vfloat16mf2_t v2) {
79+
return __riscv_vcreate_v_f16mf2x3(v0, v1, v2);
80+
}
81+
82+
vfloat16mf2x4_t test_vcreate_v_f16mf2x4(vfloat16mf2_t v0, vfloat16mf2_t v1,
83+
vfloat16mf2_t v2, vfloat16mf2_t v3) {
84+
return __riscv_vcreate_v_f16mf2x4(v0, v1, v2, v3);
85+
}
86+
87+
vfloat16mf2x5_t test_vcreate_v_f16mf2x5(vfloat16mf2_t v0, vfloat16mf2_t v1,
88+
vfloat16mf2_t v2, vfloat16mf2_t v3,
89+
vfloat16mf2_t v4) {
90+
return __riscv_vcreate_v_f16mf2x5(v0, v1, v2, v3, v4);
91+
}
92+
93+
vfloat16mf2x6_t test_vcreate_v_f16mf2x6(vfloat16mf2_t v0, vfloat16mf2_t v1,
94+
vfloat16mf2_t v2, vfloat16mf2_t v3,
95+
vfloat16mf2_t v4, vfloat16mf2_t v5) {
96+
return __riscv_vcreate_v_f16mf2x6(v0, v1, v2, v3, v4, v5);
97+
}
98+
99+
vfloat16mf2x7_t test_vcreate_v_f16mf2x7(vfloat16mf2_t v0, vfloat16mf2_t v1,
100+
vfloat16mf2_t v2, vfloat16mf2_t v3,
101+
vfloat16mf2_t v4, vfloat16mf2_t v5,
102+
vfloat16mf2_t v6) {
103+
return __riscv_vcreate_v_f16mf2x7(v0, v1, v2, v3, v4, v5, v6);
104+
}
105+
106+
vfloat16mf2x8_t test_vcreate_v_f16mf2x8(vfloat16mf2_t v0, vfloat16mf2_t v1,
107+
vfloat16mf2_t v2, vfloat16mf2_t v3,
108+
vfloat16mf2_t v4, vfloat16mf2_t v5,
109+
vfloat16mf2_t v6, vfloat16mf2_t v7) {
110+
return __riscv_vcreate_v_f16mf2x8(v0, v1, v2, v3, v4, v5, v6, v7);
111+
}
112+
113+
vfloat16m1x2_t test_vcreate_v_f16m1x2(vfloat16m1_t v0, vfloat16m1_t v1) {
114+
return __riscv_vcreate_v_f16m1x2(v0, v1);
115+
}
116+
117+
vfloat16m1x3_t test_vcreate_v_f16m1x3(vfloat16m1_t v0, vfloat16m1_t v1,
118+
vfloat16m1_t v2) {
119+
return __riscv_vcreate_v_f16m1x3(v0, v1, v2);
120+
}
121+
122+
vfloat16m1x4_t test_vcreate_v_f16m1x4(vfloat16m1_t v0, vfloat16m1_t v1,
123+
vfloat16m1_t v2, vfloat16m1_t v3) {
124+
return __riscv_vcreate_v_f16m1x4(v0, v1, v2, v3);
125+
}
126+
127+
vfloat16m1x5_t test_vcreate_v_f16m1x5(vfloat16m1_t v0, vfloat16m1_t v1,
128+
vfloat16m1_t v2, vfloat16m1_t v3,
129+
vfloat16m1_t v4) {
130+
return __riscv_vcreate_v_f16m1x5(v0, v1, v2, v3, v4);
131+
}
132+
133+
vfloat16m1x6_t test_vcreate_v_f16m1x6(vfloat16m1_t v0, vfloat16m1_t v1,
134+
vfloat16m1_t v2, vfloat16m1_t v3,
135+
vfloat16m1_t v4, vfloat16m1_t v5) {
136+
return __riscv_vcreate_v_f16m1x6(v0, v1, v2, v3, v4, v5);
137+
}
138+
139+
vfloat16m1x7_t test_vcreate_v_f16m1x7(vfloat16m1_t v0, vfloat16m1_t v1,
140+
vfloat16m1_t v2, vfloat16m1_t v3,
141+
vfloat16m1_t v4, vfloat16m1_t v5,
142+
vfloat16m1_t v6) {
143+
return __riscv_vcreate_v_f16m1x7(v0, v1, v2, v3, v4, v5, v6);
144+
}
145+
146+
vfloat16m1x8_t test_vcreate_v_f16m1x8(vfloat16m1_t v0, vfloat16m1_t v1,
147+
vfloat16m1_t v2, vfloat16m1_t v3,
148+
vfloat16m1_t v4, vfloat16m1_t v5,
149+
vfloat16m1_t v6, vfloat16m1_t v7) {
150+
return __riscv_vcreate_v_f16m1x8(v0, v1, v2, v3, v4, v5, v6, v7);
151+
}
152+
153+
vfloat16m2x2_t test_vcreate_v_f16m2x2(vfloat16m2_t v0, vfloat16m2_t v1) {
154+
return __riscv_vcreate_v_f16m2x2(v0, v1);
155+
}
156+
157+
vfloat16m2x3_t test_vcreate_v_f16m2x3(vfloat16m2_t v0, vfloat16m2_t v1,
158+
vfloat16m2_t v2) {
159+
return __riscv_vcreate_v_f16m2x3(v0, v1, v2);
160+
}
161+
162+
vfloat16m2x4_t test_vcreate_v_f16m2x4(vfloat16m2_t v0, vfloat16m2_t v1,
163+
vfloat16m2_t v2, vfloat16m2_t v3) {
164+
return __riscv_vcreate_v_f16m2x4(v0, v1, v2, v3);
165+
}
166+
167+
vfloat16m4x2_t test_vcreate_v_f16m4x2(vfloat16m4_t v0, vfloat16m4_t v1) {
168+
return __riscv_vcreate_v_f16m4x2(v0, v1);
169+
}
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
#include <riscv_vector.h>
2+
#include <stdint.h>
3+
4+
vfloat16mf4_t test_vfabs_v_f16mf4(vfloat16mf4_t vs2, size_t vl) {
5+
return __riscv_vfabs_v_f16mf4(vs2, vl);
6+
}
7+
8+
vfloat16mf2_t test_vfabs_v_f16mf2(vfloat16mf2_t vs2, size_t vl) {
9+
return __riscv_vfabs_v_f16mf2(vs2, vl);
10+
}
11+
12+
vfloat16m1_t test_vfabs_v_f16m1(vfloat16m1_t vs2, size_t vl) {
13+
return __riscv_vfabs_v_f16m1(vs2, vl);
14+
}
15+
16+
vfloat16m2_t test_vfabs_v_f16m2(vfloat16m2_t vs2, size_t vl) {
17+
return __riscv_vfabs_v_f16m2(vs2, vl);
18+
}
19+
20+
vfloat16m4_t test_vfabs_v_f16m4(vfloat16m4_t vs2, size_t vl) {
21+
return __riscv_vfabs_v_f16m4(vs2, vl);
22+
}
23+
24+
vfloat16m8_t test_vfabs_v_f16m8(vfloat16m8_t vs2, size_t vl) {
25+
return __riscv_vfabs_v_f16m8(vs2, vl);
26+
}
27+
28+
vfloat16mf4_t test_vfabs_v_f16mf4_m(vbool64_t vm, vfloat16mf4_t vs2,
29+
size_t vl) {
30+
return __riscv_vfabs_v_f16mf4_m(vm, vs2, vl);
31+
}
32+
33+
vfloat16mf2_t test_vfabs_v_f16mf2_m(vbool32_t vm, vfloat16mf2_t vs2,
34+
size_t vl) {
35+
return __riscv_vfabs_v_f16mf2_m(vm, vs2, vl);
36+
}
37+
38+
vfloat16m1_t test_vfabs_v_f16m1_m(vbool16_t vm, vfloat16m1_t vs2, size_t vl) {
39+
return __riscv_vfabs_v_f16m1_m(vm, vs2, vl);
40+
}
41+
42+
vfloat16m2_t test_vfabs_v_f16m2_m(vbool8_t vm, vfloat16m2_t vs2, size_t vl) {
43+
return __riscv_vfabs_v_f16m2_m(vm, vs2, vl);
44+
}
45+
46+
vfloat16m4_t test_vfabs_v_f16m4_m(vbool4_t vm, vfloat16m4_t vs2, size_t vl) {
47+
return __riscv_vfabs_v_f16m4_m(vm, vs2, vl);
48+
}
49+
50+
vfloat16m8_t test_vfabs_v_f16m8_m(vbool2_t vm, vfloat16m8_t vs2, size_t vl) {
51+
return __riscv_vfabs_v_f16m8_m(vm, vs2, vl);
52+
}

0 commit comments

Comments
 (0)