OpenMathLib / OpenBLAS

OpenBLAS is an optimized BLAS library based on GotoBLAS2 1.13 BSD version.
http://www.openblas.net
BSD 3-Clause "New" or "Revised" License
6.38k stars 1.5k forks source link

Build OpenBLAS failed on T-HEAD XuanTie C906 Allwinner D1 Chip #3506

Closed YuzukiTsuru closed 2 years ago

YuzukiTsuru commented 2 years ago

I tried to build OpenBLAS on Allwinner D1 chip using the Allwinner BSP Tina System which is a fork of OpenWRT, And I got those errors.

Compile Command (Useless command deleted):

make -j1 -C /OpenBLAS-0.3.19 CC=riscv64-unknown-linux-gnu-gcc FC= HOSTCC=gcc CFLAGS="-Os -pipe -mcmodel=medany -mabi=lp64d -march=rv64gcxthead -g3 -fno-caller-saves -Wno-format-truncation -Wno-unused-result  -Wformat -Werror=format-security -Wl,-z,now -Wl,-z,relro TARGET='C910V' all install

And those are the build command and errors:

riscv64-unknown-linux-gnu-gcc -Os -pipe -mcmodel=medany -mabi=lp64d -march=rv64gcxthead -g3 -fno-caller-saves -Wno-format-truncation -Wno-unused-result  -Wformat -Werror=format-security -Wl,-z,now -Wl,-z,relro -O2 -DMAX_STACK_ALLOC=2048 -Wall -DF_INTERFACE_GFORT -fPIC -DNO_LAPACK -DNO_LAPACKE -DSMP_SERVER -DNO_WARMUP -DMAX_CPU_NUMBER=16 -DMAX_PARALLEL_NUMBER=1 -DBUILD_SINGLE=1 -DBUILD_DOUBLE=1 -DBUILD_COMPLEX=1 -DBUILD_COMPLEX16=1 -DVERSION=\"0.3.19\" -march=rv64gcvxthead -mabi=lp64v -UASMNAME -UASMFNAME -UNAME -UCNAME -UCHAR_NAME -UCHAR_CNAME -DASMNAME=snrm2_k -DASMFNAME=snrm2_k_ -DNAME=snrm2_k_ -DCNAME=snrm2_k -DCHAR_NAME=\"snrm2_k_\" -DCHAR_CNAME=\"snrm2_k\" -DNO_AFFINITY -I.. -UDOUBLE  -UCOMPLEX -UCOMPLEX -c -UDOUBLE ../kernel/riscv64/nrm2_vector.c -o snrm2_k.o
../kernel/riscv64/amax_vector.c: In function 'samax_k':
../kernel/riscv64/amax_vector.c:34:19: error: unknown type name 'vfloat32m8_t'; did you mean 'float32xm8_t'?
 #define FLOAT_V_T vfloat32m8_t
                   ^~~~~~~~~~~~
../kernel/riscv64/amax_vector.c:34:19: note: in definition of macro 'FLOAT_V_T'
 #define FLOAT_V_T vfloat32m8_t
                   ^~~~~~~~~~~~
../kernel/riscv64/copy_vector.c: In function 'scopy_k':
../kernel/riscv64/copy_vector.c:30:19: error: unknown type name 'vfloat32m8_t'; did you mean 'float32xm8_t'?
 #define FLOAT_V_T vfloat32m8_t
                   ^~~~~~~~~~~~
../kernel/riscv64/copy_vector.c:30:19: note: in definition of macro 'FLOAT_V_T'
 #define FLOAT_V_T vfloat32m8_t
                   ^~~~~~~~~~~~
../kernel/riscv64/iamax_vector.c: In function 'isamax_k':
../kernel/riscv64/iamax_vector.c:61:19: error: unknown type name 'vfloat32m8_t'; did you mean 'float32xm8_t'?
 #define FLOAT_V_T vfloat32m8_t
                   ^~~~~~~~~~~~
../kernel/riscv64/iamax_vector.c:61:19: note: in definition of macro 'FLOAT_V_T'
 #define FLOAT_V_T vfloat32m8_t
                   ^~~~~~~~~~~~
../kernel/riscv64/amax_vector.c:35:22: error: unknown type name 'vfloat32m1_t'; did you mean 'float32xm1_t'?
 #define FLOAT_V_T_M1 vfloat32m1_t
                      ^~~~~~~~~~~~
../kernel/riscv64/amax_vector.c:35:22: note: in definition of macro 'FLOAT_V_T_M1'
 #define FLOAT_V_T_M1 vfloat32m1_t
                      ^~~~~~~~~~~~
../kernel/riscv64/axpy_vector.c: In function 'saxpy_k':
../kernel/riscv64/axpy_vector.c:32:19: error: unknown type name 'vfloat32m4_t'; did you mean 'float32xm4_t'?
 #define FLOAT_V_T vfloat32m4_t
                   ^~~~~~~~~~~~
../kernel/riscv64/axpy_vector.c:32:19: note: in definition of macro 'FLOAT_V_T'
 #define FLOAT_V_T vfloat32m4_t
                   ^~~~~~~~~~~~
../kernel/riscv64/iamax_vector.c:75:18: error: unknown type name 'vuint32m8_t'; did you mean 'uint32xm8_t'?
 #define UINT_V_T vuint32m8_t
                  ^~~~~~~~~~~
../kernel/riscv64/iamax_vector.c:75:18: note: in definition of macro 'UINT_V_T'
 #define UINT_V_T vuint32m8_t
                  ^~~~~~~~~~~
../kernel/riscv64/copy_vector.c:29:19: warning: implicit declaration of function 'vsetvl_e32m8'; did you mean 'vmsetm_e32xm8'? [-Wimplicit-function-declaration]
 #define VSETVL(n) vsetvl_e32m8(n)
                   ^~~~~~~~~~~~
../kernel/riscv64/copy_vector.c:29:19: note: in definition of macro 'VSETVL'
 #define VSETVL(n) vsetvl_e32m8(n)
                   ^~~~~~~~~~~~
../kernel/riscv64/axpy_vector.c:32:19: error: unknown type name 'vfloat32m4_t'; did you mean 'float32xm4_t'?
 #define FLOAT_V_T vfloat32m4_t
                   ^~~~~~~~~~~~
../kernel/riscv64/axpy_vector.c:32:19: note: in definition of macro 'FLOAT_V_T'
 #define FLOAT_V_T vfloat32m4_t
                   ^~~~~~~~~~~~
../kernel/riscv64/iamax_vector.c:66:16: error: unknown type name 'vbool4_t'; did you mean 'ino64_t'?
 #define MASK_T vbool4_t
                ^~~~~~~~
../kernel/riscv64/iamax_vector.c:66:16: note: in definition of macro 'MASK_T'
 #define MASK_T vbool4_t
                ^~~~~~~~
../kernel/riscv64/iamax_vector.c:62:22: error: unknown type name 'vfloat32m1_t'; did you mean 'float32xm1_t'?
 #define FLOAT_V_T_M1 vfloat32m1_t
                      ^~~~~~~~~~~~
../kernel/riscv64/iamax_vector.c:62:22: note: in definition of macro 'FLOAT_V_T_M1'
 #define FLOAT_V_T_M1 vfloat32m1_t
                      ^~~~~~~~~~~~
../kernel/riscv64/axpy_vector.c:31:19: warning: implicit declaration of function 'vsetvl_e32m4'; did you mean 'vmsetm_e32xm4'? [-Wimplicit-function-declaration]
 #define VSETVL(n) vsetvl_e32m4(n)
                   ^~~~~~~~~~~~
../kernel/riscv64/axpy_vector.c:31:19: note: in definition of macro 'VSETVL'
 #define VSETVL(n) vsetvl_e32m4(n)
                   ^~~~~~~~~~~~
../kernel/riscv64/copy_vector.c:32:21: warning: implicit declaration of function 'vlse_v_f32m8'; did you mean 'vlsev_int32xm8'? [-Wimplicit-function-declaration]
 #define VLSEV_FLOAT vlse_v_f32m8
                     ^~~~~~~~~~~~
../kernel/riscv64/copy_vector.c:32:21: note: in definition of macro 'VLSEV_FLOAT'
 #define VLSEV_FLOAT vlse_v_f32m8
                     ^~~~~~~~~~~~
../kernel/riscv64/asum_vector.c: In function 'sasum_k':
../kernel/riscv64/asum_vector.c:34:19: error: unknown type name 'vfloat32m8_t'; did you mean 'float32xm8_t'?
 #define FLOAT_V_T vfloat32m8_t
                   ^~~~~~~~~~~~
../kernel/riscv64/asum_vector.c:34:19: note: in definition of macro 'FLOAT_V_T'
 #define FLOAT_V_T vfloat32m8_t
                   ^~~~~~~~~~~~
../kernel/riscv64/amax_vector.c:33:20: warning: implicit declaration of function 'vsetvlmax_e32m1'; did you mean 'vmsetm_e32xm1'? [-Wimplicit-function-declaration]
 #define VSETVL_MAX vsetvlmax_e32m1()
                    ^~~~~~~~~~~~~~~
../kernel/riscv64/amax_vector.c:33:20: note: in definition of macro 'VSETVL_MAX'
 #define VSETVL_MAX vsetvlmax_e32m1()
                    ^~~~~~~~~~~~~~~
../kernel/riscv64/axpy_vector.c:33:20: warning: implicit declaration of function 'vle_v_f32m4'; did you mean 'vlev_int32xm4'? [-Wimplicit-function-declaration]
 #define VLEV_FLOAT vle_v_f32m4
                    ^~~~~~~~~~~
../kernel/riscv64/axpy_vector.c:33:20: note: in definition of macro 'VLEV_FLOAT'
 #define VLEV_FLOAT vle_v_f32m4
                    ^~~~~~~~~~~
../kernel/riscv64/imax_vector.c: In function 'ismax_k':
../kernel/riscv64/imax_vector.c:60:19: error: unknown type name 'vfloat32m8_t'; did you mean 'float32xm8_t'?
 #define FLOAT_V_T vfloat32m8_t
                   ^~~~~~~~~~~~
../kernel/riscv64/imax_vector.c:60:19: note: in definition of macro 'FLOAT_V_T'
 #define FLOAT_V_T vfloat32m8_t
                   ^~~~~~~~~~~~
../kernel/riscv64/asum_vector.c:35:22: error: unknown type name 'vfloat32m1_t'; did you mean 'float32xm1_t'?
 #define FLOAT_V_T_M1 vfloat32m1_t
                      ^~~~~~~~~~~~
../kernel/riscv64/asum_vector.c:35:22: note: in definition of macro 'FLOAT_V_T_M1'
 #define FLOAT_V_T_M1 vfloat32m1_t
                      ^~~~~~~~~~~~
../kernel/riscv64/dot_vector.c: In function 'sdsdot_k':
../kernel/riscv64/dot_vector.c:32:19: error: unknown type name 'vfloat32m4_t'; did you mean 'float32xm4_t'?
 #define FLOAT_V_T vfloat32m4_t
                   ^~~~~~~~~~~~
../kernel/riscv64/dot_vector.c:32:19: note: in definition of macro 'FLOAT_V_T'
 #define FLOAT_V_T vfloat32m4_t
                   ^~~~~~~~~~~~
../kernel/riscv64/copy_vector.c:33:20: warning: implicit declaration of function 'vse_v_f32m8'; did you mean 'vsev_int32xm8'? [-Wimplicit-function-declaration]
 #define VSEV_FLOAT vse_v_f32m8
                    ^~~~~~~~~~~
../kernel/riscv64/copy_vector.c:33:20: note: in definition of macro 'VSEV_FLOAT'
 #define VSEV_FLOAT vse_v_f32m8
                    ^~~~~~~~~~~
../kernel/riscv64/nrm2_vector.c: In function 'snrm2_k':
../kernel/riscv64/nrm2_vector.c:32:19: error: unknown type name 'vfloat32m4_t'; did you mean 'float32xm4_t'?
 #define FLOAT_V_T vfloat32m4_t
                   ^~~~~~~~~~~~
../kernel/riscv64/nrm2_vector.c:32:19: note: in definition of macro 'FLOAT_V_T'
 #define FLOAT_V_T vfloat32m4_t
                   ^~~~~~~~~~~~
../kernel/riscv64/iamax_vector.c:60:20: warning: implicit declaration of function 'vsetvlmax_e32m1'; did you mean 'vmsetm_e32xm1'? [-Wimplicit-function-declaration]
 #define VSETVL_MAX vsetvlmax_e32m1()
                    ^~~~~~~~~~~~~~~
../kernel/riscv64/iamax_vector.c:60:20: note: in definition of macro 'VSETVL_MAX'
 #define VSETVL_MAX vsetvlmax_e32m1()
                    ^~~~~~~~~~~~~~~
../kernel/riscv64/dot_vector.c:33:22: error: unknown type name 'vfloat32m1_t'; did you mean 'float32xm1_t'?
 #define FLOAT_V_T_M1 vfloat32m1_t
                      ^~~~~~~~~~~~
../kernel/riscv64/dot_vector.c:33:22: note: in definition of macro 'FLOAT_V_T_M1'
 #define FLOAT_V_T_M1 vfloat32m1_t
                      ^~~~~~~~~~~~
../kernel/riscv64/imax_vector.c:72:18: error: unknown type name 'vuint32m8_t'; did you mean 'uint32xm8_t'?
 #define UINT_V_T vuint32m8_t
                  ^~~~~~~~~~~
../kernel/riscv64/imax_vector.c:72:18: note: in definition of macro 'UINT_V_T'
 #define UINT_V_T vuint32m8_t
                  ^~~~~~~~~~~
../kernel/riscv64/nrm2_vector.c:33:22: error: unknown type name 'vfloat32m1_t'; did you mean 'float32xm1_t'?
 #define FLOAT_V_T_M1 vfloat32m1_t
                      ^~~~~~~~~~~~
../kernel/riscv64/nrm2_vector.c:33:22: note: in definition of macro 'FLOAT_V_T_M1'
 #define FLOAT_V_T_M1 vfloat32m1_t
                      ^~~~~~~~~~~~
../kernel/riscv64/imax_vector.c:65:16: error: unknown type name 'vbool4_t'; did you mean 'ino64_t'?
 #define MASK_T vbool4_t
                ^~~~~~~~
../kernel/riscv64/imax_vector.c:65:16: note: in definition of macro 'MASK_T'
 #define MASK_T vbool4_t
                ^~~~~~~~
../kernel/riscv64/copy_vector.c:31:20: warning: implicit declaration of function 'vle_v_f32m8'; did you mean 'vlev_int32xm8'? [-Wimplicit-function-declaration]
 #define VLEV_FLOAT vle_v_f32m8
                    ^~~~~~~~~~~
../kernel/riscv64/copy_vector.c:31:20: note: in definition of macro 'VLEV_FLOAT'
 #define VLEV_FLOAT vle_v_f32m8
                    ^~~~~~~~~~~
../kernel/riscv64/axpy_vector.c:37:24: warning: implicit declaration of function 'vfmacc_vf_f32m4'; did you mean 'vfmaccvf_float32xm4'? [-Wimplicit-function-declaration]
 #define VFMACCVF_FLOAT vfmacc_vf_f32m4
                        ^~~~~~~~~~~~~~~
../kernel/riscv64/axpy_vector.c:37:24: note: in definition of macro 'VFMACCVF_FLOAT'
 #define VFMACCVF_FLOAT vfmacc_vf_f32m4
                        ^~~~~~~~~~~~~~~
../kernel/riscv64/imax_vector.c:61:22: error: unknown type name 'vfloat32m1_t'; did you mean 'float32xm1_t'?
 #define FLOAT_V_T_M1 vfloat32m1_t
                      ^~~~~~~~~~~~
../kernel/riscv64/imax_vector.c:61:22: note: in definition of macro 'FLOAT_V_T_M1'
 #define FLOAT_V_T_M1 vfloat32m1_t
                      ^~~~~~~~~~~~
../kernel/riscv64/max_vector.c: In function 'smax_k':
../kernel/riscv64/max_vector.c:34:19: error: unknown type name 'vfloat32m8_t'; did you mean 'float32xm8_t'?
 #define FLOAT_V_T vfloat32m8_t
                   ^~~~~~~~~~~~
../kernel/riscv64/max_vector.c:34:19: note: in definition of macro 'FLOAT_V_T'
 #define FLOAT_V_T vfloat32m8_t
                   ^~~~~~~~~~~~
../kernel/riscv64/asum_vector.c:33:20: warning: implicit declaration of function 'vsetvlmax_e32m1'; did you mean 'vmsetm_e32xm1'? [-Wimplicit-function-declaration]
 #define VSETVL_MAX vsetvlmax_e32m1()
                    ^~~~~~~~~~~~~~~
