mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-26 15:00:06 +00:00
Add AArch64 HWCAPs from Linux 5.0.
This patch adds new AArch64 HWCAPs from Linux 5.0 to the AArch64 bits/hwcap.h and dl-procinfo.c. Tested (compilation only) with build-many-glibcs.py for aarch64-linux-gnu. * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SB): New macro. (HWCAP_PACA): Likewise. (HWCAP_PACG): Likewise. * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT): Increase to 32. (_dl_aarch64_cap_flags): Add new entries for new HWCAPs.
This commit is contained in:
parent
78919d3886
commit
a2e57f89a3
10
ChangeLog
10
ChangeLog
@ -1,3 +1,13 @@
|
|||||||
|
2019-03-19 Joseph Myers <joseph@codesourcery.com>
|
||||||
|
|
||||||
|
* sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SB): New
|
||||||
|
macro.
|
||||||
|
(HWCAP_PACA): Likewise.
|
||||||
|
(HWCAP_PACG): Likewise.
|
||||||
|
* sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
|
||||||
|
Increase to 32.
|
||||||
|
(_dl_aarch64_cap_flags): Add new entries for new HWCAPs.
|
||||||
|
|
||||||
2019-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
|
2019-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
|
||||||
|
|
||||||
* hurd/hurd/signal.h (_hurd_critical_section_lock): Document how EINTR
|
* hurd/hurd/signal.h (_hurd_critical_section_lock): Document how EINTR
|
||||||
|
@ -51,3 +51,6 @@
|
|||||||
#define HWCAP_ILRCPC (1 << 26)
|
#define HWCAP_ILRCPC (1 << 26)
|
||||||
#define HWCAP_FLAGM (1 << 27)
|
#define HWCAP_FLAGM (1 << 27)
|
||||||
#define HWCAP_SSBS (1 << 28)
|
#define HWCAP_SSBS (1 << 28)
|
||||||
|
#define HWCAP_SB (1 << 29)
|
||||||
|
#define HWCAP_PACA (1 << 30)
|
||||||
|
#define HWCAP_PACG (1UL << 31)
|
||||||
|
@ -57,7 +57,7 @@ PROCINFO_CLASS struct cpu_features _dl_aarch64_cpu_features
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Number of HWCAP bits set. */
|
/* Number of HWCAP bits set. */
|
||||||
#define _DL_HWCAP_COUNT 29
|
#define _DL_HWCAP_COUNT 32
|
||||||
|
|
||||||
#if !defined PROCINFO_DECL && defined SHARED
|
#if !defined PROCINFO_DECL && defined SHARED
|
||||||
._dl_aarch64_cap_flags
|
._dl_aarch64_cap_flags
|
||||||
@ -69,7 +69,8 @@ PROCINFO_CLASS const char _dl_aarch64_cap_flags[_DL_HWCAP_COUNT][10]
|
|||||||
= { "fp", "asimd", "evtstrm", "aes", "pmull", "sha1", "sha2", "crc32",
|
= { "fp", "asimd", "evtstrm", "aes", "pmull", "sha1", "sha2", "crc32",
|
||||||
"atomics", "fphp", "asimdhp", "cpuid", "asimdrdm", "jscvt", "fcma",
|
"atomics", "fphp", "asimdhp", "cpuid", "asimdrdm", "jscvt", "fcma",
|
||||||
"lrcpc", "dcpop", "sha3", "sm3", "sm4", "asimddp", "sha512", "sve",
|
"lrcpc", "dcpop", "sha3", "sm3", "sm4", "asimddp", "sha512", "sve",
|
||||||
"asimdfhm", "dit", "uscat", "ilrcpc", "flagm", "ssbs" }
|
"asimdfhm", "dit", "uscat", "ilrcpc", "flagm", "ssbs", "sb", "paca",
|
||||||
|
"pacg" }
|
||||||
#endif
|
#endif
|
||||||
#if !defined SHARED || defined PROCINFO_DECL
|
#if !defined SHARED || defined PROCINFO_DECL
|
||||||
;
|
;
|
||||||
|
Loading…
Reference in New Issue
Block a user