public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* Add AArch64 HWCAP2_EBF16 from Linux 6.0 to bits/hwcap.h
@ 2022-10-11 22:02 Joseph Myers
  2022-10-12  7:22 ` Andreas Schwab
  0 siblings, 1 reply; 2+ messages in thread
From: Joseph Myers @ 2022-10-11 22:02 UTC (permalink / raw)
  To: libc-alpha

Linux 6.0 adds a new AArch64 HWCAP2 bit, HWCAP2_EBF16.  Add this to
glibc's bits/hwcap.h.

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 07cb962a7b..25a220525e 100644
--- a/sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h
+++ b/sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h
@@ -87,3 +87,4 @@
 #define HWCAP2_SME_F32F32	(1 << 29)
 #define HWCAP2_SME_FA64		(1 << 30)
 #define HWCAP2_WFXT		(1UL << 31)
+#define HWCAP2_EBF16		(1UL << 32)

-- 
Joseph S. Myers
joseph@codesourcery.com

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

* Re: Add AArch64 HWCAP2_EBF16 from Linux 6.0 to bits/hwcap.h
  2022-10-11 22:02 Add AArch64 HWCAP2_EBF16 from Linux 6.0 to bits/hwcap.h Joseph Myers
@ 2022-10-12  7:22 ` Andreas Schwab
  0 siblings, 0 replies; 2+ messages in thread
From: Andreas Schwab @ 2022-10-12  7:22 UTC (permalink / raw)
  To: Joseph Myers; +Cc: libc-alpha

On Okt 11 2022, Joseph Myers wrote:

> Linux 6.0 adds a new AArch64 HWCAP2 bit, HWCAP2_EBF16.  Add this to
> glibc's bits/hwcap.h.

Ok.

-- 
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."

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

end of thread, other threads:[~2022-10-12  7:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-11 22:02 Add AArch64 HWCAP2_EBF16 from Linux 6.0 to bits/hwcap.h Joseph Myers
2022-10-12  7:22 ` Andreas Schwab

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