Handle and detect SVE2 CPU features.
Change-Id: I1cdc8e98c2f99e18009e5c2fc12d33249be11adc
diff --git a/src/cpu-features.h b/src/cpu-features.h
index 1b0f2c2..b947466 100644
--- a/src/cpu-features.h
+++ b/src/cpu-features.h
@@ -170,7 +170,14 @@
V(kPAuthEnhancedPAC, "PAuth EnhancedPAC", NULL) \
V(kPAuthEnhancedPAC2, "PAuth EnhancedPAC2", NULL) \
V(kPAuthFPAC, "PAuth FPAC", NULL) \
- V(kPAuthFPACCombined, "PAuth FPACCombined", NULL)
+ V(kPAuthFPACCombined, "PAuth FPACCombined", NULL) \
+ /* Scalable Vector Extension 2. */ \
+ V(kSVE2, "SVE2", "sve2") \
+ V(kSVESM4, "SVE SM4", "svesm4") \
+ V(kSVESHA3, "SVE SHA3", "svesha3") \
+ V(kSVEBitPerm, "SVE BitPerm", "svebitperm") \
+ V(kSVEAES, "SVE AES", "sveaes") \
+ V(kSVEPmull128, "SVE Pmull128", "svepmull")
// clang-format on