diff mbox series

Add AArch64 HWCAP2_EBF16 from Linux 6.0 to bits/hwcap.h

Message ID alpine.DEB.2.22.394.2210112202320.84855@digraph.polyomino.org.uk
State New
Headers show
Series Add AArch64 HWCAP2_EBF16 from Linux 6.0 to bits/hwcap.h | expand

Commit Message

Joseph Myers Oct. 11, 2022, 10:02 p.m. UTC
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.

Comments

Andreas Schwab Oct. 12, 2022, 7:22 a.m. UTC | #1
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.
diff mbox series

Patch

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)