../kernel/riscv64/asum_vector.c:33:20: note: in definition of macro 'VSETVL_MAX'
 #define VSETVL_MAX vsetvlmax_e32m1()
                    ^~~~~~~~~~~~~~~
../kernel/riscv64/iamax_vector.c:70:25: warning: implicit declaration of function 'vfmv_v_f_f32m1'; did you mean 'vmvvv_int32xm1'? [-Wimplicit-function-declaration]
 #define VFMVVF_FLOAT_M1 vfmv_v_f_f32m1
                         ^~~~~~~~~~~~~~
../kernel/riscv64/iamax_vector.c:70:25: note: in definition of macro 'VFMVVF_FLOAT_M1'
 #define VFMVVF_FLOAT_M1 vfmv_v_f_f32m1
                         ^~~~~~~~~~~~~~
../kernel/riscv64/amax_vector.c:42:25: warning: implicit declaration of function 'vfmv_v_f_f32m1'; did you mean 'vmvvv_int32xm1'? [-Wimplicit-function-declaration]
 #define VFMVVF_FLOAT_M1 vfmv_v_f_f32m1
                         ^~~~~~~~~~~~~~
../kernel/riscv64/amax_vector.c:42:25: note: in definition of macro 'VFMVVF_FLOAT_M1'
 #define VFMVVF_FLOAT_M1 vfmv_v_f_f32m1
                         ^~~~~~~~~~~~~~
../kernel/riscv64/copy_vector.c:34:21: warning: implicit declaration of function 'vsse_v_f32m8'; did you mean 'vssev_int32xm8'? [-Wimplicit-function-declaration]
 #define VSSEV_FLOAT vsse_v_f32m8
                     ^~~~~~~~~~~~
../kernel/riscv64/copy_vector.c:34:21: note: in definition of macro 'VSSEV_FLOAT'
 #define VSSEV_FLOAT vsse_v_f32m8
                     ^~~~~~~~~~~~
../kernel/riscv64/max_vector.c:35:22: error: unknown type name 'vfloat32m1_t'; did you mean 'float32xm1_t'?
 #define FLOAT_V_T_M1 vfloat32m1_t
                      ^~~~~~~~~~~~
../kernel/riscv64/max_vector.c:35:22: note: in definition of macro 'FLOAT_V_T_M1'
 #define FLOAT_V_T_M1 vfloat32m1_t
                      ^~~~~~~~~~~~
../kernel/riscv64/axpy_vector.c:35:20: warning: implicit declaration of function 'vse_v_f32m4'; did you mean 'vsev_int32xm4'? [-Wimplicit-function-declaration]
 #define VSEV_FLOAT vse_v_f32m4
                    ^~~~~~~~~~~
../kernel/riscv64/axpy_vector.c:35:20: note: in definition of macro 'VSEV_FLOAT'
 #define VSEV_FLOAT vse_v_f32m4
                    ^~~~~~~~~~~
../kernel/riscv64/nrm2_vector.c:31:20: warning: implicit declaration of function 'vsetvlmax_e32m1'; did you mean 'vmsetm_e32xm1'? [-Wimplicit-function-declaration]
 #define VSETVL_MAX vsetvlmax_e32m1()
                    ^~~~~~~~~~~~~~~
../kernel/riscv64/nrm2_vector.c:31:20: note: in definition of macro 'VSETVL_MAX'
 #define VSETVL_MAX vsetvlmax_e32m1()
                    ^~~~~~~~~~~~~~~
../kernel/riscv64/amax_vector.c:39:16: error: unknown type name 'vbool4_t'; did you mean 'ino64_t'?
 #define MASK_T vbool4_t
                ^~~~~~~~
../kernel/riscv64/amax_vector.c:39:16: note: in definition of macro 'MASK_T'
 #define MASK_T vbool4_t
                ^~~~~~~~
../kernel/riscv64/dot_vector.c:31:20: warning: implicit declaration of function 'vsetvlmax_e32m1'; did you mean 'vmsetm_e32xm1'? [-Wimplicit-function-declaration]
 #define VSETVL_MAX vsetvlmax_e32m1()
                    ^~~~~~~~~~~~~~~
../kernel/riscv64/dot_vector.c:31:20: note: in definition of macro 'VSETVL_MAX'
 #define VSETVL_MAX vsetvlmax_e32m1()
                    ^~~~~~~~~~~~~~~
../kernel/riscv64/amin_vector.c: In function 'samin_k':
../kernel/riscv64/amin_vector.c:35:19: error: unknown type name 'vfloat32m8_t'; did you mean 'float32xm8_t'?
 #define FLOAT_V_T vfloat32m8_t
                   ^~~~~~~~~~~~
../kernel/riscv64/amin_vector.c:35:19: note: in definition of macro 'FLOAT_V_T'
 #define FLOAT_V_T vfloat32m8_t
                   ^~~~~~~~~~~~
../kernel/riscv64/iamax_vector.c:59:19: warning: implicit declaration of function 'vsetvl_e32m8'; did you mean 'vmsetm_e32xm8'? [-Wimplicit-function-declaration]
 #define VSETVL(n) vsetvl_e32m8(n)
                   ^~~~~~~~~~~~
../kernel/riscv64/iamax_vector.c:59:19: note: in definition of macro 'VSETVL'
 #define VSETVL(n) vsetvl_e32m8(n)
                   ^~~~~~~~~~~~
../kernel/riscv64/asum_vector.c:42:25: warning: implicit declaration of function 'vfmv_v_f_f32m1'; did you mean 'vmvvv_int32xm1'? [-Wimplicit-function-declaration]
 #define VFMVVF_FLOAT_M1 vfmv_v_f_f32m1
                         ^~~~~~~~~~~~~~
../kernel/riscv64/asum_vector.c:42:25: note: in definition of macro 'VFMVVF_FLOAT_M1'
 #define VFMVVF_FLOAT_M1 vfmv_v_f_f32m1
                         ^~~~~~~~~~~~~~
../kernel/riscv64/axpy_vector.c:34:21: warning: implicit declaration of function 'vlse_v_f32m4'; did you mean 'vlsev_int32xm4'? [-Wimplicit-function-declaration]
 #define VLSEV_FLOAT vlse_v_f32m4
                     ^~~~~~~~~~~~
../kernel/riscv64/axpy_vector.c:34:21: note: in definition of macro 'VLSEV_FLOAT'
 #define VLSEV_FLOAT vlse_v_f32m4
                     ^~~~~~~~~~~~
../kernel/riscv64/amin_vector.c:36:22: error: unknown type name 'vfloat32m1_t'; did you mean 'float32xm1_t'?
 #define FLOAT_V_T_M1 vfloat32m1_t
                      ^~~~~~~~~~~~
../kernel/riscv64/amin_vector.c:36:22: note: in definition of macro 'FLOAT_V_T_M1'
 #define FLOAT_V_T_M1 vfloat32m1_t
                      ^~~~~~~~~~~~
../kernel/riscv64/amax_vector.c:32:19: warning: implicit declaration of function 'vsetvl_e32m8'; did you mean 'vmsetm_e32xm8'? [-Wimplicit-function-declaration]
 #define VSETVL(n) vsetvl_e32m8(n)
                   ^~~~~~~~~~~~
../kernel/riscv64/amax_vector.c:32:19: note: in definition of macro 'VSETVL'
 #define VSETVL(n) vsetvl_e32m8(n)
                   ^~~~~~~~~~~~
../kernel/riscv64/asum_vector.c:39:16: error: unknown type name 'vbool4_t'; did you mean 'ino64_t'?
 #define MASK_T vbool4_t
                ^~~~~~~~
../kernel/riscv64/asum_vector.c:39:16: note: in definition of macro 'MASK_T'
 #define MASK_T vbool4_t
                ^~~~~~~~
../kernel/riscv64/imax_vector.c:59:20: warning: implicit declaration of function 'vsetvlmax_e32m1'; did you mean 'vmsetm_e32xm1'? [-Wimplicit-function-declaration]
 #define VSETVL_MAX vsetvlmax_e32m1()
                    ^~~~~~~~~~~~~~~
../kernel/riscv64/imax_vector.c:59:20: note: in definition of macro 'VSETVL_MAX'
 #define VSETVL_MAX vsetvlmax_e32m1()
                    ^~~~~~~~~~~~~~~
../kernel/riscv64/iamax_vector.c:80:20: warning: implicit declaration of function 'vmv_v_x_u32m8'; did you mean 'vmvvv_int32xm8'? [-Wimplicit-function-declaration]
 #define VMVVX_UINT vmv_v_x_u32m8
                    ^~~~~~~~~~~~~
../kernel/riscv64/iamax_vector.c:80:20: note: in definition of macro 'VMVVX_UINT'
 #define VMVVX_UINT vmv_v_x_u32m8
                    ^~~~~~~~~~~~~
../kernel/riscv64/nrm2_vector.c:39:25: warning: implicit declaration of function 'vfmv_v_f_f32m1'; did you mean 'vmvvv_int32xm1'? [-Wimplicit-function-declaration]
 #define VFMVVF_FLOAT_M1 vfmv_v_f_f32m1
                         ^~~~~~~~~~~~~~
../kernel/riscv64/nrm2_vector.c:39:25: note: in definition of macro 'VFMVVF_FLOAT_M1'
 #define VFMVVF_FLOAT_M1 vfmv_v_f_f32m1
                         ^~~~~~~~~~~~~~
../kernel/riscv64/axpy_vector.c:36:21: warning: implicit declaration of function 'vsse_v_f32m4'; did you mean 'vssev_int32xm4'? [-Wimplicit-function-declaration]
 #define VSSEV_FLOAT vsse_v_f32m4
                     ^~~~~~~~~~~~
../kernel/riscv64/axpy_vector.c:36:21: note: in definition of macro 'VSSEV_FLOAT'
 #define VSSEV_FLOAT vsse_v_f32m4
                     ^~~~~~~~~~~~
../kernel/riscv64/max_vector.c:33:20: warning: implicit declaration of function 'vsetvlmax_e32m1'; did you mean 'vmsetm_e32xm1'? [-Wimplicit-function-declaration]
 #define VSETVL_MAX vsetvlmax_e32m1()
                    ^~~~~~~~~~~~~~~
../kernel/riscv64/max_vector.c:33:20: note: in definition of macro 'VSETVL_MAX'
 #define VSETVL_MAX vsetvlmax_e32m1()
                    ^~~~~~~~~~~~~~~
../kernel/riscv64/iamin_vector.c: In function 'isamin_k':
../kernel/riscv64/iamin_vector.c:62:19: error: unknown type name 'vfloat32m8_t'; did you mean 'float32xm8_t'?
 #define FLOAT_V_T vfloat32m8_t
                   ^~~~~~~~~~~~
../kernel/riscv64/iamin_vector.c:62:19: note: in definition of macro 'FLOAT_V_T'
 #define FLOAT_V_T vfloat32m8_t
                   ^~~~~~~~~~~~
../kernel/riscv64/dot_vector.c:39:25: warning: implicit declaration of function 'vfmv_v_f_f32m1'; did you mean 'vmvvv_int32xm1'? [-Wimplicit-function-declaration]
 #define VFMVVF_FLOAT_M1 vfmv_v_f_f32m1
                         ^~~~~~~~~~~~~~
../kernel/riscv64/dot_vector.c:39:25: note: in definition of macro 'VFMVVF_FLOAT_M1'
 #define VFMVVF_FLOAT_M1 vfmv_v_f_f32m1
                         ^~~~~~~~~~~~~~
../kernel/riscv64/nrm2_vector.c:42:16: error: unknown type name 'vbool8_t'
 #define MASK_T vbool8_t
                ^~~~~~~~
../kernel/riscv64/nrm2_vector.c:42:16: note: in definition of macro 'MASK_T'
 #define MASK_T vbool8_t
                ^~~~~~~~
../kernel/riscv64/min_vector.c: In function 'smin_k':
../kernel/riscv64/min_vector.c:34:19: error: unknown type name 'vfloat32m8_t'; did you mean 'float32xm8_t'?
 #define FLOAT_V_T vfloat32m8_t
                   ^~~~~~~~~~~~
../kernel/riscv64/min_vector.c:34:19: note: in definition of macro 'FLOAT_V_T'
 #define FLOAT_V_T vfloat32m8_t
                   ^~~~~~~~~~~~
../kernel/riscv64/amax_vector.c:41:22: warning: implicit declaration of function 'vfmv_v_f_f32m8'; did you mean 'vmvvv_int32xm8'? [-Wimplicit-function-declaration]
 #define VFMVVF_FLOAT vfmv_v_f_f32m8
                      ^~~~~~~~~~~~~~
../kernel/riscv64/amax_vector.c:41:22: note: in definition of macro 'VFMVVF_FLOAT'
 #define VFMVVF_FLOAT vfmv_v_f_f32m8
                      ^~~~~~~~~~~~~~
../kernel/riscv64/asum_vector.c:32:19: warning: implicit declaration of function 'vsetvl_e32m8'; did you mean 'vmsetm_e32xm8'? [-Wimplicit-function-declaration]
 #define VSETVL(n) vsetvl_e32m8(n)
                   ^~~~~~~~~~~~
../kernel/riscv64/asum_vector.c:32:19: note: in definition of macro 'VSETVL'
 #define VSETVL(n) vsetvl_e32m8(n)
                   ^~~~~~~~~~~~
../kernel/riscv64/imin_vector.c: In function 'ismin_k':
../kernel/riscv64/imin_vector.c:60:19: error: unknown type name 'vfloat32m8_t'; did you mean 'float32xm8_t'?
 #define FLOAT_V_T vfloat32m8_t
                   ^~~~~~~~~~~~
../kernel/riscv64/imin_vector.c:60:19: note: in definition of macro 'FLOAT_V_T'
 #define FLOAT_V_T vfloat32m8_t
                   ^~~~~~~~~~~~
../kernel/riscv64/iamin_vector.c:76:18: error: unknown type name 'vuint32m8_t'; did you mean 'uint32xm8_t'?
 #define UINT_V_T vuint32m8_t
                  ^~~~~~~~~~~
../kernel/riscv64/iamin_vector.c:76:18: note: in definition of macro 'UINT_V_T'
 #define UINT_V_T vuint32m8_t
                  ^~~~~~~~~~~
Makefile.L1:745: recipe for target 'scopy_k.o' failed
make[5]: *** [scopy_k.o] Error 1
make[5]: *** Waiting for unfinished jobs....
../kernel/riscv64/dot_vector.c: In function 'dsdot_k':
../kernel/riscv64/dot_vector.c:32:19: error: unknown type name 'vfloat32m4_t'; did you mean 'float32xm4_t'?
 #define FLOAT_V_T vfloat32m4_t
                   ^~~~~~~~~~~~
../kernel/riscv64/dot_vector.c:32:19: note: in definition of macro 'FLOAT_V_T'
 #define FLOAT_V_T vfloat32m4_t
                   ^~~~~~~~~~~~
../kernel/riscv64/dot_vector.c: In function 'sdot_k':
../kernel/riscv64/dot_vector.c:32:19: error: unknown type name 'vfloat32m4_t'; did you mean 'float32xm4_t'?
 #define FLOAT_V_T vfloat32m4_t
                   ^~~~~~~~~~~~
../kernel/riscv64/dot_vector.c:32:19: note: in definition of macro 'FLOAT_V_T'
 #define FLOAT_V_T vfloat32m4_t
                   ^~~~~~~~~~~~
../kernel/riscv64/imin_vector.c:72:18: error: unknown type name 'vuint32m8_t'; did you mean 'uint32xm8_t'?
 #define UINT_V_T vuint32m8_t
                  ^~~~~~~~~~~
../kernel/riscv64/imin_vector.c:72:18: note: in definition of macro 'UINT_V_T'
 #define UINT_V_T vuint32m8_t
                  ^~~~~~~~~~~
../kernel/riscv64/iamax_vector.c:69:22: warning: implicit declaration of function 'vfmv_v_f_f32m8'; did you mean 'vmvvv_int32xm8'? [-Wimplicit-function-declaration]
 #define VFMVVF_FLOAT vfmv_v_f_f32m8
                      ^~~~~~~~~~~~~~
../kernel/riscv64/iamax_vector.c:69:22: note: in definition of macro 'VFMVVF_FLOAT'
 #define VFMVVF_FLOAT vfmv_v_f_f32m8
                      ^~~~~~~~~~~~~~
../kernel/riscv64/amin_vector.c:34:20: warning: implicit declaration of function 'vsetvlmax_e32m1'; did you mean 'vmsetm_e32xm1'? [-Wimplicit-function-declaration]
 #define VSETVL_MAX vsetvlmax_e32m1()
                    ^~~~~~~~~~~~~~~
../kernel/riscv64/amin_vector.c:34:20: note: in definition of macro 'VSETVL_MAX'
 #define VSETVL_MAX vsetvlmax_e32m1()
                    ^~~~~~~~~~~~~~~
