public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* Add new AArch64 HWCAP2 definitions from Linux 6.7 to bits/hwcap.h
@ 2024-01-31 18:37 Joseph Myers
  2024-02-07 19:42 ` Ping " Joseph Myers
  0 siblings, 1 reply; 3+ messages in thread
From: Joseph Myers @ 2024-01-31 18:37 UTC (permalink / raw)
  To: libc-alpha

Linux 6.7 adds three new HWCAP2_* values for AArch64; add them to
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 91f0e312b9..f82bde5d30 100644
--- a/sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h
+++ b/sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h
@@ -100,3 +100,6 @@
 #define HWCAP2_SME_F16F16	(1UL << 42)
 #define HWCAP2_MOPS		(1UL << 43)
 #define HWCAP2_HBC		(1UL << 44)
+#define HWCAP2_SVE_B16B16	(1UL << 45)
+#define HWCAP2_LRCPC3		(1UL << 46)
+#define HWCAP2_LSE128		(1UL << 47)

-- 
Joseph S. Myers
josmyers@redhat.com


^ permalink raw reply	[flat|nested] 3+ messages in thread
* Ping Re: Add new AArch64 HWCAP2 definitions from Linux 6.7 to bits/hwcap.h
@ 2024-02-07 23:16 Wilco Dijkstra
  0 siblings, 0 replies; 3+ messages in thread
From: Wilco Dijkstra @ 2024-02-07 23:16 UTC (permalink / raw)
  To: josmyers; +Cc: 'GNU C Library'

Hi Joseph,

> Linux 6.7 adds three new HWCAP2_* values for AArch64; add them to
> bits/hwcap.h in glibc.

OK

> 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 91f0e312b9..f82bde5d30 100644
> --- a/sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h
> +++ b/sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h
> @@ -100,3 +100,6 @@
>  #define HWCAP2_SME_F16F16	(1UL << 42)
>  #define HWCAP2_MOPS		(1UL << 43)
>  #define HWCAP2_HBC		(1UL << 44)
> +#define HWCAP2_SVE_B16B16	(1UL << 45)
> +#define HWCAP2_LRCPC3		(1UL << 46)
> +#define HWCAP2_LSE128		(1UL << 47)

Cheers,
Wilco

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

end of thread, other threads:[~2024-02-07 23:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-31 18:37 Add new AArch64 HWCAP2 definitions from Linux 6.7 to bits/hwcap.h Joseph Myers
2024-02-07 19:42 ` Ping " Joseph Myers
2024-02-07 23:16 Wilco Dijkstra

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).