diff mbox

Add missing HWCAP defines

Message ID 8464D014-A1B5-43DD-8F7B-7BECE8C65E0D@arm.com
State New
Headers show

Commit Message

Alan Hayward Dec. 8, 2017, 2:59 p.m. UTC
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 mbox

Patch

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)