../kernel/riscv64/iamin_vector.c:67:16: error: unknown type name 'vbool4_t'; did you mean 'ino64_t'?
 #define MASK_T vbool4_t
                ^~~~~~~~
../kernel/riscv64/iamin_vector.c:67:16: note: in definition of macro 'MASK_T'
 #define MASK_T vbool4_t
                ^~~~~~~~
../kernel/riscv64/dot_vector.c:33:22: error: unknown type name 'vfloat32m1_t'; did you mean 'float32xm1_t'?
 #define FLOAT_V_T_M1 vfloat32m1_t
                      ^~~~~~~~~~~~
../kernel/riscv64/dot_vector.c:33:22: note: in definition of macro 'FLOAT_V_T_M1'
 #define FLOAT_V_T_M1 vfloat32m1_t
                      ^~~~~~~~~~~~
../kernel/riscv64/min_vector.c:35:22: error: unknown type name 'vfloat32m1_t'; did you mean 'float32xm1_t'?
 #define FLOAT_V_T_M1 vfloat32m1_t
                      ^~~~~~~~~~~~
../kernel/riscv64/min_vector.c:35:22: note: in definition of macro 'FLOAT_V_T_M1'
 #define FLOAT_V_T_M1 vfloat32m1_t
                      ^~~~~~~~~~~~
../kernel/riscv64/dot_vector.c:33:22: error: unknown type name 'vfloat32m1_t'; did you mean 'float32xm1_t'?
 #define FLOAT_V_T_M1 vfloat32m1_t
                      ^~~~~~~~~~~~
../kernel/riscv64/dot_vector.c:33:22: note: in definition of macro 'FLOAT_V_T_M1'
 #define FLOAT_V_T_M1 vfloat32m1_t
                      ^~~~~~~~~~~~
../kernel/riscv64/dot_vector.c:30:19: warning: implicit declaration of function 'vsetvl_e32m4'; did you mean 'vmsetm_e32xm4'? [-Wimplicit-function-declaration]
 #define VSETVL(n) vsetvl_e32m4(n)
                   ^~~~~~~~~~~~
../kernel/riscv64/dot_vector.c:30:19: note: in definition of macro 'VSETVL'
 #define VSETVL(n) vsetvl_e32m4(n)
                   ^~~~~~~~~~~~
../kernel/riscv64/imax_vector.c:68:25: warning: implicit declaration of function 'vfmv_v_f_f32m1'; did you mean 'vmvvv_int32xm1'? [-Wimplicit-function-declaration]
 #define VFMVVF_FLOAT_M1 vfmv_v_f_f32m1
                         ^~~~~~~~~~~~~~
../kernel/riscv64/imax_vector.c:68:25: note: in definition of macro 'VFMVVF_FLOAT_M1'
 #define VFMVVF_FLOAT_M1 vfmv_v_f_f32m1
                         ^~~~~~~~~~~~~~
../kernel/riscv64/nrm2_vector.c:30:19: warning: implicit declaration of function 'vsetvl_e32m4'; did you mean 'vmsetm_e32xm4'? [-Wimplicit-function-declaration]
 #define VSETVL(n) vsetvl_e32m4(n)
                   ^~~~~~~~~~~~
../kernel/riscv64/nrm2_vector.c:30:19: note: in definition of macro 'VSETVL'
 #define VSETVL(n) vsetvl_e32m4(n)
                   ^~~~~~~~~~~~
../kernel/riscv64/amax_vector.c:36:20: warning: implicit declaration of function 'vle_v_f32m8'; did you mean 'vlev_int32xm8'? [-Wimplicit-function-declaration]
 #define VLEV_FLOAT vle_v_f32m8
                    ^~~~~~~~~~~
../kernel/riscv64/amax_vector.c:36:20: note: in definition of macro 'VLEV_FLOAT'
 #define VLEV_FLOAT vle_v_f32m8
                    ^~~~~~~~~~~
../kernel/riscv64/max_vector.c:40:25: warning: implicit declaration of function 'vfmv_v_f_f32m1'; did you mean 'vmvvv_int32xm1'? [-Wimplicit-function-declaration]
 #define VFMVVF_FLOAT_M1 vfmv_v_f_f32m1
                         ^~~~~~~~~~~~~~
../kernel/riscv64/max_vector.c:40:25: note: in definition of macro 'VFMVVF_FLOAT_M1'
 #define VFMVVF_FLOAT_M1 vfmv_v_f_f32m1
                         ^~~~~~~~~~~~~~
../kernel/riscv64/imin_vector.c:65:16: error: unknown type name 'vbool4_t'; did you mean 'ino64_t'?
 #define MASK_T vbool4_t
                ^~~~~~~~
../kernel/riscv64/imin_vector.c:65:16: note: in definition of macro 'MASK_T'
 #define MASK_T vbool4_t
                ^~~~~~~~
../kernel/riscv64/iamin_vector.c:63:22: error: unknown type name 'vfloat32m1_t'; did you mean 'float32xm1_t'?
 #define FLOAT_V_T_M1 vfloat32m1_t
                      ^~~~~~~~~~~~
../kernel/riscv64/iamin_vector.c:63:22: note: in definition of macro 'FLOAT_V_T_M1'
 #define FLOAT_V_T_M1 vfloat32m1_t
                      ^~~~~~~~~~~~
../kernel/riscv64/asum_vector.c:41:22: warning: implicit declaration of function 'vfmv_v_f_f32m8'; did you mean 'vmvvv_int32xm8'? [-Wimplicit-function-declaration]
 #define VFMVVF_FLOAT vfmv_v_f_f32m8
                      ^~~~~~~~~~~~~~
../kernel/riscv64/asum_vector.c:41:22: note: in definition of macro 'VFMVVF_FLOAT'
 #define VFMVVF_FLOAT vfmv_v_f_f32m8
                      ^~~~~~~~~~~~~~
../kernel/riscv64/iamax_vector.c:63:20: warning: implicit declaration of function 'vle_v_f32m8'; did you mean 'vlev_int32xm8'? [-Wimplicit-function-declaration]
 #define VLEV_FLOAT vle_v_f32m8
                    ^~~~~~~~~~~
../kernel/riscv64/iamax_vector.c:63:20: note: in definition of macro 'VLEV_FLOAT'
 #define VLEV_FLOAT vle_v_f32m8
                    ^~~~~~~~~~~
../kernel/riscv64/imin_vector.c:61:22: error: unknown type name 'vfloat32m1_t'; did you mean 'float32xm1_t'?
 #define FLOAT_V_T_M1 vfloat32m1_t
                      ^~~~~~~~~~~~
../kernel/riscv64/imin_vector.c:61:22: note: in definition of macro 'FLOAT_V_T_M1'
 #define FLOAT_V_T_M1 vfloat32m1_t
                      ^~~~~~~~~~~~
../kernel/riscv64/imax_vector.c:58:19: warning: implicit declaration of function 'vsetvl_e32m8'; did you mean 'vmsetm_e32xm8'? [-Wimplicit-function-declaration]
 #define VSETVL(n) vsetvl_e32m8(n)
                   ^~~~~~~~~~~~
../kernel/riscv64/imax_vector.c:58:19: note: in definition of macro 'VSETVL'
 #define VSETVL(n) vsetvl_e32m8(n)
                   ^~~~~~~~~~~~
../kernel/riscv64/max_vector.c:32:19: warning: implicit declaration of function 'vsetvl_e32m8'; did you mean 'vmsetm_e32xm8'? [-Wimplicit-function-declaration]
 #define VSETVL(n) vsetvl_e32m8(n)
                   ^~~~~~~~~~~~
../kernel/riscv64/max_vector.c:32:19: note: in definition of macro 'VSETVL'
 #define VSETVL(n) vsetvl_e32m8(n)
                   ^~~~~~~~~~~~
../kernel/riscv64/amin_vector.c:43:25: warning: implicit declaration of function 'vfmv_v_f_f32m1'; did you mean 'vmvvv_int32xm1'? [-Wimplicit-function-declaration]
 #define VFMVVF_FLOAT_M1 vfmv_v_f_f32m1
                         ^~~~~~~~~~~~~~
../kernel/riscv64/amin_vector.c:43:25: note: in definition of macro 'VFMVVF_FLOAT_M1'
 #define VFMVVF_FLOAT_M1 vfmv_v_f_f32m1
                         ^~~~~~~~~~~~~~
../kernel/riscv64/dot_vector.c:38:22: warning: implicit declaration of function 'vfmv_v_f_f32m4'; did you mean 'vmvvv_int32xm4'? [-Wimplicit-function-declaration]
 #define VFMVVF_FLOAT vfmv_v_f_f32m4
                      ^~~~~~~~~~~~~~
../kernel/riscv64/dot_vector.c:38:22: note: in definition of macro 'VFMVVF_FLOAT'
 #define VFMVVF_FLOAT vfmv_v_f_f32m4
                      ^~~~~~~~~~~~~~
../kernel/riscv64/asum_vector.c:36:20: warning: implicit declaration of function 'vle_v_f32m8'; did you mean 'vlev_int32xm8'? [-Wimplicit-function-declaration]
 #define VLEV_FLOAT vle_v_f32m8
                    ^~~~~~~~~~~
../kernel/riscv64/asum_vector.c:36:20: note: in definition of macro 'VLEV_FLOAT'
 #define VLEV_FLOAT vle_v_f32m8
                    ^~~~~~~~~~~
../kernel/riscv64/nrm2_vector.c:38:22: warning: implicit declaration of function 'vfmv_v_f_f32m4'; did you mean 'vmvvv_int32xm4'? [-Wimplicit-function-declaration]
 #define VFMVVF_FLOAT vfmv_v_f_f32m4
                      ^~~~~~~~~~~~~~
../kernel/riscv64/nrm2_vector.c:38:22: note: in definition of macro 'VFMVVF_FLOAT'
 #define VFMVVF_FLOAT vfmv_v_f_f32m4
                      ^~~~~~~~~~~~~~
Makefile.L1:718: recipe for target 'saxpy_k.o' failed
make[5]: *** [saxpy_k.o] Error 1
../kernel/riscv64/dot_vector.c:31:20: warning: implicit declaration of function 'vsetvlmax_e32m1'; did you mean 'vmsetm_e32xm1'? [-Wimplicit-function-declaration]
 #define VSETVL_MAX vsetvlmax_e32m1()
                    ^~~~~~~~~~~~~~~
../kernel/riscv64/dot_vector.c:31:20: note: in definition of macro 'VSETVL_MAX'
 #define VSETVL_MAX vsetvlmax_e32m1()
                    ^~~~~~~~~~~~~~~
../kernel/riscv64/amin_vector.c:40:16: error: unknown type name 'vbool4_t'; did you mean 'ino64_t'?
 #define MASK_T vbool4_t
                ^~~~~~~~
../kernel/riscv64/amin_vector.c:40:16: note: in definition of macro 'MASK_T'
 #define MASK_T vbool4_t
                ^~~~~~~~
../kernel/riscv64/min_vector.c:33:20: warning: implicit declaration of function 'vsetvlmax_e32m1'; did you mean 'vmsetm_e32xm1'? [-Wimplicit-function-declaration]
 #define VSETVL_MAX vsetvlmax_e32m1()
                    ^~~~~~~~~~~~~~~
../kernel/riscv64/min_vector.c:33:20: note: in definition of macro 'VSETVL_MAX'
 #define VSETVL_MAX vsetvlmax_e32m1()
                    ^~~~~~~~~~~~~~~
../kernel/riscv64/dot_vector.c:31:20: warning: implicit declaration of function 'vsetvlmax_e32m1'; did you mean 'vmsetm_e32xm1'? [-Wimplicit-function-declaration]
 #define VSETVL_MAX vsetvlmax_e32m1()
                    ^~~~~~~~~~~~~~~
../kernel/riscv64/dot_vector.c:31:20: note: in definition of macro 'VSETVL_MAX'
 #define VSETVL_MAX vsetvlmax_e32m1()
                    ^~~~~~~~~~~~~~~
../kernel/riscv64/iamin_vector.c:61:20: warning: implicit declaration of function 'vsetvlmax_e32m1'; did you mean 'vmsetm_e32xm1'? [-Wimplicit-function-declaration]
 #define VSETVL_MAX vsetvlmax_e32m1()
                    ^~~~~~~~~~~~~~~
../kernel/riscv64/iamin_vector.c:61:20: note: in definition of macro 'VSETVL_MAX'
 #define VSETVL_MAX vsetvlmax_e32m1()
                    ^~~~~~~~~~~~~~~
../kernel/riscv64/dot_vector.c:34:20: warning: implicit declaration of function 'vle_v_f32m4'; did you mean 'vlev_int32xm4'? [-Wimplicit-function-declaration]
 #define VLEV_FLOAT vle_v_f32m4
                    ^~~~~~~~~~~
../kernel/riscv64/dot_vector.c:34:20: note: in definition of macro 'VLEV_FLOAT'
 #define VLEV_FLOAT vle_v_f32m4
                    ^~~~~~~~~~~
../kernel/riscv64/imax_vector.c:77:20: warning: implicit declaration of function 'vmv_v_x_u32m8'; did you mean 'vmvvv_int32xm8'? [-Wimplicit-function-declaration]
 #define VMVVX_UINT vmv_v_x_u32m8
                    ^~~~~~~~~~~~~
../kernel/riscv64/imax_vector.c:77:20: note: in definition of macro 'VMVVX_UINT'
 #define VMVVX_UINT vmv_v_x_u32m8
                    ^~~~~~~~~~~~~
../kernel/riscv64/nrm2_vector.c:34:20: warning: implicit declaration of function 'vle_v_f32m4'; did you mean 'vlev_int32xm4'? [-Wimplicit-function-declaration]
 #define VLEV_FLOAT vle_v_f32m4
                    ^~~~~~~~~~~
../kernel/riscv64/nrm2_vector.c:34:20: note: in definition of macro 'VLEV_FLOAT'
 #define VLEV_FLOAT vle_v_f32m4
                    ^~~~~~~~~~~
../kernel/riscv64/imin_vector.c:59:20: warning: implicit declaration of function 'vsetvlmax_e32m1'; did you mean 'vmsetm_e32xm1'? [-Wimplicit-function-declaration]
 #define VSETVL_MAX vsetvlmax_e32m1()
                    ^~~~~~~~~~~~~~~
../kernel/riscv64/imin_vector.c:59:20: note: in definition of macro 'VSETVL_MAX'
 #define VSETVL_MAX vsetvlmax_e32m1()
                    ^~~~~~~~~~~~~~~
../kernel/riscv64/amax_vector.c:40:23: warning: implicit declaration of function 'vmflt_vf_f32m8_b4' [-Wimplicit-function-declaration]
 #define VMFLTVF_FLOAT vmflt_vf_f32m8_b4
                       ^~~~~~~~~~~~~~~~~
../kernel/riscv64/amax_vector.c:40:23: note: in definition of macro 'VMFLTVF_FLOAT'
 #define VMFLTVF_FLOAT vmflt_vf_f32m8_b4
                       ^~~~~~~~~~~~~~~~~
../kernel/riscv64/max_vector.c:39:22: warning: implicit declaration of function 'vfmv_v_f_f32m8'; did you mean 'vmvvv_int32xm8'? [-Wimplicit-function-declaration]
 #define VFMVVF_FLOAT vfmv_v_f_f32m8
                      ^~~~~~~~~~~~~~
../kernel/riscv64/max_vector.c:39:22: note: in definition of macro 'VFMVVF_FLOAT'
 #define VFMVVF_FLOAT vfmv_v_f_f32m8
                      ^~~~~~~~~~~~~~
../kernel/riscv64/amin_vector.c:33:19: warning: implicit declaration of function 'vsetvl_e32m8'; did you mean 'vmsetm_e32xm8'? [-Wimplicit-function-declaration]
 #define VSETVL(n) vsetvl_e32m8(n)
                   ^~~~~~~~~~~~
../kernel/riscv64/amin_vector.c:33:19: note: in definition of macro 'VSETVL'
 #define VSETVL(n) vsetvl_e32m8(n)
                   ^~~~~~~~~~~~
../kernel/riscv64/dot_vector.c:39:25: warning: implicit declaration of function 'vfmv_v_f_f32m1'; did you mean 'vmvvv_int32xm1'? [-Wimplicit-function-declaration]
 #define VFMVVF_FLOAT_M1 vfmv_v_f_f32m1
                         ^~~~~~~~~~~~~~
../kernel/riscv64/dot_vector.c:39:25: note: in definition of macro 'VFMVVF_FLOAT_M1'
 #define VFMVVF_FLOAT_M1 vfmv_v_f_f32m1
                         ^~~~~~~~~~~~~~
