projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b607630
)
aarch64: add HWCAP2 flags from linux v5.2
author
Szabolcs Nagy
<nsz@port70.net>
Tue, 20 Aug 2019 10:20:03 +0000
(10:20 +0000)
committer
Rich Felker
<dalias@aerifal.cx>
Wed, 11 Sep 2019 14:40:41 +0000
(10:40 -0400)
AT_HWCAP2 flags, see
linux commit
671db581815faf17cbedd7fcbc48823a247d90b1
arm64: Expose DC CVADP to userspace
linux commit
06a916feca2b262ab0c1a2aeb68882f4b1108a07
arm64: Expose SVE2 features for userspace
arch/aarch64/bits/hwcap.h
patch
|
blob
|
history
diff --git
a/arch/aarch64/bits/hwcap.h
b/arch/aarch64/bits/hwcap.h
index ad670914c82b329804b5a0b09fe408a2bad73005..a7484028e0a33f73d0538f93af205ffc591d9bd4 100644
(file)
--- a/
arch/aarch64/bits/hwcap.h
+++ b/
arch/aarch64/bits/hwcap.h
@@
-30,3
+30,11
@@
#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)