-
Notifications
You must be signed in to change notification settings - Fork 92
/
Copy pathvloxseg6ei16.c
41 lines (34 loc) · 1.76 KB
/
vloxseg6ei16.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
// REQUIRES: riscv-registered-target
// RUN: %clang_cc1 -triple riscv64 -target-feature +v -target-feature +zfh \
// RUN: -target-feature +experimental-zvfh \
// RUN: -target-feature +experimental-zvfbfmin \
// RUN: -target-feature +experimental-zvfbfwma -disable-O0-optnone \
// RUN: -emit-llvm %s -o - | opt -S -passes=mem2reg | \
// RUN: FileCheck --check-prefix=CHECK-RV64 %s
#include <riscv_vector.h>
vbfloat16mf4x6_t test_vloxseg6ei16_v_bf16mf4x6(const __bf16 *rs1,
vuint16mf4_t rs2, size_t vl) {
return __riscv_vloxseg6ei16_v_bf16mf4x6(rs1, rs2, vl);
}
vbfloat16mf2x6_t test_vloxseg6ei16_v_bf16mf2x6(const __bf16 *rs1,
vuint16mf2_t rs2, size_t vl) {
return __riscv_vloxseg6ei16_v_bf16mf2x6(rs1, rs2, vl);
}
vbfloat16m1x6_t test_vloxseg6ei16_v_bf16m1x6(const __bf16 *rs1, vuint16m1_t rs2,
size_t vl) {
return __riscv_vloxseg6ei16_v_bf16m1x6(rs1, rs2, vl);
}
vbfloat16mf4x6_t test_vloxseg6ei16_v_bf16mf4x6_m(vbool64_t vm,
const __bf16 *rs1,
vuint16mf4_t rs2, size_t vl) {
return __riscv_vloxseg6ei16_v_bf16mf4x6_m(vm, rs1, rs2, vl);
}
vbfloat16mf2x6_t test_vloxseg6ei16_v_bf16mf2x6_m(vbool32_t vm,
const __bf16 *rs1,
vuint16mf2_t rs2, size_t vl) {
return __riscv_vloxseg6ei16_v_bf16mf2x6_m(vm, rs1, rs2, vl);
}
vbfloat16m1x6_t test_vloxseg6ei16_v_bf16m1x6_m(vbool16_t vm, const __bf16 *rs1,
vuint16m1_t rs2, size_t vl) {
return __riscv_vloxseg6ei16_v_bf16m1x6_m(vm, rs1, rs2, vl);
}