../kernel/riscv64/iamax_vector.c:67:23: warning: implicit declaration of function 'vmflt_vf_f32m8_b4' [-Wimplicit-function-declaration]
 #define VMFLTVF_FLOAT vmflt_vf_f32m8_b4
                       ^~~~~~~~~~~~~~~~~
../kernel/riscv64/iamax_vector.c:67:23: note: in definition of macro 'VMFLTVF_FLOAT'
 #define VMFLTVF_FLOAT vmflt_vf_f32m8_b4
                       ^~~~~~~~~~~~~~~~~
../kernel/riscv64/min_vector.c:40:25: warning: implicit declaration of function 'vfmv_v_f_f32m1'; did you mean 'vmvvv_int32xm1'? [-Wimplicit-function-declaration]
 #define VFMVVF_FLOAT_M1 vfmv_v_f_f32m1
                         ^~~~~~~~~~~~~~
../kernel/riscv64/min_vector.c:40:25: note: in definition of macro 'VFMVVF_FLOAT_M1'
 #define VFMVVF_FLOAT_M1 vfmv_v_f_f32m1
                         ^~~~~~~~~~~~~~
../kernel/riscv64/dot_vector.c:39:25: warning: implicit declaration of function 'vfmv_v_f_f32m1'; did you mean 'vmvvv_int32xm1'? [-Wimplicit-function-declaration]
 #define VFMVVF_FLOAT_M1 vfmv_v_f_f32m1
                         ^~~~~~~~~~~~~~
../kernel/riscv64/dot_vector.c:39:25: note: in definition of macro 'VFMVVF_FLOAT_M1'
 #define VFMVVF_FLOAT_M1 vfmv_v_f_f32m1
                         ^~~~~~~~~~~~~~
../kernel/riscv64/max_vector.c:36:20: warning: implicit declaration of function 'vle_v_f32m8'; did you mean 'vlev_int32xm8'? [-Wimplicit-function-declaration]
 #define VLEV_FLOAT vle_v_f32m8
                    ^~~~~~~~~~~
../kernel/riscv64/max_vector.c:36:20: note: in definition of macro 'VLEV_FLOAT'
 #define VLEV_FLOAT vle_v_f32m8
                    ^~~~~~~~~~~
../kernel/riscv64/imax_vector.c:67:22: warning: implicit declaration of function 'vfmv_v_f_f32m8'; did you mean 'vmvvv_int32xm8'? [-Wimplicit-function-declaration]
 #define VFMVVF_FLOAT vfmv_v_f_f32m8
                      ^~~~~~~~~~~~~~
../kernel/riscv64/imax_vector.c:67:22: note: in definition of macro 'VFMVVF_FLOAT'
 #define VFMVVF_FLOAT vfmv_v_f_f32m8
                      ^~~~~~~~~~~~~~
../kernel/riscv64/iamin_vector.c:71:25: warning: implicit declaration of function 'vfmv_v_f_f32m1'; did you mean 'vmvvv_int32xm1'? [-Wimplicit-function-declaration]
 #define VFMVVF_FLOAT_M1 vfmv_v_f_f32m1
                         ^~~~~~~~~~~~~~
../kernel/riscv64/iamin_vector.c:71:25: note: in definition of macro 'VFMVVF_FLOAT_M1'
 #define VFMVVF_FLOAT_M1 vfmv_v_f_f32m1
                         ^~~~~~~~~~~~~~
../kernel/riscv64/dot_vector.c:37:24: warning: implicit declaration of function 'vfmacc_vv_f32m4'; did you mean 'vfmaccvv_float32xm4'? [-Wimplicit-function-declaration]
 #define VFMACCVV_FLOAT vfmacc_vv_f32m4
                        ^~~~~~~~~~~~~~~
../kernel/riscv64/dot_vector.c:37:24: note: in definition of macro 'VFMACCVV_FLOAT'
 #define VFMACCVV_FLOAT vfmacc_vv_f32m4
                        ^~~~~~~~~~~~~~~
../kernel/riscv64/amax_vector.c:44:23: warning: implicit declaration of function 'vfmax_vv_f32m8'; did you mean 'vfmaxvv_float32xm8'? [-Wimplicit-function-declaration]
 #define VFMAXVV_FLOAT vfmax_vv_f32m8
                       ^~~~~~~~~~~~~~
../kernel/riscv64/amax_vector.c:44:23: note: in definition of macro 'VFMAXVV_FLOAT'
 #define VFMAXVV_FLOAT vfmax_vv_f32m8
                       ^~~~~~~~~~~~~~
../kernel/riscv64/asum_vector.c:40:23: warning: implicit declaration of function 'vmflt_vf_f32m8_b4' [-Wimplicit-function-declaration]
 #define VMFLTVF_FLOAT vmflt_vf_f32m8_b4
                       ^~~~~~~~~~~~~~~~~
../kernel/riscv64/asum_vector.c:40:23: note: in definition of macro 'VMFLTVF_FLOAT'
 #define VMFLTVF_FLOAT vmflt_vf_f32m8_b4
                       ^~~~~~~~~~~~~~~~~
../kernel/riscv64/imin_vector.c:68:25: warning: implicit declaration of function 'vfmv_v_f_f32m1'; did you mean 'vmvvv_int32xm1'? [-Wimplicit-function-declaration]
 #define VFMVVF_FLOAT_M1 vfmv_v_f_f32m1
                         ^~~~~~~~~~~~~~
../kernel/riscv64/imin_vector.c:68:25: note: in definition of macro 'VFMVVF_FLOAT_M1'
 #define VFMVVF_FLOAT_M1 vfmv_v_f_f32m1
                         ^~~~~~~~~~~~~~
../kernel/riscv64/dot_vector.c:30:19: warning: implicit declaration of function 'vsetvl_e32m4'; did you mean 'vmsetm_e32xm4'? [-Wimplicit-function-declaration]
 #define VSETVL(n) vsetvl_e32m4(n)
                   ^~~~~~~~~~~~
../kernel/riscv64/dot_vector.c:30:19: note: in definition of macro 'VSETVL'
 #define VSETVL(n) vsetvl_e32m4(n)
                   ^~~~~~~~~~~~
../kernel/riscv64/amin_vector.c:42:22: warning: implicit declaration of function 'vfmv_v_f_f32m8'; did you mean 'vmvvv_int32xm8'? [-Wimplicit-function-declaration]
 #define VFMVVF_FLOAT vfmv_v_f_f32m8
                      ^~~~~~~~~~~~~~
../kernel/riscv64/amin_vector.c:42:22: note: in definition of macro 'VFMVVF_FLOAT'
 #define VFMVVF_FLOAT vfmv_v_f_f32m8
                      ^~~~~~~~~~~~~~
../kernel/riscv64/dot_vector.c:30:19: warning: implicit declaration of function 'vsetvl_e32m4'; did you mean 'vmsetm_e32xm4'? [-Wimplicit-function-declaration]
 #define VSETVL(n) vsetvl_e32m4(n)
                   ^~~~~~~~~~~~
../kernel/riscv64/dot_vector.c:30:19: note: in definition of macro 'VSETVL'
 #define VSETVL(n) vsetvl_e32m4(n)
                   ^~~~~~~~~~~~
../kernel/riscv64/min_vector.c:32:19: warning: implicit declaration of function 'vsetvl_e32m8'; did you mean 'vmsetm_e32xm8'? [-Wimplicit-function-declaration]
 #define VSETVL(n) vsetvl_e32m8(n)
                   ^~~~~~~~~~~~
../kernel/riscv64/min_vector.c:32:19: note: in definition of macro 'VSETVL'
 #define VSETVL(n) vsetvl_e32m8(n)
                   ^~~~~~~~~~~~
../kernel/riscv64/imax_vector.c:62:20: warning: implicit declaration of function 'vle_v_f32m8'; did you mean 'vlev_int32xm8'? [-Wimplicit-function-declaration]
 #define VLEV_FLOAT vle_v_f32m8
                    ^~~~~~~~~~~
../kernel/riscv64/imax_vector.c:62:20: note: in definition of macro 'VLEV_FLOAT'
 #define VLEV_FLOAT vle_v_f32m8
                    ^~~~~~~~~~~
../kernel/riscv64/iamin_vector.c:60:19: warning: implicit declaration of function 'vsetvl_e32m8'; did you mean 'vmsetm_e32xm8'? [-Wimplicit-function-declaration]
 #define VSETVL(n) vsetvl_e32m8(n)
                   ^~~~~~~~~~~~
../kernel/riscv64/iamin_vector.c:60:19: note: in definition of macro 'VSETVL'
 #define VSETVL(n) vsetvl_e32m8(n)
                   ^~~~~~~~~~~~
../kernel/riscv64/max_vector.c:41:23: warning: implicit declaration of function 'vfmax_vv_f32m8'; did you mean 'vfmaxvv_float32xm8'? [-Wimplicit-function-declaration]
 #define VFMAXVV_FLOAT vfmax_vv_f32m8
                       ^~~~~~~~~~~~~~
../kernel/riscv64/max_vector.c:41:23: note: in definition of macro 'VFMAXVV_FLOAT'
 #define VFMAXVV_FLOAT vfmax_vv_f32m8
                       ^~~~~~~~~~~~~~
../kernel/riscv64/nrm2_vector.c:47:23: warning: implicit declaration of function 'vmflt_vf_f32m4_b8' [-Wimplicit-function-declaration]
 #define VMFLTVF_FLOAT vmflt_vf_f32m4_b8
                       ^~~~~~~~~~~~~~~~~
../kernel/riscv64/nrm2_vector.c:47:23: note: in definition of macro 'VMFLTVF_FLOAT'
 #define VMFLTVF_FLOAT vmflt_vf_f32m4_b8
                       ^~~~~~~~~~~~~~~~~
../kernel/riscv64/amin_vector.c:37:20: warning: implicit declaration of function 'vle_v_f32m8'; did you mean 'vlev_int32xm8'? [-Wimplicit-function-declaration]
 #define VLEV_FLOAT vle_v_f32m8
                    ^~~~~~~~~~~
../kernel/riscv64/amin_vector.c:37:20: note: in definition of macro 'VLEV_FLOAT'
 #define VLEV_FLOAT vle_v_f32m8
                    ^~~~~~~~~~~
../kernel/riscv64/imin_vector.c:58:19: warning: implicit declaration of function 'vsetvl_e32m8'; did you mean 'vmsetm_e32xm8'? [-Wimplicit-function-declaration]
 #define VSETVL(n) vsetvl_e32m8(n)
                   ^~~~~~~~~~~~
../kernel/riscv64/imin_vector.c:58:19: note: in definition of macro 'VSETVL'
 #define VSETVL(n) vsetvl_e32m8(n)
                   ^~~~~~~~~~~~
../kernel/riscv64/iamax_vector.c:71:29: warning: implicit declaration of function 'vfrsub_vf_f32m8_m'; did you mean 'vfrsubvf_float32xm8'? [-Wimplicit-function-declaration]
 #define VFRSUBVF_MASK_FLOAT vfrsub_vf_f32m8_m
                             ^~~~~~~~~~~~~~~~~
../kernel/riscv64/iamax_vector.c:71:29: note: in definition of macro 'VFRSUBVF_MASK_FLOAT'
 #define VFRSUBVF_MASK_FLOAT vfrsub_vf_f32m8_m
                             ^~~~~~~~~~~~~~~~~
../kernel/riscv64/dot_vector.c:38:22: warning: implicit declaration of function 'vfmv_v_f_f32m4'; did you mean 'vmvvv_int32xm4'? [-Wimplicit-function-declaration]
 #define VFMVVF_FLOAT vfmv_v_f_f32m4
                      ^~~~~~~~~~~~~~
../kernel/riscv64/dot_vector.c:38:22: note: in definition of macro 'VFMVVF_FLOAT'
 #define VFMVVF_FLOAT vfmv_v_f_f32m4
                      ^~~~~~~~~~~~~~
../kernel/riscv64/dot_vector.c:38:22: warning: implicit declaration of function 'vfmv_v_f_f32m4'; did you mean 'vmvvv_int32xm4'? [-Wimplicit-function-declaration]
 #define VFMVVF_FLOAT vfmv_v_f_f32m4
                      ^~~~~~~~~~~~~~
../kernel/riscv64/dot_vector.c:38:22: note: in definition of macro 'VFMVVF_FLOAT'
 #define VFMVVF_FLOAT vfmv_v_f_f32m4
                      ^~~~~~~~~~~~~~
../kernel/riscv64/min_vector.c:39:22: warning: implicit declaration of function 'vfmv_v_f_f32m8'; did you mean 'vmvvv_int32xm8'? [-Wimplicit-function-declaration]
 #define VFMVVF_FLOAT vfmv_v_f_f32m8
                      ^~~~~~~~~~~~~~
../kernel/riscv64/min_vector.c:39:22: note: in definition of macro 'VFMVVF_FLOAT'
 #define VFMVVF_FLOAT vfmv_v_f_f32m8
                      ^~~~~~~~~~~~~~
../kernel/riscv64/iamin_vector.c:70:22: warning: implicit declaration of function 'vfmv_v_f_f32m8'; did you mean 'vmvvv_int32xm8'? [-Wimplicit-function-declaration]
 #define VFMVVF_FLOAT vfmv_v_f_f32m8
                      ^~~~~~~~~~~~~~
../kernel/riscv64/iamin_vector.c:70:22: note: in definition of macro 'VFMVVF_FLOAT'
 #define VFMVVF_FLOAT vfmv_v_f_f32m8
                      ^~~~~~~~~~~~~~
../kernel/riscv64/asum_vector.c:43:29: warning: implicit declaration of function 'vfrsub_vf_f32m8_m'; did you mean
vfrsubvf_float32xm8'? [-Wimplicit-function-declaration]
 #define VFRSUBVF_MASK_FLOAT vfrsub_vf_f32m8_m
                             ^~~~~~~~~~~~~~~~~
../kernel/riscv64/asum_vector.c:43:29: note: in definition of macro 'VFRSUBVF_MASK_FLOAT'
 #define VFRSUBVF_MASK_FLOAT vfrsub_vf_f32m8_m
                             ^~~~~~~~~~~~~~~~~
../kernel/riscv64/dot_vector.c:34:20: warning: implicit declaration of function 'vle_v_f32m4'; did you mean 'vlev_int32xm4'? [-Wimplicit-function-declaration]
 #define VLEV_FLOAT vle_v_f32m4
                    ^~~~~~~~~~~
../kernel/riscv64/dot_vector.c:34:20: note: in definition of macro 'VLEV_FLOAT'
 #define VLEV_FLOAT vle_v_f32m4
                    ^~~~~~~~~~~
../kernel/riscv64/imin_vector.c:67:22: warning: implicit declaration of function 'vfmv_v_f_f32m8'; did you mean 'vmvvv_int32xm8'? [-Wimplicit-function-declaration]
 #define VFMVVF_FLOAT vfmv_v_f_f32m8
                      ^~~~~~~~~~~~~~
../kernel/riscv64/imin_vector.c:67:22: note: in definition of macro 'VFMVVF_FLOAT'
 #define VFMVVF_FLOAT vfmv_v_f_f32m8
                      ^~~~~~~~~~~~~~
../kernel/riscv64/dot_vector.c:34:20: warning: implicit declaration of function 'vle_v_f32m4'; did you mean 'vlev_int32xm4'? [-Wimplicit-function-declaration]
 #define VLEV_FLOAT vle_v_f32m4
                    ^~~~~~~~~~~
../kernel/riscv64/dot_vector.c:34:20: note: in definition of macro 'VLEV_FLOAT'
 #define VLEV_FLOAT vle_v_f32m4
                    ^~~~~~~~~~~
../kernel/riscv64/min_vector.c:36:20: warning: implicit declaration of function 'vle_v_f32m8'; did you mean 'vlev_int32xm8'? [-Wimplicit-function-declaration]
 #define VLEV_FLOAT vle_v_f32m8
                    ^~~~~~~~~~~
../kernel/riscv64/min_vector.c:36:20: note: in definition of macro 'VLEV_FLOAT'
 #define VLEV_FLOAT vle_v_f32m8
                    ^~~~~~~~~~~
../kernel/riscv64/imax_vector.c:66:23: warning: implicit declaration of function 'vmflt_vv_f32m8_b4' [-Wimplicit-function-declaration]
 #define VMFLTVV_FLOAT vmflt_vv_f32m8_b4
                       ^~~~~~~~~~~~~~~~~
../kernel/riscv64/imax_vector.c:66:23: note: in definition of macro 'VMFLTVV_FLOAT'
 #define VMFLTVV_FLOAT vmflt_vv_f32m8_b4
                       ^~~~~~~~~~~~~~~~~
