1
0
mirror of https://github.com/google/cpu_features.git synced 2025-07-03 14:13:18 +02:00

Add RISCV vector extension (#289)

Co-authored-by: Michael Roe <michael-roe@users.noreply.github.com>
This commit is contained in:
michael-roe
2023-04-24 14:36:22 +01:00
committed by GitHub
parent 5607a689e0
commit 75ec988188
4 changed files with 28 additions and 0 deletions

View File

@ -214,6 +214,7 @@ CPU_FEATURES_START_CPP_NAMESPACE
#define RISCV_HWCAP_D (1UL << ('D' - 'A'))
#define RISCV_HWCAP_Q (1UL << ('Q' - 'A'))
#define RISCV_HWCAP_C (1UL << ('C' - 'A'))
#define RISCV_HWCAP_V (1UL << ('V' - 'A'))
typedef struct {
unsigned long hwcaps;