]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Add new AArch64 HWCAP2 definitions from Linux 6.9 to bits/hwcap.h
authorJoseph Myers <josmyers@redhat.com>
Tue, 4 Jun 2024 12:25:05 +0000 (12:25 +0000)
committerJoseph Myers <josmyers@redhat.com>
Tue, 4 Jun 2024 12:25:05 +0000 (12:25 +0000)
Linux 6.9 adds 15 new HWCAP2_* values for AArch64; add them to
bits/hwcap.h in glibc.

Tested with build-many-glibcs.py for aarch64-linux-gnu.

sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h

index f82bde5d30781a62e1690f64a7acc2f5cd6bd9e4..8dceaa1a522fd43a954787d7eaa4362d92102c0a 100644 (file)
 #define HWCAP2_SVE_B16B16      (1UL << 45)
 #define HWCAP2_LRCPC3          (1UL << 46)
 #define HWCAP2_LSE128          (1UL << 47)
+#define HWCAP2_FPMR            (1UL << 48)
+#define HWCAP2_LUT             (1UL << 49)
+#define HWCAP2_FAMINMAX                (1UL << 50)
+#define HWCAP2_F8CVT           (1UL << 51)
+#define HWCAP2_F8FMA           (1UL << 52)
+#define HWCAP2_F8DP4           (1UL << 53)
+#define HWCAP2_F8DP2           (1UL << 54)
+#define HWCAP2_F8E4M3          (1UL << 55)
+#define HWCAP2_F8E5M2          (1UL << 56)
+#define HWCAP2_SME_LUTV2       (1UL << 57)
+#define HWCAP2_SME_F8F16       (1UL << 58)
+#define HWCAP2_SME_F8F32       (1UL << 59)
+#define HWCAP2_SME_SF8FMA      (1UL << 60)
+#define HWCAP2_SME_SF8DP4      (1UL << 61)
+#define HWCAP2_SME_SF8DP2      (1UL << 62)