../kernel/riscv64/dot_vector.c:36:24: warning: implicit declaration of function 'vfredsum_vs_f32m4_f32m1'; did you mean 'vfredsumvs_float32xm1'? [-Wimplicit-function-declaration]
 #define VFREDSUM_FLOAT vfredsum_vs_f32m4_f32m1
                        ^~~~~~~~~~~~~~~~~~~~~~~
../kernel/riscv64/dot_vector.c:36:24: note: in definition of macro 'VFREDSUM_FLOAT'
 #define VFREDSUM_FLOAT vfredsum_vs_f32m4_f32m1
                        ^~~~~~~~~~~~~~~~~~~~~~~
../kernel/riscv64/dot_vector.c:84:37: error: subscripted value is neither array nor pointer nor vector
                         dot += v_res[0];
                                     ^
../kernel/riscv64/nrm2_vector.c:43:29: warning: implicit declaration of function 'vfrsub_vf_f32m4_m'; did you mean
vfrsubvf_float64xm8'? [-Wimplicit-function-declaration]
 #define VFRSUBVF_MASK_FLOAT vfrsub_vf_f32m4_m
                             ^~~~~~~~~~~~~~~~~
../kernel/riscv64/nrm2_vector.c:43:29: note: in definition of macro 'VFRSUBVF_MASK_FLOAT'
 #define VFRSUBVF_MASK_FLOAT vfrsub_vf_f32m4_m
                             ^~~~~~~~~~~~~~~~~
../kernel/riscv64/iamin_vector.c:81:20: warning: implicit declaration of function 'vmv_v_x_u32m8'; did you mean 'vmvvv_int32xm8'? [-Wimplicit-function-declaration]
 #define VMVVX_UINT vmv_v_x_u32m8
                    ^~~~~~~~~~~~~
../kernel/riscv64/iamin_vector.c:81:20: note: in definition of macro 'VMVVX_UINT'
 #define VMVVX_UINT vmv_v_x_u32m8
                    ^~~~~~~~~~~~~
../kernel/riscv64/amax_vector.c:38:26: warning: implicit declaration of function 'vfredmax_vs_f32m8_f32m1'; did you mean 'vfredmaxvs_float32xm1'? [-Wimplicit-function-declaration]
 #define VFREDMAXVS_FLOAT vfredmax_vs_f32m8_f32m1
                          ^~~~~~~~~~~~~~~~~~~~~~~
../kernel/riscv64/amax_vector.c:38:26: note: in definition of macro 'VFREDMAXVS_FLOAT'
 #define VFREDMAXVS_FLOAT vfredmax_vs_f32m8_f32m1
                          ^~~~~~~~~~~~~~~~~~~~~~~
../kernel/riscv64/amax_vector.c:134:37: error: subscripted value is neither array nor pointer nor vector
                         maxf = v_res[0];
                                     ^
../kernel/riscv64/amax_vector.c:162:33: error: subscripted value is neither array nor pointer nor vector
                         if(v_res[0] > maxf)
                                 ^
../kernel/riscv64/amax_vector.c:163:45: error: subscripted value is neither array nor pointer nor vector
                                 maxf = v_res[0];
                                             ^
../kernel/riscv64/asum_vector.c:44:23: warning: implicit declaration of function 'vfadd_vv_f32m8'; did you mean 'vfaddvv_float32xm8'? [-Wimplicit-function-declaration]
 #define VFADDVV_FLOAT vfadd_vv_f32m8
                       ^~~~~~~~~~~~~~
../kernel/riscv64/asum_vector.c:44:23: note: in definition of macro 'VFADDVV_FLOAT'
 #define VFADDVV_FLOAT vfadd_vv_f32m8
                       ^~~~~~~~~~~~~~
../kernel/riscv64/dot_vector.c:32:19: error: unknown type name 'vfloat32m4_t'; did you mean 'float32xm4_t'?
 #define FLOAT_V_T vfloat32m4_t
                   ^~~~~~~~~~~~
../kernel/riscv64/dot_vector.c:32:19: note: in definition of macro 'FLOAT_V_T'
 #define FLOAT_V_T vfloat32m4_t
                   ^~~~~~~~~~~~
../kernel/riscv64/dot_vector.c:95:37: error: subscripted value is neither array nor pointer nor vector
                         dot += v_res[0];
                                     ^
../kernel/riscv64/imin_vector.c:77:20: warning: implicit declaration of function 'vmv_v_x_u32m8'; did you mean 'vmvvv_int32xm8'? [-Wimplicit-function-declaration]
 #define VMVVX_UINT vmv_v_x_u32m8
                    ^~~~~~~~~~~~~
../kernel/riscv64/imin_vector.c:77:20: note: in definition of macro 'VMVVX_UINT'
 #define VMVVX_UINT vmv_v_x_u32m8
                    ^~~~~~~~~~~~~
../kernel/riscv64/amin_vector.c:41:23: warning: implicit declaration of function 'vmflt_vf_f32m8_b4' [-Wimplicit-function-declaration]
 #define VMFLTVF_FLOAT vmflt_vf_f32m8_b4
                       ^~~~~~~~~~~~~~~~~
../kernel/riscv64/amin_vector.c:41:23: note: in definition of macro 'VMFLTVF_FLOAT'
 #define VMFLTVF_FLOAT vmflt_vf_f32m8_b4
                       ^~~~~~~~~~~~~~~~~
../kernel/riscv64/dot_vector.c:37:24: warning: implicit declaration of function 'vfmacc_vv_f32m4'; did you mean 'vfmaccvv_float32xm4'? [-Wimplicit-function-declaration]
 #define VFMACCVV_FLOAT vfmacc_vv_f32m4
                        ^~~~~~~~~~~~~~~
../kernel/riscv64/dot_vector.c:37:24: note: in definition of macro 'VFMACCVV_FLOAT'
 #define VFMACCVV_FLOAT vfmacc_vv_f32m4
                        ^~~~~~~~~~~~~~~
../kernel/riscv64/min_vector.c:41:23: warning: implicit declaration of function 'vfmin_vv_f32m8'; did you mean 'vfminvv_float32xm8'? [-Wimplicit-function-declaration]
 #define VFMINVV_FLOAT vfmin_vv_f32m8
                       ^~~~~~~~~~~~~~
../kernel/riscv64/min_vector.c:41:23: note: in definition of macro 'VFMINVV_FLOAT'
 #define VFMINVV_FLOAT vfmin_vv_f32m8
                       ^~~~~~~~~~~~~~
../kernel/riscv64/iamax_vector.c:68:23: warning: implicit declaration of function 'vmflt_vv_f32m8_b4' [-Wimplicit-function-declaration]
 #define VMFLTVV_FLOAT vmflt_vv_f32m8_b4
                       ^~~~~~~~~~~~~~~~~
../kernel/riscv64/iamax_vector.c:68:23: note: in definition of macro 'VMFLTVV_FLOAT'
 #define VMFLTVV_FLOAT vmflt_vv_f32m8_b4
                       ^~~~~~~~~~~~~~~~~
../kernel/riscv64/dot_vector.c:37:24: warning: implicit declaration of function 'vfmacc_vv_f32m4'; did you mean 'vfmaccvv_float32xm4'? [-Wimplicit-function-declaration]
 #define VFMACCVV_FLOAT vfmacc_vv_f32m4
                        ^~~~~~~~~~~~~~~
../kernel/riscv64/dot_vector.c:37:24: note: in definition of macro 'VFMACCVV_FLOAT'
 #define VFMACCVV_FLOAT vfmacc_vv_f32m4
                        ^~~~~~~~~~~~~~~
../kernel/riscv64/iamin_vector.c:64:20: warning: implicit declaration of function 'vle_v_f32m8'; did you mean 'vlev_int32xm8'? [-Wimplicit-function-declaration]
 #define VLEV_FLOAT vle_v_f32m8
                    ^~~~~~~~~~~
../kernel/riscv64/iamin_vector.c:64:20: note: in definition of macro 'VLEV_FLOAT'
 #define VLEV_FLOAT vle_v_f32m8
                    ^~~~~~~~~~~
../kernel/riscv64/max_vector.c:38:26: warning: implicit declaration of function 'vfredmax_vs_f32m8_f32m1'; did you mean 'vfredmaxvs_float32xm1'? [-Wimplicit-function-declaration]
 #define VFREDMAXVS_FLOAT vfredmax_vs_f32m8_f32m1
                          ^~~~~~~~~~~~~~~~~~~~~~~
../kernel/riscv64/max_vector.c:38:26: note: in definition of macro 'VFREDMAXVS_FLOAT'
 #define VFREDMAXVS_FLOAT vfredmax_vs_f32m8_f32m1
                          ^~~~~~~~~~~~~~~~~~~~~~~
../kernel/riscv64/max_vector.c:80:37: error: subscripted value is neither array nor pointer nor vector
                         maxf = v_res[0];
                                     ^
../kernel/riscv64/max_vector.c:86:33: error: subscripted value is neither array nor pointer nor vector
                         if(v_res[0] > maxf)
                                 ^
../kernel/riscv64/max_vector.c:87:45: error: subscripted value is neither array nor pointer nor vector
                                 maxf = v_res[0];
                                             ^
../kernel/riscv64/amax_vector.c:37:21: warning: implicit declaration of function 'vlse_v_f32m8'; did you mean 'vlsev_int32xm8'? [-Wimplicit-function-declaration]
 #define VLSEV_FLOAT vlse_v_f32m8
                     ^~~~~~~~~~~~
../kernel/riscv64/amax_vector.c:37:21: note: in definition of macro 'VLSEV_FLOAT'
 #define VLSEV_FLOAT vlse_v_f32m8
                     ^~~~~~~~~~~~
../kernel/riscv64/amax_vector.c:226:37: error: subscripted value is neither array nor pointer nor vector
                         maxf = v_res[0];
                                     ^
../kernel/riscv64/amax_vector.c:254:33: error: subscripted value is neither array nor pointer nor vector
                         if(v_res[0] > maxf)
                                 ^
../kernel/riscv64/amax_vector.c:255:45: error: subscripted value is neither array nor pointer nor vector
                                 maxf = v_res[0];
                                             ^
../kernel/riscv64/dot_vector.c:35:21: warning: implicit declaration of function 'vlse_v_f32m4'; did you mean 'vlsev_int32xm4'? [-Wimplicit-function-declaration]
 #define VLSEV_FLOAT vlse_v_f32m4
                     ^~~~~~~~~~~~
../kernel/riscv64/dot_vector.c:35:21: note: in definition of macro 'VLSEV_FLOAT'
 #define VLSEV_FLOAT vlse_v_f32m4
                     ^~~~~~~~~~~~
../kernel/riscv64/dot_vector.c:109:37: error: subscripted value is neither array nor pointer nor vector
                         dot += v_res[0];
                                     ^
../kernel/riscv64/imax_vector.c:73:24: warning: implicit declaration of function 'vid_v_u32m8_m'; did you mean 'vidv_uint8xm8'? [-Wimplicit-function-declaration]
 #define VIDV_MASK_UINT vid_v_u32m8_m
                        ^~~~~~~~~~~~~
../kernel/riscv64/imax_vector.c:73:24: note: in definition of macro 'VIDV_MASK_UINT'
 #define VIDV_MASK_UINT vid_v_u32m8_m
                        ^~~~~~~~~~~~~
../kernel/riscv64/imin_vector.c:62:20: warning: implicit declaration of function 'vle_v_f32m8'; did you mean 'vlev_int32xm8'? [-Wimplicit-function-declaration]
 #define VLEV_FLOAT vle_v_f32m8
                    ^~~~~~~~~~~
../kernel/riscv64/imin_vector.c:62:20: note: in definition of macro 'VLEV_FLOAT'
 #define VLEV_FLOAT vle_v_f32m8
                    ^~~~~~~~~~~
../kernel/riscv64/dot_vector.c:32:19: error: unknown type name 'vfloat32m4_t'; did you mean 'float32xm4_t'?
 #define FLOAT_V_T vfloat32m4_t
                   ^~~~~~~~~~~~
../kernel/riscv64/dot_vector.c:32:19: note: in definition of macro 'FLOAT_V_T'
 #define FLOAT_V_T vfloat32m4_t
                   ^~~~~~~~~~~~
../kernel/riscv64/dot_vector.c:120:37: error: subscripted value is neither array nor pointer nor vector
                         dot += v_res[0];
                                     ^
../kernel/riscv64/dot_vector.c:134:37: error: subscripted value is neither array nor pointer nor vector
                         dot += v_res[0];
                                     ^
../kernel/riscv64/amin_vector.c:45:23: warning: implicit declaration of function 'vfmin_vv_f32m8'; did you mean 'vfminvv_float32xm8'? [-Wimplicit-function-declaration]
 #define VFMINVV_FLOAT vfmin_vv_f32m8
                       ^~~~~~~~~~~~~~
../kernel/riscv64/amin_vector.c:45:23: note: in definition of macro 'VFMINVV_FLOAT'
 #define VFMINVV_FLOAT vfmin_vv_f32m8
                       ^~~~~~~~~~~~~~
../kernel/riscv64/iamax_vector.c:76:24: warning: implicit declaration of function 'vid_v_u32m8_m'; did you mean 'vidv_uint8xm8'? [-Wimplicit-function-declaration]
 #define VIDV_MASK_UINT vid_v_u32m8_m
                        ^~~~~~~~~~~~~
../kernel/riscv64/iamax_vector.c:76:24: note: in definition of macro 'VIDV_MASK_UINT'
 #define VIDV_MASK_UINT vid_v_u32m8_m
                        ^~~~~~~~~~~~~
../kernel/riscv64/max_vector.c:37:21: warning: implicit declaration of function 'vlse_v_f32m8'; did you mean 'vlsev_int32xm8'? [-Wimplicit-function-declaration]
 #define VLSEV_FLOAT vlse_v_f32m8
                     ^~~~~~~~~~~~
../kernel/riscv64/max_vector.c:37:21: note: in definition of macro 'VLSEV_FLOAT'
 #define VLSEV_FLOAT vlse_v_f32m8
                     ^~~~~~~~~~~~
../kernel/riscv64/max_vector.c:106:37: error: subscripted value is neither array nor pointer nor vector
                         maxf = v_res[0];
                                     ^
../kernel/riscv64/max_vector.c:112:33: error: subscripted value is neither array nor pointer nor vector
                         if(v_res[0] > maxf)
                                 ^
../kernel/riscv64/max_vector.c:113:45: error: subscripted value is neither array nor pointer nor vector
                                 maxf = v_res[0];
                                             ^
../kernel/riscv64/dot_vector.c:32:19: error: unknown type name 'vfloat32m4_t'; did you mean 'float32xm4_t'?
 #define FLOAT_V_T vfloat32m4_t
                   ^~~~~~~~~~~~
../kernel/riscv64/dot_vector.c:32:19: note: in definition of macro 'FLOAT_V_T'
 #define FLOAT_V_T vfloat32m4_t
                   ^~~~~~~~~~~~
../kernel/riscv64/dot_vector.c:145:37: error: subscripted value is neither array nor pointer nor vector
                         dot += v_res[0];
                                     ^
../kernel/riscv64/dot_vector.c:160:37: error: subscripted value is neither array nor pointer nor vector
                         dot += v_res[0];
                                     ^
../kernel/riscv64/dot_vector.c:32:19: error: unknown type name 'vfloat32m4_t'; did you mean 'float32xm4_t'?
 #define FLOAT_V_T vfloat32m4_t
                   ^~~~~~~~~~~~
../kernel/riscv64/dot_vector.c:32:19: note: in definition of macro 'FLOAT_V_T'
 #define FLOAT_V_T vfloat32m4_t
                   ^~~~~~~~~~~~
../kernel/riscv64/dot_vector.c:171:37: error: subscripted value is neither array nor pointer nor vector
                         dot += v_res[0];
                                     ^
../kernel/riscv64/nrm2_vector.c:44:23: warning: implicit declaration of function 'vmfgt_vf_f32m4_b8' [-Wimplicit-function-declaration]
 #define VMFGTVF_FLOAT vmfgt_vf_f32m4_b8
                       ^~~~~~~~~~~~~~~~~
../kernel/riscv64/nrm2_vector.c:44:23: note: in definition of macro 'VMFGTVF_FLOAT'
 #define VMFGTVF_FLOAT vmfgt_vf_f32m4_b8
                       ^~~~~~~~~~~~~~~~~
../kernel/riscv64/imax_vector.c:75:26: warning: implicit declaration of function 'vadd_vx_u32m8_m'; did you mean 'vaddvx_uint8xm8'? [-Wimplicit-function-declaration]
 #define VADDVX_MASK_UINT vadd_vx_u32m8_m
                          ^~~~~~~~~~~~~~~
../kernel/riscv64/imax_vector.c:75:26: note: in definition of macro 'VADDVX_MASK_UINT'
 #define VADDVX_MASK_UINT vadd_vx_u32m8_m
                          ^~~~~~~~~~~~~~~
