public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] Add missing HWCAP defines
@ 2017-12-08 14:59 Alan Hayward
  0 siblings, 0 replies; only message in thread
From: Alan Hayward @ 2017-12-08 14:59 UTC (permalink / raw)
  To: libc-alpha; +Cc: nd

Whilst adding the SVE defines, I noticed there were a few missing HWCAPS.

This patch simply adds in the missing HWCAPs as copied from the Linux
kernel head.


I haven't run any testsuites as the changes are should not effect them.

Is this ok?

Thanks,
Alan.

2017-12-08  Alan Hayward  <alan.hayward@arm.com>

	* sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add missing HWCAPs.


diff --git a/sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h b/sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h
index 255ddf0581..4cd37d9d76 100644
--- a/sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h
+++ b/sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h
@@ -38,4 +38,9 @@
 #define HWCAP_FCMA             (1 << 14)
 #define HWCAP_LRCPC            (1 << 15)
 #define HWCAP_DCPOP            (1 << 16)
+#define HWCAP_SHA3             (1 << 17)
+#define HWCAP_SM3              (1 << 18)
+#define HWCAP_SM4              (1 << 19)
+#define HWCAP_ASIMDDP          (1 << 20)
+#define HWCAP_SHA512           (1 << 21)
 #define HWCAP_SVE              (1 << 22)


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-12-08 14:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-12-08 14:59 [PATCH] Add missing HWCAP defines Alan Hayward

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