]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Add HWCAP2_SME* from Linux 6.3 to AArch64 bits/hwcap.h
authorJoseph Myers <joseph@codesourcery.com>
Thu, 18 May 2023 14:55:27 +0000 (14:55 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Thu, 18 May 2023 14:55:27 +0000 (14:55 +0000)
Linux 6.3 adds six HWCAP2_SME* constants for AArch64; add them to the
corresponding bits/hwcap.h in glibc.

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

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

index 69b2b431402a77d99683b431af494dbab073b399..55c7ed39beac4710ad5492cb60c20a7616729a82 100644 (file)
@@ -92,3 +92,9 @@
 #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)