summaryrefslogtreecommitdiff
path: root/arch/aarch64
diff options
context:
space:
mode:
authorSzabolcs Nagy <nsz@port70.net>2020-03-31 20:57:46 +0000
committerRich Felker <dalias@aerifal.cx>2020-09-09 17:20:43 -0400
commit94ab68c24cbd249103a3dd8b41b18170833ec59d (patch)
tree374716657cb1012c8195602f1e6f62ff01a30a9a /arch/aarch64
parent0296baff0ed5199612768db8bdf653b1930bbc66 (diff)
downloadmusl-94ab68c24cbd249103a3dd8b41b18170833ec59d.tar.gz
musl-94ab68c24cbd249103a3dd8b41b18170833ec59d.tar.bz2
musl-94ab68c24cbd249103a3dd8b41b18170833ec59d.tar.xz
musl-94ab68c24cbd249103a3dd8b41b18170833ec59d.zip
aarch64: add new HWCAP2_ macros from linux v5.6
added in linux commit 1a50ec0b3b2e9a83f1b1245ea37a853aac2f741c arm64: Implement archrandom.h for ARMv8.5-RNG linux commit d4209d8b717311d114b5d47ba7f8249fd44e97c2 arm64: cpufeature: Export matrix and other features to userspace
Diffstat (limited to 'arch/aarch64')
-rw-r--r--arch/aarch64/bits/hwcap.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/aarch64/bits/hwcap.h b/arch/aarch64/bits/hwcap.h
index cb442918..7ab73f99 100644
--- a/arch/aarch64/bits/hwcap.h
+++ b/arch/aarch64/bits/hwcap.h
@@ -40,3 +40,11 @@
#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)