Add AArch64 HWCAP2 values from Linux 6.2 to bits/hwcap.h

Message ID c7da482e-8726-e974-6fb6-e15bc179786a@codesourcery.com
State Committed
Commit 59a6d5e9477695c41d6feef7ef8636f8f744f3c5
Headers
Series Add AArch64 HWCAP2 values from Linux 6.2 to bits/hwcap.h |

Checks

Context Check Description
dj/TryBot-apply_patch success Patch applied to master at the time it was sent

Commit Message

Joseph Myers Feb. 25, 2023, 1:45 a.m. UTC
  Linux 6.2 adds three new AArch64 HWCAP2 values; add them to glibc's
AArch64 bits/hwcap.h.

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

Comments

Szabolcs Nagy Feb. 28, 2023, 12:10 p.m. UTC | #1
The 02/25/2023 01:45, Joseph Myers wrote:
> Linux 6.2 adds three new AArch64 HWCAP2 values; add them to glibc's
> AArch64 bits/hwcap.h.
> 
> Tested with build-many-glibcs.py for aarch64-linux-gnu.

This is OK to commit, thanks.

Reviewed-by: Szabolcs Nagy <szabolcs.nagy@arm.com>

> 
> diff --git a/sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h b/sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h
> index bc1b3eaba4..69b2b43140 100644
> --- a/sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h
> +++ b/sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h
> @@ -89,3 +89,6 @@
>  #define HWCAP2_WFXT		(1UL << 31)
>  #define HWCAP2_EBF16		(1UL << 32)
>  #define HWCAP2_SVE_EBF16	(1UL << 33)
> +#define HWCAP2_CSSC		(1UL << 34)
> +#define HWCAP2_RPRFM		(1UL << 35)
> +#define HWCAP2_SVE2P1		(1UL << 36)
> 
> -- 
> Joseph S. Myers
> joseph@codesourcery.com
  

Patch

diff --git a/sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h b/sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h
index bc1b3eaba4..69b2b43140 100644
--- a/sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h
+++ b/sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h
@@ -89,3 +89,6 @@ 
 #define HWCAP2_WFXT		(1UL << 31)
 #define HWCAP2_EBF16		(1UL << 32)
 #define HWCAP2_SVE_EBF16	(1UL << 33)
+#define HWCAP2_CSSC		(1UL << 34)
+#define HWCAP2_RPRFM		(1UL << 35)
+#define HWCAP2_SVE2P1		(1UL << 36)