]> 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>
Wed, 10 Apr 2024 13:03:07 +0000 (14:03 +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 55c7ed39beac4710ad5492cb60c20a7616729a82..b251c2d4171c9002b5ade74896547b015595a27c 100644 (file)
@@ -98,3 +98,4 @@
 #define HWCAP2_SME_BI32I32     (1UL << 40)
 #define HWCAP2_SME_B16B16      (1UL << 41)
 #define HWCAP2_SME_F16F16      (1UL << 42)
+#define HWCAP2_MOPS            (1UL << 43)