diff options
Diffstat (limited to 'src/hwf-arm.c')
-rw-r--r-- | src/hwf-arm.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/hwf-arm.c b/src/hwf-arm.c index a0205ee1..0bc2713b 100644 --- a/src/hwf-arm.c +++ b/src/hwf-arm.c @@ -153,6 +153,9 @@ static const struct feature_map_s arm_features[] = #ifndef HWCAP_SHA512 # define HWCAP_SHA512 (1 << 21) #endif +#ifndef HWCAP_SVE +# define HWCAP_SVE (1 << 22) +#endif static const struct feature_map_s arm_features[] = { @@ -169,6 +172,9 @@ static const struct feature_map_s arm_features[] = { HWCAP_SM4, 0, " sm4", HWF_ARM_SM4 }, { HWCAP_SHA512, 0, " sha512", HWF_ARM_SHA512 }, #endif +#ifdef ENABLE_SVE_SUPPORT + { HWCAP_SVE, 0, " sve", HWF_ARM_SVE }, +#endif }; #endif |