]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
aarch64: update bits/hwcap.h
authorSzabolcs Nagy <szabolcs.nagy@arm.com>
Tue, 17 Mar 2020 15:53:34 +0000 (15:53 +0000)
committerSzabolcs Nagy <szabolcs.nagy@arm.com>
Fri, 3 Apr 2020 12:47:03 +0000 (13:47 +0100)
Up to date with Linux 5.6. dl-procinfo.c is not updated because
HWCAP2 bits are not handled specially in glibc.

sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h

index f52840c2c44c16bda6fe42a33fc59336e30189a2..4ee14b420885f3266866c7c3ea1f6980fbfdd587 100644 (file)
 #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)
+#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)