]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Add HWCAP2_MOPS from Linux 6.5 to AArch64 bits/hwcap.h
authorJoseph Myers <joseph@codesourcery.com>
Tue, 17 Oct 2023 13:13:27 +0000 (13:13 +0000)
committerWilco Dijkstra <wilco.dijkstra@arm.com>
Mon, 8 Apr 2024 15:21:42 +0000 (16:21 +0100)
Linux 6.5 adds a new AArch64 HWCAP2 value, HWCAP2_MOPS.  Add it to
glibc's bits/hwcap.h.

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

(cherry picked from commit ff5d2abd18629e0efac41e31699cdff3be0e08fa)

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

index bc1b3eaba4448d702e21f257458100691651dcf0..b251c2d4171c9002b5ade74896547b015595a27c 100644 (file)
 #define HWCAP2_WFXT            (1UL << 31)
 #define HWCAP2_EBF16           (1UL << 32)
 #define HWCAP2_SVE_EBF16       (1UL << 33)
+#define HWCAP2_CSSC            (1UL << 34)
+#define HWCAP2_RPRFM           (1UL << 35)
+#define HWCAP2_SVE2P1          (1UL << 36)
+#define HWCAP2_SME2            (1UL << 37)
+#define HWCAP2_SME2P1          (1UL << 38)
+#define HWCAP2_SME_I16I32      (1UL << 39)
+#define HWCAP2_SME_BI32I32     (1UL << 40)
+#define HWCAP2_SME_B16B16      (1UL << 41)
+#define HWCAP2_SME_F16F16      (1UL << 42)
+#define HWCAP2_MOPS            (1UL << 43)