git: 3a960425df75 - main - arm64: Add more HWCAP values
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 18 Feb 2026 15:57:12 UTC
The branch main has been updated by andrew:
URL: https://cgit.FreeBSD.org/src/commit/?id=3a960425df759a7bb8f946d23f035c63f3a5de7a
commit 3a960425df759a7bb8f946d23f035c63f3a5de7a
Author: Andrew Turner <andrew@FreeBSD.org>
AuthorDate: 2026-02-18 15:28:14 +0000
Commit: Andrew Turner <andrew@FreeBSD.org>
CommitDate: 2026-02-18 15:56:46 +0000
arm64: Add more HWCAP values
Sponsored by: Arm Ltd
Differential Revision: https://reviews.freebsd.org/D55219
---
sys/arm64/include/elf.h | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/sys/arm64/include/elf.h b/sys/arm64/include/elf.h
index 81ee7392f866..a5a90f8c7712 100644
--- a/sys/arm64/include/elf.h
+++ b/sys/arm64/include/elf.h
@@ -135,6 +135,21 @@ __ElfType(Auxinfo);
#define HWCAP_PACA (1 << 30)
#define HWCAP_PACG (1UL << 31)
#define HWCAP_GCS (1UL << 32)
+#define HWCAP_CMPBR (1UL << 33)
+#define HWCAP_FPRCVT (1UL << 34)
+#define HWCAP_F8MM8 (1UL << 35)
+#define HWCAP_F8MM4 (1UL << 36)
+#define HWCAP_SVE_F16MM (1UL << 37)
+#define HWCAP_SVE_ELTPERM (1UL << 38)
+#define HWCAP_SVE_AES2 (1UL << 39)
+#define HWCAP_SVE_BFSCALE (1UL << 40)
+#define HWCAP_SVE2P2 (1UL << 41)
+#define HWCAP_SME2P2 (1UL << 42)
+#define HWCAP_SME_SBITPERM (1UL << 43)
+#define HWCAP_SME_AES (1UL << 44)
+#define HWCAP_SME_SFEXPA (1UL << 45)
+#define HWCAP_SME_STMOP (1UL << 46)
+#define HWCAP_SME_SMOP4 (1UL << 47)
/* HWCAP2 */
#define HWCAP2_DCPODP (1 << 0)
@@ -202,6 +217,12 @@ __ElfType(Auxinfo);
#define HWCAP2_SME_SF8DP2 (1UL << 62)
#define HWCAP2_POE (1UL << 63)
+/* HWCAP3 */
+#define HWCAP3_MTE_FAR (1 << 0)
+#define HWCAP3_MTE_STORE_ONLY (1 << 1)
+#define HWCAP3_LSFE (1 << 2)
+#define HWCAP3_LS64 (1 << 3)
+
#ifdef COMPAT_FREEBSD32
/* ARM HWCAP */
#define HWCAP32_HALF 0x00000002 /* Always set. */