diff options
Diffstat (limited to '0004-Add-HWCAP2_MOPS-from-Linux-6.5-to-AArch64-bits-hwcap.patch')
-rw-r--r-- | 0004-Add-HWCAP2_MOPS-from-Linux-6.5-to-AArch64-bits-hwcap.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/0004-Add-HWCAP2_MOPS-from-Linux-6.5-to-AArch64-bits-hwcap.patch b/0004-Add-HWCAP2_MOPS-from-Linux-6.5-to-AArch64-bits-hwcap.patch new file mode 100644 index 0000000..2efca3d --- /dev/null +++ b/0004-Add-HWCAP2_MOPS-from-Linux-6.5-to-AArch64-bits-hwcap.patch @@ -0,0 +1,27 @@ +From 5456ff5d80e45741a73cf9fa792d789a1ed17a09 Mon Sep 17 00:00:00 2001 +From: Joseph Myers <joseph@codesourcery.com> +Date: Tue, 17 Oct 2023 13:13:27 +0000 +Subject: [PATCH 04/26] Add HWCAP2_MOPS from Linux 6.5 to AArch64 bits/hwcap.h + +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 | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h b/sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h +index 55c7ed39be..b251c2d417 100644 +--- a/sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h ++++ b/sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h +@@ -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) +-- +2.33.0 + |