1
0
mirror of https://github.com/google/cpu_features.git synced 2025-09-30 07:24:54 +02:00

Update AArch64 features to Linux 6.12.

Change-Id: Ie4e3f6a1e308e81e89f45976e5cba3c0d9bc3039
This commit is contained in:
Peter Tarjan
2025-09-04 12:28:03 +02:00
committed by Mizux Seiha
parent 87584e2b96
commit 822b9a6cea
4 changed files with 7 additions and 1 deletions

View File

@@ -217,6 +217,7 @@ typedef struct {
// (4-way) instructions.
int smesf8dp2 : 1; // SVE2 FP8 to half-precision 2-way dot product FDOT
// (2-way) instructions.
int poe : 1; // Stage 1 Permission Overlay.
// Make sure to update Aarch64FeaturesEnum below if you add a field here.
} Aarch64Features;
@@ -331,6 +332,7 @@ typedef enum {
AARCH64_SME_SF8FMA,
AARCH64_SME_SF8DP4,
AARCH64_SME_SF8DP2,
AARCH64_POE,
AARCH64_LAST_,
} Aarch64FeaturesEnum;

View File

@@ -124,6 +124,7 @@ CPU_FEATURES_START_CPP_NAMESPACE
#define AARCH64_HWCAP2_SME_SF8FMA (1UL << 60)
#define AARCH64_HWCAP2_SME_SF8DP4 (1UL << 61)
#define AARCH64_HWCAP2_SME_SF8DP2 (1UL << 62)
#define AARCH64_HWCAP2_POE (1UL << 63)
// http://elixir.free-electrons.com/linux/latest/source/arch/arm/include/uapi/asm/hwcap.h
#define ARM_HWCAP_SWP (1UL << 0)