aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2023-05-18 14:55:27 +0000
committerJoseph Myers <joseph@codesourcery.com>2023-05-18 14:55:27 +0000
commit5460fbbfeaabb1ac696eace962bd4bcfd99a78d9 (patch)
tree220fe423854e97eb662504913a34359eef51aee2
parentc93ee967cd688bc6d43c795b48e988075655a67f (diff)
downloadglibc-5460fbbfeaabb1ac696eace962bd4bcfd99a78d9.zip
glibc-5460fbbfeaabb1ac696eace962bd4bcfd99a78d9.tar.gz
glibc-5460fbbfeaabb1ac696eace962bd4bcfd99a78d9.tar.bz2
Add HWCAP2_SME* from Linux 6.3 to AArch64 bits/hwcap.h
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.
-rw-r--r--sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h b/sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h
index 69b2b43..55c7ed3 100644
--- a/sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h
+++ b/sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h
@@ -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)