[PATCH] Add missing HWCAP defines
Alan Hayward
Alan.Hayward@arm.com
Fri Dec 8 14:59:00 GMT 2017
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)
More information about the Libc-alpha
mailing list