../kernel/riscv64/asum_vector.c:38:26: warning: implicit declaration of function 'vfredsum_vs_f32m8_f32m1'; did you mean 'vfredsumvs_float32xm1'? [-Wimplicit-function-declaration]
 #define VFREDSUMVS_FLOAT vfredsum_vs_f32m8_f32m1
                          ^~~~~~~~~~~~~~~~~~~~~~~
../kernel/riscv64/asum_vector.c:38:26: note: in definition of macro 'VFREDSUMVS_FLOAT'
 #define VFREDSUMVS_FLOAT vfredsum_vs_f32m8_f32m1
                          ^~~~~~~~~~~~~~~~~~~~~~~
../kernel/riscv64/asum_vector.c:92:39: error: subscripted value is neither array nor pointer nor vector
                         asumf += v_res[0];
                                       ^
../kernel/riscv64/asum_vector.c:100:39: error: subscripted value is neither array nor pointer nor vector
                         asumf += v_res[0];
                                       ^
../kernel/riscv64/nrm2_vector.c:45:18: warning: implicit declaration of function 'vmfirst_m_b8'; did you mean 'vmfirstm_e8xm8'? [-Wimplicit-function-declaration]
 #define VMFIRSTM vmfirst_m_b8
                  ^~~~~~~~~~~~
../kernel/riscv64/nrm2_vector.c:45:18: note: in definition of macro 'VMFIRSTM'
 #define VMFIRSTM vmfirst_m_b8
                  ^~~~~~~~~~~~
../kernel/riscv64/iamax_vector.c:78:26: warning: implicit declaration of function 'vadd_vx_u32m8_m'; did you mean 'vaddvx_uint8xm8'? [-Wimplicit-function-declaration]
 #define VADDVX_MASK_UINT vadd_vx_u32m8_m
                          ^~~~~~~~~~~~~~~
../kernel/riscv64/iamax_vector.c:78:26: note: in definition of macro 'VADDVX_MASK_UINT'
 #define VADDVX_MASK_UINT vadd_vx_u32m8_m
                          ^~~~~~~~~~~~~~~
Makefile.L1:556: recipe for target 'samax_k.o' failed
make[5]: *** [samax_k.o] Error 1
../kernel/riscv64/iamin_vector.c:68:23: warning: implicit declaration of function 'vmflt_vf_f32m8_b4' [-Wimplicit-function-declaration]
 #define VMFLTVF_FLOAT vmflt_vf_f32m8_b4
                       ^~~~~~~~~~~~~~~~~
../kernel/riscv64/iamin_vector.c:68:23: note: in definition of macro 'VMFLTVF_FLOAT'
 #define VMFLTVF_FLOAT vmflt_vf_f32m8_b4
                       ^~~~~~~~~~~~~~~~~
../kernel/riscv64/dot_vector.c:36:24: warning: implicit declaration of function 'vfredsum_vs_f32m4_f32m1'; did you mean 'vfredsumvs_float32xm1'? [-Wimplicit-function-declaration]
 #define VFREDSUM_FLOAT vfredsum_vs_f32m4_f32m1
                        ^~~~~~~~~~~~~~~~~~~~~~~
../kernel/riscv64/dot_vector.c:36:24: note: in definition of macro 'VFREDSUM_FLOAT'
 #define VFREDSUM_FLOAT vfredsum_vs_f32m4_f32m1
                        ^~~~~~~~~~~~~~~~~~~~~~~
../kernel/riscv64/dot_vector.c:84:37: error: subscripted value is neither array nor pointer nor vector
                         dot += v_res[0];
                                     ^
../kernel/riscv64/imin_vector.c:66:23: warning: implicit declaration of function 'vmflt_vv_f32m8_b4' [-Wimplicit-function-declaration]
 #define VMFLTVV_FLOAT vmflt_vv_f32m8_b4
                       ^~~~~~~~~~~~~~~~~
../kernel/riscv64/imin_vector.c:66:23: note: in definition of macro 'VMFLTVV_FLOAT'
 #define VMFLTVV_FLOAT vmflt_vv_f32m8_b4
                       ^~~~~~~~~~~~~~~~~
../kernel/riscv64/min_vector.c:38:26: warning: implicit declaration of function 'vfredmin_vs_f32m8_f32m1'; did you mean 'vfredminvs_float32xm1'? [-Wimplicit-function-declaration]
 #define VFREDMINVS_FLOAT vfredmin_vs_f32m8_f32m1
                          ^~~~~~~~~~~~~~~~~~~~~~~
../kernel/riscv64/min_vector.c:38:26: note: in definition of macro 'VFREDMINVS_FLOAT'
 #define VFREDMINVS_FLOAT vfredmin_vs_f32m8_f32m1
                          ^~~~~~~~~~~~~~~~~~~~~~~
../kernel/riscv64/min_vector.c:80:37: error: subscripted value is neither array nor pointer nor vector
                         minf = v_res[0];
                                     ^
../kernel/riscv64/min_vector.c:86:33: error: subscripted value is neither array nor pointer nor vector
                         if(v_res[0] < minf)
                                 ^
../kernel/riscv64/min_vector.c:87:45: error: subscripted value is neither array nor pointer nor vector
                                 minf = v_res[0];
                                             ^
../kernel/riscv64/dot_vector.c:32:19: error: unknown type name 'vfloat32m4_t'; did you mean 'float32xm4_t'?
 #define FLOAT_V_T vfloat32m4_t
                   ^~~~~~~~~~~~
../kernel/riscv64/dot_vector.c:32:19: note: in definition of macro 'FLOAT_V_T'
 #define FLOAT_V_T vfloat32m4_t
                   ^~~~~~~~~~~~
../kernel/riscv64/dot_vector.c:95:37: error: subscripted value is neither array nor pointer nor vector
                         dot += v_res[0];
                                     ^
../kernel/riscv64/dot_vector.c:36:24: warning: implicit declaration of function 'vfredsum_vs_f32m4_f32m1'; did you mean 'vfredsumvs_float32xm1'? [-Wimplicit-function-declaration]
 #define VFREDSUM_FLOAT vfredsum_vs_f32m4_f32m1
                        ^~~~~~~~~~~~~~~~~~~~~~~
../kernel/riscv64/dot_vector.c:36:24: note: in definition of macro 'VFREDSUM_FLOAT'
 #define VFREDSUM_FLOAT vfredsum_vs_f32m4_f32m1
                        ^~~~~~~~~~~~~~~~~~~~~~~
../kernel/riscv64/dot_vector.c:84:37: error: subscripted value is neither array nor pointer nor vector
                         dot += v_res[0];
                                     ^
../kernel/riscv64/imax_vector.c:69:23: warning: implicit declaration of function 'vfmax_vv_f32m8'; did you mean 'vfmaxvv_float32xm8'? [-Wimplicit-function-declaration]
 #define VFMAXVV_FLOAT vfmax_vv_f32m8
                       ^~~~~~~~~~~~~~
../kernel/riscv64/imax_vector.c:69:23: note: in definition of macro 'VFMAXVV_FLOAT'
 #define VFMAXVV_FLOAT vfmax_vv_f32m8
                       ^~~~~~~~~~~~~~
../kernel/riscv64/asum_vector.c:37:21: warning: implicit declaration of function 'vlse_v_f32m8'; did you mean 'vlsev_int32xm8'? [-Wimplicit-function-declaration]
 #define VLSEV_FLOAT vlse_v_f32m8
                     ^~~~~~~~~~~~
../kernel/riscv64/asum_vector.c:37:21: note: in definition of macro 'VLSEV_FLOAT'
 #define VLSEV_FLOAT vlse_v_f32m8
                     ^~~~~~~~~~~~
../kernel/riscv64/asum_vector.c:124:39: error: subscripted value is neither array nor pointer nor vector
                         asumf += v_res[0];
                                       ^
../kernel/riscv64/asum_vector.c:132:39: error: subscripted value is neither array nor pointer nor vector
                         asumf += v_res[0];
                                       ^
../kernel/riscv64/asum_vector.c:67:27: warning: variable 'v_zero' set but not used [-Wunused-but-set-variable]
         FLOAT_V_T v0, v1, v_zero,v_sum;
                           ^~~~~~
Makefile.L1:596: recipe for target 'smax_k.o' failed
make[5]: *** [smax_k.o] Error 1
../kernel/riscv64/dot_vector.c:32:19: error: unknown type name 'vfloat32m4_t'; did you mean 'float32xm4_t'?
 #define FLOAT_V_T vfloat32m4_t
                   ^~~~~~~~~~~~
../kernel/riscv64/dot_vector.c:32:19: note: in definition of macro 'FLOAT_V_T'
 #define FLOAT_V_T vfloat32m4_t
                   ^~~~~~~~~~~~
../kernel/riscv64/dot_vector.c:95:37: error: subscripted value is neither array nor pointer nor vector
                         dot += v_res[0];
                                     ^
../kernel/riscv64/nrm2_vector.c:46:23: warning: implicit declaration of function 'vfdiv_vf_f32m4'; did you mean 'vfdivvf_float32xm4'? [-Wimplicit-function-declaration]
 #define VFDIVVF_FLOAT vfdiv_vf_f32m4
                       ^~~~~~~~~~~~~~
../kernel/riscv64/nrm2_vector.c:46:23: note: in definition of macro 'VFDIVVF_FLOAT'
 #define VFDIVVF_FLOAT vfdiv_vf_f32m4
                       ^~~~~~~~~~~~~~
../kernel/riscv64/iamax_vector.c:72:23: warning: implicit declaration of function 'vfmax_vv_f32m8'; did you mean 'vfmaxvv_float32xm8'? [-Wimplicit-function-declaration]
 #define VFMAXVV_FLOAT vfmax_vv_f32m8
                       ^~~~~~~~~~~~~~
../kernel/riscv64/iamax_vector.c:72:23: note: in definition of macro 'VFMAXVV_FLOAT'
 #define VFMAXVV_FLOAT vfmax_vv_f32m8
                       ^~~~~~~~~~~~~~
../kernel/riscv64/amin_vector.c:39:26: warning: implicit declaration of function 'vfredmin_vs_f32m8_f32m1'; did you mean 'vfredminvs_float32xm1'? [-Wimplicit-function-declaration]
 #define VFREDMINVS_FLOAT vfredmin_vs_f32m8_f32m1
                          ^~~~~~~~~~~~~~~~~~~~~~~
../kernel/riscv64/amin_vector.c:39:26: note: in definition of macro 'VFREDMINVS_FLOAT'
 #define VFREDMINVS_FLOAT vfredmin_vs_f32m8_f32m1
                          ^~~~~~~~~~~~~~~~~~~~~~~
../kernel/riscv64/dot_vector.c:35:21: warning: implicit declaration of function 'vlse_v_f32m4'; did you mean 'vlsev_int32xm4'? [-Wimplicit-function-declaration]
 #define VLSEV_FLOAT vlse_v_f32m4
                     ^~~~~~~~~~~~
../kernel/riscv64/dot_vector.c:35:21: note: in definition of macro 'VLSEV_FLOAT'
 #define VLSEV_FLOAT vlse_v_f32m4
                     ^~~~~~~~~~~~
../kernel/riscv64/amin_vector.c:132:37: error: subscripted value is neither array nor pointer nor vector
                         minf = v_res[0];
                                     ^
../kernel/riscv64/dot_vector.c:109:37: error: subscripted value is neither array nor pointer nor vector
                         dot += v_res[0];
                                     ^
../kernel/riscv64/amin_vector.c:159:33: error: subscripted value is neither array nor pointer nor vector
                         if(v_res[0] < minf)
                                 ^
../kernel/riscv64/amin_vector.c:160:45: error: subscripted value is neither array nor pointer nor vector
                                 minf = v_res[0];
                                             ^
../kernel/riscv64/min_vector.c:37:21: warning: implicit declaration of function 'vlse_v_f32m8'; did you mean 'vlsev_int32xm8'? [-Wimplicit-function-declaration]
 #define VLSEV_FLOAT vlse_v_f32m8
                     ^~~~~~~~~~~~
../kernel/riscv64/min_vector.c:37:21: note: in definition of macro 'VLSEV_FLOAT'
 #define VLSEV_FLOAT vlse_v_f32m8
                     ^~~~~~~~~~~~
../kernel/riscv64/min_vector.c:106:37: error: subscripted value is neither array nor pointer nor vector
                         minf = v_res[0];
                                     ^
../kernel/riscv64/min_vector.c:112:33: error: subscripted value is neither array nor pointer nor vector
                         if(v_res[0] < minf)
                                 ^
../kernel/riscv64/min_vector.c:113:45: error: subscripted value is neither array nor pointer nor vector
                                 minf = v_res[0];
                                             ^
../kernel/riscv64/imin_vector.c:73:24: warning: implicit declaration of function 'vid_v_u32m8_m'; did you mean 'vidv_uint8xm8'? [-Wimplicit-function-declaration]
 #define VIDV_MASK_UINT vid_v_u32m8_m
                        ^~~~~~~~~~~~~
../kernel/riscv64/imin_vector.c:73:24: note: in definition of macro 'VIDV_MASK_UINT'
 #define VIDV_MASK_UINT vid_v_u32m8_m
                        ^~~~~~~~~~~~~
Makefile.L1:798: recipe for target 'sdsdot_k.o' failed
make[5]: *** [sdsdot_k.o] Error 1
../kernel/riscv64/dot_vector.c:32:19: error: unknown type name 'vfloat32m4_t'; did you mean 'float32xm4_t'?
 #define FLOAT_V_T vfloat32m4_t
                   ^~~~~~~~~~~~
../kernel/riscv64/dot_vector.c:32:19: note: in definition of macro 'FLOAT_V_T'
 #define FLOAT_V_T vfloat32m4_t
                   ^~~~~~~~~~~~
../kernel/riscv64/dot_vector.c:120:37: error: subscripted value is neither array nor pointer nor vector
                         dot += v_res[0];
                                     ^
../kernel/riscv64/dot_vector.c:134:37: error: subscripted value is neither array nor pointer nor vector
                         dot += v_res[0];
                                     ^
../kernel/riscv64/dot_vector.c:35:21: warning: implicit declaration of function 'vlse_v_f32m4'; did you mean 'vlsev_int32xm4'? [-Wimplicit-function-declaration]
 #define VLSEV_FLOAT vlse_v_f32m4
                     ^~~~~~~~~~~~
../kernel/riscv64/dot_vector.c:35:21: note: in definition of macro 'VLSEV_FLOAT'
 #define VLSEV_FLOAT vlse_v_f32m4
                     ^~~~~~~~~~~~
../kernel/riscv64/dot_vector.c:109:37: error: subscripted value is neither array nor pointer nor vector
                         dot += v_res[0];
                                     ^
../kernel/riscv64/iamin_vector.c:72:29: warning: implicit declaration of function 'vfrsub_vf_f32m8_m'; did you mean 'vfrsubvf_float32xm8'? [-Wimplicit-function-declaration]
 #define VFRSUBVF_MASK_FLOAT vfrsub_vf_f32m8_m
                             ^~~~~~~~~~~~~~~~~
../kernel/riscv64/iamin_vector.c:72:29: note: in definition of macro 'VFRSUBVF_MASK_FLOAT'
 #define VFRSUBVF_MASK_FLOAT vfrsub_vf_f32m8_m
                             ^~~~~~~~~~~~~~~~~
../kernel/riscv64/dot_vector.c:32:19: error: unknown type name 'vfloat32m4_t'; did you mean 'float32xm4_t'?
 #define FLOAT_V_T vfloat32m4_t
                   ^~~~~~~~~~~~
../kernel/riscv64/dot_vector.c:32:19: note: in definition of macro 'FLOAT_V_T'
 #define FLOAT_V_T vfloat32m4_t
                   ^~~~~~~~~~~~
../kernel/riscv64/dot_vector.c:145:37: error: subscripted value is neither array nor pointer nor vector
                         dot += v_res[0];
                                     ^
../kernel/riscv64/amin_vector.c:38:21: warning: implicit declaration of function 'vlse_v_f32m8'; did you mean 'vlsev_int32xm8'? [-Wimplicit-function-declaration]
 #define VLSEV_FLOAT vlse_v_f32m8
                     ^~~~~~~~~~~~
../kernel/riscv64/amin_vector.c:38:21: note: in definition of macro 'VLSEV_FLOAT'
 #define VLSEV_FLOAT vlse_v_f32m8
                     ^~~~~~~~~~~~
../kernel/riscv64/dot_vector.c:160:37: error: subscripted value is neither array nor pointer nor vector
                         dot += v_res[0];
                                     ^
../kernel/riscv64/amin_vector.c:222:37: error: subscripted value is neither array nor pointer nor vector
                         minf = v_res[0];
                                     ^
