* [PATCH] aarch64: update bits/hwcap.h
@ 2020-04-01 9:29 Szabolcs Nagy
2020-04-03 13:15 ` [COMMITTED] " Szabolcs Nagy
0 siblings, 1 reply; 2+ messages in thread
From: Szabolcs Nagy @ 2020-04-01 9:29 UTC (permalink / raw
To: libc-alpha
[-- Attachment #1: Type: text/plain, Size: 100 bytes --]
Linux 5.6 was released so update hwcaps.
I plan to commit this tomorrow unless there are comments.
[-- Attachment #2: 0001-aarch64-update-bits-hwcap.h.patch --]
[-- Type: text/x-diff, Size: 1357 bytes --]
From 6110d7b7496bacb97aee02b063ce7d71bd028cc0 Mon Sep 17 00:00:00 2001
From: Szabolcs Nagy <szabolcs.nagy@arm.com>
Date: Tue, 17 Mar 2020 15:53:34 +0000
Subject: [PATCH] aarch64: update bits/hwcap.h
Up to date with Linux 5.6. dl-procinfo.c is not updated because
HWCAP2 bits are not handled specially in glibc.
---
sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
diff --git a/sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h b/sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h
index f52840c2c4..4ee14b4208 100644
--- a/sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h
+++ b/sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h
@@ -54,3 +54,21 @@
#define HWCAP_SB (1 << 29)
#define HWCAP_PACA (1 << 30)
#define HWCAP_PACG (1UL << 31)
+
+#define HWCAP2_DCPODP (1 << 0)
+#define HWCAP2_SVE2 (1 << 1)
+#define HWCAP2_SVEAES (1 << 2)
+#define HWCAP2_SVEPMULL (1 << 3)
+#define HWCAP2_SVEBITPERM (1 << 4)
+#define HWCAP2_SVESHA3 (1 << 5)
+#define HWCAP2_SVESM4 (1 << 6)
+#define HWCAP2_FLAGM2 (1 << 7)
+#define HWCAP2_FRINT (1 << 8)
+#define HWCAP2_SVEI8MM (1 << 9)
+#define HWCAP2_SVEF32MM (1 << 10)
+#define HWCAP2_SVEF64MM (1 << 11)
+#define HWCAP2_SVEBF16 (1 << 12)
+#define HWCAP2_I8MM (1 << 13)
+#define HWCAP2_BF16 (1 << 14)
+#define HWCAP2_DGH (1 << 15)
+#define HWCAP2_RNG (1 << 16)
--
2.17.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [COMMITTED] aarch64: update bits/hwcap.h
2020-04-01 9:29 [PATCH] aarch64: update bits/hwcap.h Szabolcs Nagy
@ 2020-04-03 13:15 ` Szabolcs Nagy
0 siblings, 0 replies; 2+ messages in thread
From: Szabolcs Nagy @ 2020-04-03 13:15 UTC (permalink / raw
To: libc-alpha
The 04/01/2020 10:29, Szabolcs Nagy wrote:
> Linux 5.6 was released so update hwcaps.
>
> I plan to commit this tomorrow unless there are comments.
committed.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-04-03 13:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-04-01 9:29 [PATCH] aarch64: update bits/hwcap.h Szabolcs Nagy
2020-04-03 13:15 ` [COMMITTED] " 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).