public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* Add HWCAP2_SME* from Linux 6.3 to AArch64 bits/hwcap.h
@ 2023-05-17 21:05 Joseph Myers
  2023-05-18 10:17 ` Szabolcs Nagy
  0 siblings, 1 reply; 2+ messages in thread
From: Joseph Myers @ 2023-05-17 21:05 UTC (permalink / raw)
  To: libc-alpha

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.

diff --git a/sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h b/sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h
index 69b2b43140..55c7ed39be 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)

-- 
Joseph S. Myers
joseph@codesourcery.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Add HWCAP2_SME* from Linux 6.3 to AArch64 bits/hwcap.h
  2023-05-17 21:05 Add HWCAP2_SME* from Linux 6.3 to AArch64 bits/hwcap.h Joseph Myers
@ 2023-05-18 10:17 ` Szabolcs Nagy
  0 siblings, 0 replies; 2+ messages in thread
From: Szabolcs Nagy @ 2023-05-18 10:17 UTC (permalink / raw)
  To: Joseph Myers, libc-alpha

The 05/17/2023 21:05, Joseph Myers wrote:
> 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.

thanks, this looks good.

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 69b2b43140..55c7ed39be 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)
> 
> -- 
> Joseph S. Myers
> joseph@codesourcery.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-05-18 10:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-17 21:05 Add HWCAP2_SME* from Linux 6.3 to AArch64 bits/hwcap.h Joseph Myers
2023-05-18 10:17 ` Szabolcs Nagy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).