../kernel/riscv64/dot_vector.c:32:19: error: unknown type name 'vfloat32m4_t'; did you mean 'float32xm4_t'?
 #define FLOAT_V_T vfloat32m4_t
                   ^~~~~~~~~~~~
../kernel/riscv64/dot_vector.c:32:19: note: in definition of macro 'FLOAT_V_T'
 #define FLOAT_V_T vfloat32m4_t
                   ^~~~~~~~~~~~
../kernel/riscv64/dot_vector.c:120:37: error: subscripted value is neither array nor pointer nor vector
                         dot += v_res[0];
                                     ^
../kernel/riscv64/amin_vector.c:249:33: error: subscripted value is neither array nor pointer nor vector
                         if(v_res[0] < minf)
                                 ^
../kernel/riscv64/amin_vector.c:250:45: error: subscripted value is neither array nor pointer nor vector
                                 minf = v_res[0];
                                             ^
../kernel/riscv64/dot_vector.c:134:37: error: subscripted value is neither array nor pointer nor vector
                         dot += v_res[0];
                                     ^
../kernel/riscv64/nrm2_vector.c:37:24: warning: implicit declaration of function 'vfmacc_vv_f32m4'; did you mean 'vfmaccvv_float32xm4'? [-Wimplicit-function-declaration]
 #define VFMACCVV_FLOAT vfmacc_vv_f32m4
                        ^~~~~~~~~~~~~~~
../kernel/riscv64/nrm2_vector.c:37:24: note: in definition of macro 'VFMACCVV_FLOAT'
 #define VFMACCVV_FLOAT vfmacc_vv_f32m4
                        ^~~~~~~~~~~~~~~
../kernel/riscv64/dot_vector.c:32:19: error: unknown type name 'vfloat32m4_t'; did you mean 'float32xm4_t'?
 #define FLOAT_V_T vfloat32m4_t
                   ^~~~~~~~~~~~
../kernel/riscv64/dot_vector.c:32:19: note: in definition of macro 'FLOAT_V_T'
 #define FLOAT_V_T vfloat32m4_t
                   ^~~~~~~~~~~~
../kernel/riscv64/dot_vector.c:32:19: error: unknown type name 'vfloat32m4_t'; did you mean 'float32xm4_t'?
 #define FLOAT_V_T vfloat32m4_t
                   ^~~~~~~~~~~~
../kernel/riscv64/dot_vector.c:32:19: note: in definition of macro 'FLOAT_V_T'
 #define FLOAT_V_T vfloat32m4_t
                   ^~~~~~~~~~~~
../kernel/riscv64/dot_vector.c:171:37: error: subscripted value is neither array nor pointer nor vector
                         dot += v_res[0];
                                     ^
../kernel/riscv64/dot_vector.c:145:37: error: subscripted value is neither array nor pointer nor vector
                         dot += v_res[0];
                                     ^
../kernel/riscv64/dot_vector.c:160:37: error: subscripted value is neither array nor pointer nor vector
                         dot += v_res[0];
                                     ^
../kernel/riscv64/dot_vector.c:32:19: error: unknown type name 'vfloat32m4_t'; did you mean 'float32xm4_t'?
 #define FLOAT_V_T vfloat32m4_t
                   ^~~~~~~~~~~~
../kernel/riscv64/dot_vector.c:32:19: note: in definition of macro 'FLOAT_V_T'
 #define FLOAT_V_T vfloat32m4_t
                   ^~~~~~~~~~~~
../kernel/riscv64/imin_vector.c:75:26: warning: implicit declaration of function 'vadd_vx_u32m8_m'; did you mean 'vaddvx_uint8xm8'? [-Wimplicit-function-declaration]
 #define VADDVX_MASK_UINT vadd_vx_u32m8_m
                          ^~~~~~~~~~~~~~~
../kernel/riscv64/imin_vector.c:75:26: note: in definition of macro 'VADDVX_MASK_UINT'
 #define VADDVX_MASK_UINT vadd_vx_u32m8_m
                          ^~~~~~~~~~~~~~~
../kernel/riscv64/dot_vector.c:171:37: error: subscripted value is neither array nor pointer nor vector
                         dot += v_res[0];
                                     ^
Makefile.L1:680: recipe for target 'sasum_k.o' failed
make[5]: *** [sasum_k.o] Error 1
../kernel/riscv64/imax_vector.c:64:26: warning: implicit declaration of function 'vfredmax_vs_f32m8_f32m1'; did you mean 'vfredmaxvs_float32xm1'? [-Wimplicit-function-declaration]
 #define VFREDMAXVS_FLOAT vfredmax_vs_f32m8_f32m1
                          ^~~~~~~~~~~~~~~~~~~~~~~
../kernel/riscv64/imax_vector.c:64:26: note: in definition of macro 'VFREDMAXVS_FLOAT'
 #define VFREDMAXVS_FLOAT vfredmax_vs_f32m8_f32m1
                          ^~~~~~~~~~~~~~~~~~~~~~~
../kernel/riscv64/imax_vector.c:114:29: error: subscripted value is neither array nor pointer nor vector
                 maxf = v_res[0];
                             ^
Makefile.L1:607: recipe for target 'smin_k.o' failed
make[5]: *** [smin_k.o] Error 1
../kernel/riscv64/iamax_vector.c:65:26: warning: implicit declaration of function 'vfredmax_vs_f32m8_f32m1'; did you mean 'vfredmaxvs_float32xm1'? [-Wimplicit-function-declaration]
 #define VFREDMAXVS_FLOAT vfredmax_vs_f32m8_f32m1
                          ^~~~~~~~~~~~~~~~~~~~~~~
../kernel/riscv64/iamax_vector.c:65:26: note: in definition of macro 'VFREDMAXVS_FLOAT'
 #define VFREDMAXVS_FLOAT vfredmax_vs_f32m8_f32m1
                          ^~~~~~~~~~~~~~~~~~~~~~~
../kernel/riscv64/iamax_vector.c:120:29: error: subscripted value is neither array nor pointer nor vector
                 maxf = v_res[0];
                             ^
../kernel/riscv64/imin_vector.c:69:23: warning: implicit declaration of function 'vfmin_vv_f32m8'; did you mean 'vfminvv_float32xm8'? [-Wimplicit-function-declaration]
 #define VFMINVV_FLOAT vfmin_vv_f32m8
                       ^~~~~~~~~~~~~~
../kernel/riscv64/imin_vector.c:69:23: note: in definition of macro 'VFMINVV_FLOAT'
 #define VFMINVV_FLOAT vfmin_vv_f32m8
                       ^~~~~~~~~~~~~~
../kernel/riscv64/iamin_vector.c:69:23: warning: implicit declaration of function 'vmflt_vv_f32m8_b4' [-Wimplicit-function-declaration]
 #define VMFLTVV_FLOAT vmflt_vv_f32m8_b4
                       ^~~~~~~~~~~~~~~~~
../kernel/riscv64/iamin_vector.c:69:23: note: in definition of macro 'VMFLTVV_FLOAT'
 #define VMFLTVV_FLOAT vmflt_vv_f32m8_b4
                       ^~~~~~~~~~~~~~~~~
Makefile.L1:576: recipe for target 'samin_k.o' failed
make[5]: *** [samin_k.o] Error 1
../kernel/riscv64/iamin_vector.c:77:24: warning: implicit declaration of function 'vid_v_u32m8_m'; did you mean 'vidv_uint8xm8'? [-Wimplicit-function-declaration]
 #define VIDV_MASK_UINT vid_v_u32m8_m
                        ^~~~~~~~~~~~~
../kernel/riscv64/iamin_vector.c:77:24: note: in definition of macro 'VIDV_MASK_UINT'
 #define VIDV_MASK_UINT vid_v_u32m8_m
                        ^~~~~~~~~~~~~
Makefile.L1:795: recipe for target 'dsdot_k.o' failed
make[5]: *** [dsdot_k.o] Error 1
../kernel/riscv64/nrm2_vector.c:36:24: warning: implicit declaration of function 'vfredsum_vs_f32m4_f32m1'; did you mean 'vfredsumvs_float32xm1'? [-Wimplicit-function-declaration]
 #define VFREDSUM_FLOAT vfredsum_vs_f32m4_f32m1
                        ^~~~~~~~~~~~~~~~~~~~~~~
../kernel/riscv64/nrm2_vector.c:36:24: note: in definition of macro 'VFREDSUM_FLOAT'
 #define VFREDSUM_FLOAT vfredsum_vs_f32m4_f32m1
                        ^~~~~~~~~~~~~~~~~~~~~~~
../kernel/riscv64/nrm2_vector.c:109:45: error: subscripted value is neither array nor pointer nor vector
                                 ssq += v_res[0];
                                             ^
Makefile.L1:782: recipe for target 'sdot_k.o' failed
make[5]: *** [sdot_k.o] Error 1
../kernel/riscv64/imax_vector.c:70:23: warning: implicit declaration of function 'vmfge_vf_f32m8_b4' [-Wimplicit-function-declaration]
 #define VMFGEVF_FLOAT vmfge_vf_f32m8_b4
                       ^~~~~~~~~~~~~~~~~
../kernel/riscv64/imax_vector.c:70:23: note: in definition of macro 'VMFGEVF_FLOAT'
 #define VMFGEVF_FLOAT vmfge_vf_f32m8_b4
                       ^~~~~~~~~~~~~~~~~
../kernel/riscv64/imax_vector.c:71:18: warning: implicit declaration of function 'vmfirst_m_b4'; did you mean 'vmfirstm_e8xm4'? [-Wimplicit-function-declaration]
 #define VMFIRSTM vmfirst_m_b4
                  ^~~~~~~~~~~~
../kernel/riscv64/imax_vector.c:71:18: note: in definition of macro 'VMFIRSTM'
 #define VMFIRSTM vmfirst_m_b4
                  ^~~~~~~~~~~~
../kernel/riscv64/imax_vector.c:117:40: error: subscripted value is neither array nor pointer nor vector
                 max_index = v_max_index[max_index];
                                        ^
../kernel/riscv64/imax_vector.c:124:47: error: subscripted value is neither array nor pointer nor vector
                         FLOAT cur_maxf = v_res[0];
                                               ^
../kernel/riscv64/iamax_vector.c:73:23: warning: implicit declaration of function 'vmfge_vf_f32m8_b4' [-Wimplicit-function-declaration]
 #define VMFGEVF_FLOAT vmfge_vf_f32m8_b4
                       ^~~~~~~~~~~~~~~~~
../kernel/riscv64/iamax_vector.c:73:23: note: in definition of macro 'VMFGEVF_FLOAT'
 #define VMFGEVF_FLOAT vmfge_vf_f32m8_b4
                       ^~~~~~~~~~~~~~~~~
../kernel/riscv64/imin_vector.c:64:26: warning: implicit declaration of function 'vfredmin_vs_f32m8_f32m1'; did you mean 'vfredminvs_float32xm1'? [-Wimplicit-function-declaration]
 #define VFREDMINVS_FLOAT vfredmin_vs_f32m8_f32m1
                          ^~~~~~~~~~~~~~~~~~~~~~~
../kernel/riscv64/imin_vector.c:64:26: note: in definition of macro 'VFREDMINVS_FLOAT'
 #define VFREDMINVS_FLOAT vfredmin_vs_f32m8_f32m1
                          ^~~~~~~~~~~~~~~~~~~~~~~
../kernel/riscv64/imin_vector.c:132:29: error: subscripted value is neither array nor pointer nor vector
                 minf = v_res[0];
                             ^
../kernel/riscv64/iamin_vector.c:79:26: warning: implicit declaration of function 'vadd_vx_u32m8_m'; did you mean 'vaddvx_uint8xm8'? [-Wimplicit-function-declaration]
 #define VADDVX_MASK_UINT vadd_vx_u32m8_m
                          ^~~~~~~~~~~~~~~
../kernel/riscv64/iamin_vector.c:79:26: note: in definition of macro 'VADDVX_MASK_UINT'
 #define VADDVX_MASK_UINT vadd_vx_u32m8_m
                          ^~~~~~~~~~~~~~~
../kernel/riscv64/imax_vector.c:74:19: warning: implicit declaration of function 'vid_v_u32m8'; did you mean 'vidv_uint32xm8'? [-Wimplicit-function-declaration]
 #define VIDV_UINT vid_v_u32m8
                   ^~~~~~~~~~~
../kernel/riscv64/imax_vector.c:74:19: note: in definition of macro 'VIDV_UINT'
 #define VIDV_UINT vid_v_u32m8
                   ^~~~~~~~~~~
../kernel/riscv64/iamax_vector.c:74:18: warning: implicit declaration of function 'vmfirst_m_b4'; did you mean 'vmfirstm_e8xm4'? [-Wimplicit-function-declaration]
 #define VMFIRSTM vmfirst_m_b4
                  ^~~~~~~~~~~~
../kernel/riscv64/iamax_vector.c:74:18: note: in definition of macro 'VMFIRSTM'
 #define VMFIRSTM vmfirst_m_b4
                  ^~~~~~~~~~~~
../kernel/riscv64/iamax_vector.c:123:40: error: subscripted value is neither array nor pointer nor vector
                 max_index = v_max_index[max_index];
                                        ^
../kernel/riscv64/iamax_vector.c:133:47: error: subscripted value is neither array nor pointer nor vector
                         FLOAT cur_maxf = v_res[0];
                                               ^
../kernel/riscv64/imax_vector.c:76:21: warning: implicit declaration of function 'vadd_vx_u32m8'; did you mean 'vaddvx_uint32xm8'? [-Wimplicit-function-declaration]
 #define VADDVX_UINT vadd_vx_u32m8
                     ^~~~~~~~~~~~~
../kernel/riscv64/imax_vector.c:76:21: note: in definition of macro 'VADDVX_UINT'
 #define VADDVX_UINT vadd_vx_u32m8
                     ^~~~~~~~~~~~~
../kernel/riscv64/imax_vector.c:132:56: error: subscripted value is neither array nor pointer nor vector
                                 max_index = v_max_index[max_index];
                                                        ^
../kernel/riscv64/iamin_vector.c:73:23: warning: implicit declaration of function 'vfmin_vv_f32m8'; did you mean 'vfminvv_float32xm8'? [-Wimplicit-function-declaration]
 #define VFMINVV_FLOAT vfmin_vv_f32m8
                       ^~~~~~~~~~~~~~
../kernel/riscv64/iamin_vector.c:73:23: note: in definition of macro 'VFMINVV_FLOAT'
 #define VFMINVV_FLOAT vfmin_vv_f32m8
                       ^~~~~~~~~~~~~~
../kernel/riscv64/iamax_vector.c:77:19: warning: implicit declaration of function 'vid_v_u32m8'; did you mean 'vidv_uint32xm8'? [-Wimplicit-function-declaration]
 #define VIDV_UINT vid_v_u32m8
                   ^~~~~~~~~~~
../kernel/riscv64/iamax_vector.c:77:19: note: in definition of macro 'VIDV_UINT'
 #define VIDV_UINT vid_v_u32m8
                   ^~~~~~~~~~~
../kernel/riscv64/nrm2_vector.c:48:26: warning: implicit declaration of function 'vfredmax_vs_f32m4_f32m1'; did you mean 'vfredmaxvs_float32xm1'? [-Wimplicit-function-declaration]
 #define VFREDMAXVS_FLOAT vfredmax_vs_f32m4_f32m1
                          ^~~~~~~~~~~~~~~~~~~~~~~
../kernel/riscv64/nrm2_vector.c:48:26: note: in definition of macro 'VFREDMAXVS_FLOAT'
 #define VFREDMAXVS_FLOAT vfredmax_vs_f32m4_f32m1
                          ^~~~~~~~~~~~~~~~~~~~~~~
../kernel/riscv64/nrm2_vector.c:113:57: error: subscripted value is neither array nor pointer nor vector
                                 ssq = ssq * (scale/v_res[0])*(scale/v_res[0]);
                                                         ^
../kernel/riscv64/nrm2_vector.c:113:74: error: subscripted value is neither array nor pointer nor vector
                                 ssq = ssq * (scale/v_res[0])*(scale/v_res[0]);
                                                                          ^
../kernel/riscv64/nrm2_vector.c:115:46: error: subscripted value is neither array nor pointer nor vector
                                 scale = v_res[0];
                                              ^
../kernel/riscv64/nrm2_vector.c:125:29: error: subscripted value is neither array nor pointer nor vector
                 ssq += v_res[0];
                             ^
../kernel/riscv64/nrm2_vector.c:144:57: error: subscripted value is neither array nor pointer nor vector
                                 ssq = ssq * (scale/v_res[0])*(scale/v_res[0]);
                                                         ^
../kernel/riscv64/nrm2_vector.c:144:74: error: subscripted value is neither array nor pointer nor vector
                                 ssq = ssq * (scale/v_res[0])*(scale/v_res[0]);
                                                                          ^
