public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* Add AArch64 HWCAP2_* constants from Linux 5.19
@ 2022-08-17 17:55 Joseph Myers
  2022-08-22 14:55 ` Szabolcs Nagy
  0 siblings, 1 reply; 2+ messages in thread
From: Joseph Myers @ 2022-08-17 17:55 UTC (permalink / raw)
  To: libc-alpha

Linux 5.19 adds more HWCAP2_* values for AArch64; add these to its
bits/hwcap.h header 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 616239bb84..07cb962a7b 100644
--- a/sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h
+++ b/sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h
@@ -78,3 +78,12 @@
 #define HWCAP2_AFP		(1 << 20)
 #define HWCAP2_RPRES		(1 << 21)
 #define HWCAP2_MTE3		(1 << 22)
+#define HWCAP2_SME		(1 << 23)
+#define HWCAP2_SME_I16I64	(1 << 24)
+#define HWCAP2_SME_F64F64	(1 << 25)
+#define HWCAP2_SME_I8I32	(1 << 26)
+#define HWCAP2_SME_F16F32	(1 << 27)
+#define HWCAP2_SME_B16F32	(1 << 28)
+#define HWCAP2_SME_F32F32	(1 << 29)
+#define HWCAP2_SME_FA64		(1 << 30)
+#define HWCAP2_WFXT		(1UL << 31)

-- 
Joseph S. Myers
joseph@codesourcery.com

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

* Re: Add AArch64 HWCAP2_* constants from Linux 5.19
  2022-08-17 17:55 Add AArch64 HWCAP2_* constants from Linux 5.19 Joseph Myers
@ 2022-08-22 14:55 ` Szabolcs Nagy
  0 siblings, 0 replies; 2+ messages in thread
From: Szabolcs Nagy @ 2022-08-22 14:55 UTC (permalink / raw)
  To: Joseph Myers; +Cc: libc-alpha

The 08/17/2022 17:55, Joseph Myers wrote:
> Linux 5.19 adds more HWCAP2_* values for AArch64; add these to its
> bits/hwcap.h header in glibc.
> 
> 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 616239bb84..07cb962a7b 100644
> --- a/sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h
> +++ b/sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h
> @@ -78,3 +78,12 @@
>  #define HWCAP2_AFP		(1 << 20)
>  #define HWCAP2_RPRES		(1 << 21)
>  #define HWCAP2_MTE3		(1 << 22)
> +#define HWCAP2_SME		(1 << 23)
> +#define HWCAP2_SME_I16I64	(1 << 24)
> +#define HWCAP2_SME_F64F64	(1 << 25)
> +#define HWCAP2_SME_I8I32	(1 << 26)
> +#define HWCAP2_SME_F16F32	(1 << 27)
> +#define HWCAP2_SME_B16F32	(1 << 28)
> +#define HWCAP2_SME_F32F32	(1 << 29)
> +#define HWCAP2_SME_FA64		(1 << 30)
> +#define HWCAP2_WFXT		(1UL << 31)
> 
> -- 
> Joseph S. Myers
> joseph@codesourcery.com

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

end of thread, other threads:[~2022-08-22 14:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-17 17:55 Add AArch64 HWCAP2_* constants from Linux 5.19 Joseph Myers
2022-08-22 14:55 ` 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).