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 Committed
Commit 3bd18aa4d1d4c3d34d7033de3f3920cddab90008
Headers
Series Add AArch64 HWCAP2_EBF16 from Linux 6.0 to bits/hwcap.h |

Checks

Context Check Description
dj/TryBot-apply_patch success Patch applied to master at the time it was sent
dj/TryBot-32bit success Build for i686

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.
  

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)