diff mbox series

Add HWCAP2_MOPS from Linux 6.5 to AArch64 bits/hwcap.h

Message ID cb19f90-b29b-aa23-b78c-288a4696c44@codesourcery.com
State New
Headers show
Series Add HWCAP2_MOPS from Linux 6.5 to AArch64 bits/hwcap.h | expand

Commit Message

Joseph Myers Oct. 16, 2023, 10:43 p.m. UTC
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.

Comments

Szabolcs Nagy Oct. 17, 2023, 11:02 a.m. UTC | #1
The 10/16/2023 22:43, Joseph Myers wrote:
> 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.

ok to commit, thanks.

> 
> 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)
> 
> -- 
> Joseph S. Myers
> joseph@codesourcery.com
diff mbox series

Patch

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)