18 #ifndef __CORE_FEATURE_VECTOR__
19 #define __CORE_FEATURE_VECTOR__
35 #include "core_feature_base.h"
37 #if defined(__VECTOR_PRESENT) && (__VECTOR_PRESENT == 1)
62 #if defined(__INC_INTRINSIC_API) && (__INC_INTRINSIC_API == 1)
63 #include <riscv_vector.h>
#define MSTATUS_VS_INITIAL
#define __RV_CSR_CLEAR(csr, val)
CSR operation Macro for csrc instruction.
#define __RV_CSR_SET(csr, val)
CSR operation Macro for csrs instruction.
#define __STATIC_FORCEINLINE
Define a static function that should be always inlined by the compiler.
__STATIC_FORCEINLINE void __enable_vector(void)
Enable Vector Unit.
__STATIC_FORCEINLINE void __disable_vector(void)
Disable Vector Unit.