../kernel/riscv64/nrm2_vector.c:146:46: error: subscripted value is neither array nor pointer nor vector
                                 scale = v_res[0];
                                              ^
../kernel/riscv64/nrm2_vector.c:153:37: error: subscripted value is neither array nor pointer nor vector
                         ssq += v_res[0];
                                     ^
../kernel/riscv64/imax_vector.c:63:21: warning: implicit declaration of function 'vlse_v_f32m8'; did you mean 'vlsev_int32xm8'? [-Wimplicit-function-declaration]
 #define VLSEV_FLOAT vlse_v_f32m8
                     ^~~~~~~~~~~~
../kernel/riscv64/imax_vector.c:63:21: note: in definition of macro 'VLSEV_FLOAT'
 #define VLSEV_FLOAT vlse_v_f32m8
                     ^~~~~~~~~~~~
../kernel/riscv64/imax_vector.c:156:29: error: subscripted value is neither array nor pointer nor vector
                 maxf = v_res[0];
                             ^
../kernel/riscv64/imax_vector.c:159:40: error: subscripted value is neither array nor pointer nor vector
                 max_index = v_max_index[max_index];
                                        ^
../kernel/riscv64/imax_vector.c:166:47: error: subscripted value is neither array nor pointer nor vector
                         FLOAT cur_maxf = v_res[0];
                                               ^
../kernel/riscv64/imax_vector.c:174:56: error: subscripted value is neither array nor pointer nor vector
                                 max_index = v_max_index[max_index];
                                                        ^
../kernel/riscv64/nrm2_vector.c:35:21: warning: implicit declaration of function 'vlse_v_f32m4'; did you mean 'vlsev_int32xm4'? [-Wimplicit-function-declaration]
 #define VLSEV_FLOAT vlse_v_f32m4
                     ^~~~~~~~~~~~
../kernel/riscv64/nrm2_vector.c:35:21: note: in definition of macro 'VLSEV_FLOAT'
 #define VLSEV_FLOAT vlse_v_f32m4
                     ^~~~~~~~~~~~
../kernel/riscv64/nrm2_vector.c:178:45: error: subscripted value is neither array nor pointer nor vector
                                 ssq += v_res[0];
                                             ^
../kernel/riscv64/nrm2_vector.c:182:57: error: subscripted value is neither array nor pointer nor vector
                                 ssq = ssq * (scale/v_res[0])*(scale/v_res[0]);
                                                         ^
../kernel/riscv64/nrm2_vector.c:182:74: error: subscripted value is neither array nor pointer nor vector
                                 ssq = ssq * (scale/v_res[0])*(scale/v_res[0]);
                                                                          ^
../kernel/riscv64/nrm2_vector.c:184:46: error: subscripted value is neither array nor pointer nor vector
                                 scale = v_res[0];
                                              ^
../kernel/riscv64/nrm2_vector.c:195:29: error: subscripted value is neither array nor pointer nor vector
                 ssq += v_res[0];
                             ^
../kernel/riscv64/nrm2_vector.c:214:57: error: subscripted value is neither array nor pointer nor vector
                                 ssq = ssq * (scale/v_res[0])*(scale/v_res[0]);
                                                         ^
../kernel/riscv64/nrm2_vector.c:214:74: error: subscripted value is neither array nor pointer nor vector
                                 ssq = ssq * (scale/v_res[0])*(scale/v_res[0]);
                                                                          ^
../kernel/riscv64/nrm2_vector.c:216:43: error: subscripted value is neither array nor pointer nor vector
                                 scale = vr[0];
                                           ^
../kernel/riscv64/nrm2_vector.c:223:37: error: subscripted value is neither array nor pointer nor vector
                         ssq += v_res[0];
                                     ^
../kernel/riscv64/imin_vector.c:70:23: warning: implicit declaration of function 'vmfle_vf_f32m8_b4' [-Wimplicit-function-declaration]
 #define VMFLEVF_FLOAT vmfle_vf_f32m8_b4
                       ^~~~~~~~~~~~~~~~~
../kernel/riscv64/imin_vector.c:70:23: note: in definition of macro 'VMFLEVF_FLOAT'
 #define VMFLEVF_FLOAT vmfle_vf_f32m8_b4
                       ^~~~~~~~~~~~~~~~~
../kernel/riscv64/iamax_vector.c:79:21: warning: implicit declaration of function 'vadd_vx_u32m8'; did you mean 'vaddvx_uint32xm8'? [-Wimplicit-function-declaration]
 #define VADDVX_UINT vadd_vx_u32m8
                     ^~~~~~~~~~~~~
../kernel/riscv64/iamax_vector.c:79:21: note: in definition of macro 'VADDVX_UINT'
 #define VADDVX_UINT vadd_vx_u32m8
                     ^~~~~~~~~~~~~
../kernel/riscv64/iamax_vector.c:141:56: error: subscripted value is neither array nor pointer nor vector
                                 max_index = v_max_index[max_index];
                                                        ^
../kernel/riscv64/imin_vector.c:71:18: warning: implicit declaration of function 'vmfirst_m_b4'; did you mean 'vmfirstm_e8xm4'? [-Wimplicit-function-declaration]
 #define VMFIRSTM vmfirst_m_b4
                  ^~~~~~~~~~~~
../kernel/riscv64/imin_vector.c:71:18: note: in definition of macro 'VMFIRSTM'
 #define VMFIRSTM vmfirst_m_b4
                  ^~~~~~~~~~~~
../kernel/riscv64/imin_vector.c:135:40: error: subscripted value is neither array nor pointer nor vector
                 min_index = v_min_index[min_index];
                                        ^
../kernel/riscv64/imin_vector.c:142:47: error: subscripted value is neither array nor pointer nor vector
                         FLOAT cur_minf = v_res[0];
                                               ^
../kernel/riscv64/iamax_vector.c:64:21: warning: implicit declaration of function 'vlse_v_f32m8'; did you mean 'vlsev_int32xm8'? [-Wimplicit-function-declaration]
 #define VLSEV_FLOAT vlse_v_f32m8
                     ^~~~~~~~~~~~
../kernel/riscv64/iamax_vector.c:64:21: note: in definition of macro 'VLSEV_FLOAT'
 #define VLSEV_FLOAT vlse_v_f32m8
                     ^~~~~~~~~~~~
../kernel/riscv64/iamax_vector.c:168:29: error: subscripted value is neither array nor pointer nor vector
                 maxf = v_res[0];
                             ^
../kernel/riscv64/iamax_vector.c:171:40: error: subscripted value is neither array nor pointer nor vector
                 max_index = v_max_index[max_index];
                                        ^
../kernel/riscv64/iamax_vector.c:181:47: error: subscripted value is neither array nor pointer nor vector
                         FLOAT cur_maxf = v_res[0];
                                               ^
../kernel/riscv64/iamax_vector.c:189:56: error: subscripted value is neither array nor pointer nor vector
                                 max_index = v_max_index[max_index];
                                                        ^
Makefile.L1:659: recipe for target 'ismax_k.o' failed
make[5]: *** [ismax_k.o] Error 1
../kernel/riscv64/imin_vector.c:74:19: warning: implicit declaration of function 'vid_v_u32m8'; did you mean 'vidv_uint32xm8'? [-Wimplicit-function-declaration]
 #define VIDV_UINT vid_v_u32m8
                   ^~~~~~~~~~~
../kernel/riscv64/imin_vector.c:74:19: note: in definition of macro 'VIDV_UINT'
 #define VIDV_UINT vid_v_u32m8
                   ^~~~~~~~~~~
../kernel/riscv64/iamin_vector.c:66:26: warning: implicit declaration of function 'vfredmin_vs_f32m8_f32m1'; did you mean 'vfredminvs_float32xm1'? [-Wimplicit-function-declaration]
 #define VFREDMINVS_FLOAT vfredmin_vs_f32m8_f32m1
                          ^~~~~~~~~~~~~~~~~~~~~~~
../kernel/riscv64/iamin_vector.c:66:26: note: in definition of macro 'VFREDMINVS_FLOAT'
 #define VFREDMINVS_FLOAT vfredmin_vs_f32m8_f32m1
                          ^~~~~~~~~~~~~~~~~~~~~~~
../kernel/riscv64/iamin_vector.c:121:29: error: subscripted value is neither array nor pointer nor vector
                 minf = v_res[0];
                             ^
Makefile.L1:821: recipe for target 'snrm2_k.o' failed
make[5]: *** [snrm2_k.o] Error 1
../kernel/riscv64/imin_vector.c:76:21: warning: implicit declaration of function 'vadd_vx_u32m8'; did you mean 'vaddvx_uint32xm8'? [-Wimplicit-function-declaration]
 #define VADDVX_UINT vadd_vx_u32m8
                     ^~~~~~~~~~~~~
../kernel/riscv64/imin_vector.c:76:21: note: in definition of macro 'VADDVX_UINT'
 #define VADDVX_UINT vadd_vx_u32m8
                     ^~~~~~~~~~~~~
../kernel/riscv64/imin_vector.c:149:56: error: subscripted value is neither array nor pointer nor vector
                                 min_index = v_min_index[min_index];
                                                        ^
Makefile.L1:619: recipe for target 'isamax_k.o' failed
make[5]: *** [isamax_k.o] Error 1
../kernel/riscv64/imin_vector.c:63:21: warning: implicit declaration of function 'vlse_v_f32m8'; did you mean 'vlsev_int32xm8'? [-Wimplicit-function-declaration]
 #define VLSEV_FLOAT vlse_v_f32m8
                     ^~~~~~~~~~~~
../kernel/riscv64/imin_vector.c:63:21: note: in definition of macro 'VLSEV_FLOAT'
 #define VLSEV_FLOAT vlse_v_f32m8
                     ^~~~~~~~~~~~
../kernel/riscv64/imin_vector.c:193:29: error: subscripted value is neither array nor pointer nor vector
                 minf = v_res[0];
                             ^
../kernel/riscv64/imin_vector.c:196:40: error: subscripted value is neither array nor pointer nor vector
                 min_index = v_min_index[min_index];
                                        ^
../kernel/riscv64/imin_vector.c:203:47: error: subscripted value is neither array nor pointer nor vector
                         FLOAT cur_minf = v_res[0];
                                               ^
../kernel/riscv64/imin_vector.c:210:56: error: subscripted value is neither array nor pointer nor vector
                                 min_index = v_min_index[min_index];
                                                        ^
../kernel/riscv64/iamin_vector.c:74:23: warning: implicit declaration of function 'vmfle_vf_f32m8_b4' [-Wimplicit-function-declaration]
 #define VMFLEVF_FLOAT vmfle_vf_f32m8_b4
                       ^~~~~~~~~~~~~~~~~
../kernel/riscv64/iamin_vector.c:74:23: note: in definition of macro 'VMFLEVF_FLOAT'
 #define VMFLEVF_FLOAT vmfle_vf_f32m8_b4
                       ^~~~~~~~~~~~~~~~~
../kernel/riscv64/iamin_vector.c:75:18: warning: implicit declaration of function 'vmfirst_m_b4'; did you mean 'vmfirstm_e8xm4'? [-Wimplicit-function-declaration]
 #define VMFIRSTM vmfirst_m_b4
                  ^~~~~~~~~~~~
../kernel/riscv64/iamin_vector.c:75:18: note: in definition of macro 'VMFIRSTM'
 #define VMFIRSTM vmfirst_m_b4
                  ^~~~~~~~~~~~
../kernel/riscv64/iamin_vector.c:124:40: error: subscripted value is neither array nor pointer nor vector
                 min_index = v_min_index[min_index];
                                        ^
../kernel/riscv64/iamin_vector.c:134:47: error: subscripted value is neither array nor pointer nor vector
                         FLOAT cur_minf = v_res[0];
                                               ^
Makefile.L1:670: recipe for target 'ismin_k.o' failed
make[5]: *** [ismin_k.o] Error 1
../kernel/riscv64/iamin_vector.c:78:19: warning: implicit declaration of function 'vid_v_u32m8'; did you mean 'vidv_uint32xm8'? [-Wimplicit-function-declaration]
 #define VIDV_UINT vid_v_u32m8
                   ^~~~~~~~~~~
../kernel/riscv64/iamin_vector.c:78:19: note: in definition of macro 'VIDV_UINT'
 #define VIDV_UINT vid_v_u32m8
                   ^~~~~~~~~~~
../kernel/riscv64/iamin_vector.c:80:21: warning: implicit declaration of function 'vadd_vx_u32m8'; did you mean 'vaddvx_uint32xm8'? [-Wimplicit-function-declaration]
 #define VADDVX_UINT vadd_vx_u32m8
                     ^~~~~~~~~~~~~
../kernel/riscv64/iamin_vector.c:80:21: note: in definition of macro 'VADDVX_UINT'
 #define VADDVX_UINT vadd_vx_u32m8
                     ^~~~~~~~~~~~~
../kernel/riscv64/iamin_vector.c:142:56: error: subscripted value is neither array nor pointer nor vector
                                 min_index = v_min_index[min_index];
                                                        ^
../kernel/riscv64/iamin_vector.c:65:21: warning: implicit declaration of function 'vlse_v_f32m8'; did you mean 'vlsev_int32xm8'? [-Wimplicit-function-declaration]
 #define VLSEV_FLOAT vlse_v_f32m8
                     ^~~~~~~~~~~~
../kernel/riscv64/iamin_vector.c:65:21: note: in definition of macro 'VLSEV_FLOAT'
 #define VLSEV_FLOAT vlse_v_f32m8
                     ^~~~~~~~~~~~
../kernel/riscv64/iamin_vector.c:169:29: error: subscripted value is neither array nor pointer nor vector
                 minf = v_res[0];
                             ^
../kernel/riscv64/iamin_vector.c:172:40: error: subscripted value is neither array nor pointer nor vector
                 min_index = v_min_index[min_index];
                                        ^
../kernel/riscv64/iamin_vector.c:182:47: error: subscripted value is neither array nor pointer nor vector
                         FLOAT cur_minf = v_res[0];
                                               ^
../kernel/riscv64/iamin_vector.c:190:56: error: subscripted value is neither array nor pointer nor vector
                                 min_index = v_min_index[min_index];
                                                        ^
Makefile.L1:639: recipe for target 'isamin_k.o' failed
make[5]: *** [isamin_k.o] Error 1
martin-frbg commented 2 years ago

you need a (vendor) build of gcc that supports the risc vector extension, please see #3290

YuzukiTsuru commented 2 years ago

Thanks for your reply.

It seems like the tool of Allwinner Tina BSP doesn't have vecor extension. I will try to compile it separatly.

Using built-in specs.
COLLECT_GCC=/home/yuzuki/WorkSpace/tina-d1-open/prebuilt/gcc/linux-x86/riscv/toolchain-thead-glibc/riscv64-glibc-gcc-thead_20200702/bin/riscv64-unknown-linux-gnu-gcc
COLLECT_LTO_WRAPPER=/home/yuzuki/WorkSpace/tina-d1-open/prebuilt/gcc/linux-x86/riscv/toolchain-thead-glibc/riscv64-glibc-gcc-thead_20200702/bin/../libexec/gcc/riscv64-unknown-linux-gnu/8.1.0/lto-wrapper
Target: riscv64-unknown-linux-gnu
Configured with: /ldhome/software/toolsbuild/slave/workspace/riscv64_build_linux_x86_64/build/../source/riscv/riscv-gcc/configure --target=riscv64-unknown-linux-gnu --with-mpc=/ldhome/software/toolsbuild/slave/workspace/riscv64_build_linux_x86_64/lib-for-gcc-x86_64-linux/ --with-mpfr=/ldhome/software/toolsbuild/slave/workspace/riscv64_build_linux_x86_64/lib-for-gcc-x86_64-linux/ --with-gmp=/ldhome/software/toolsbuild/slave/workspace/riscv64_build_linux_x86_64/lib-for-gcc-x86_64-linux/ --prefix=/ldhome/software/toolsbuild/slave/workspace/riscv64_build_linux_x86_64/install --with-sysroot=/ldhome/software/toolsbuild/slave/workspace/riscv64_build_linux_x86_64/install/sysroot --with-system-zlib --enable-shared --enable-tls --enable-languages=c,c++,fortran --disable-libmudflap --disable-libssp --disable-libquadmath --disable-nls --disable-bootstrap --src=../../source/riscv/riscv-gcc --enable-checking=yes --with-pkgversion='C-SKY RISCV Tools V1.8.4 B20200702' --enable-multilib --with-abi=lp64d --with-arch=rv64gcxthead 'CFLAGS_FOR_TARGET=-O2  -mcmodel=medany' 'CXXFLAGS_FOR_TARGET=-O2  -mcmodel=medany' CC=gcc CXX=g++
Thread model: posix
gcc version 8.1.0 (C-SKY RISCV Tools V1.8.4 B20200702)