mirror of
git://sourceware.org/git/glibc.git
synced 2025-03-06 20:58:33 +01:00
Add Arm HWCAP values from Linux 6.2 to bits/hwcap.h
Linux 6.2 adds six new Arm HWCAP values and two new HWCAP2 values; add them to glibc's Arm bits/hwcap.h, with corresponding dl-procinfo.c and dl-procinfo.h updates. Tested with build-many-glibcs.py for arm-linux-gnueabi.
This commit is contained in:
parent
35ce4c99e7
commit
8ebe9c0b38
3 changed files with 13 additions and 6 deletions
|
@ -43,3 +43,9 @@
|
||||||
#define HWCAP_ARM_VFPD32 524288
|
#define HWCAP_ARM_VFPD32 524288
|
||||||
#define HWCAP_ARM_LPAE 1048576
|
#define HWCAP_ARM_LPAE 1048576
|
||||||
#define HWCAP_ARM_EVTSTRM 2097152
|
#define HWCAP_ARM_EVTSTRM 2097152
|
||||||
|
#define HWCAP_FPHP 4194304
|
||||||
|
#define HWCAP_ASIMDHP 8388608
|
||||||
|
#define HWCAP_ASIMDDP 16777216
|
||||||
|
#define HWCAP_ASIMDFHM 33554432
|
||||||
|
#define HWCAP_ASIMDBF16 67108864
|
||||||
|
#define HWCAP_I8MM 134217728
|
||||||
|
|
|
@ -45,14 +45,15 @@
|
||||||
#if !defined PROCINFO_DECL && defined SHARED
|
#if !defined PROCINFO_DECL && defined SHARED
|
||||||
._dl_arm_cap_flags
|
._dl_arm_cap_flags
|
||||||
#else
|
#else
|
||||||
PROCINFO_CLASS const char _dl_arm_cap_flags[27][10]
|
PROCINFO_CLASS const char _dl_arm_cap_flags[35][10]
|
||||||
#endif
|
#endif
|
||||||
#ifndef PROCINFO_DECL
|
#ifndef PROCINFO_DECL
|
||||||
= {
|
= {
|
||||||
"swp", "half", "thumb", "26bit", "fastmult", "fpa", "vfp", "edsp",
|
"swp", "half", "thumb", "26bit", "fastmult", "fpa", "vfp", "edsp",
|
||||||
"java", "iwmmxt", "crunch", "thumbee", "neon", "vfpv3", "vfpv3d16",
|
"java", "iwmmxt", "crunch", "thumbee", "neon", "vfpv3", "vfpv3d16",
|
||||||
"tls", "vfpv4", "idiva", "idivt", "vfpd32", "lpae", "evtstrm",
|
"tls", "vfpv4", "idiva", "idivt", "vfpd32", "lpae", "evtstrm",
|
||||||
"aes", "pmull", "sha1", "sha2", "crc32",
|
"fphp", "asimdhp", "asimddp", "asimdfhm", "asimdbf16", "i8mm",
|
||||||
|
"aes", "pmull", "sha1", "sha2", "crc32", "sb", "ssbs",
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#if !defined SHARED || defined PROCINFO_DECL
|
#if !defined SHARED || defined PROCINFO_DECL
|
||||||
|
|
|
@ -24,11 +24,11 @@
|
||||||
|
|
||||||
#define _DL_HWCAP_COUNT 27
|
#define _DL_HWCAP_COUNT 27
|
||||||
|
|
||||||
/* Low 22 bits are allocated in HWCAP. */
|
/* Low 28 bits are allocated in HWCAP. */
|
||||||
#define _DL_HWCAP_LAST 21
|
#define _DL_HWCAP_LAST 27
|
||||||
|
|
||||||
/* Low 5 bits are allocated in HWCAP2. */
|
/* Low 7 bits are allocated in HWCAP2. */
|
||||||
#define _DL_HWCAP2_LAST 4
|
#define _DL_HWCAP2_LAST 6
|
||||||
|
|
||||||
/* The kernel provides platform data but it is not interesting. */
|
/* The kernel provides platform data but it is not interesting. */
|
||||||
#define _DL_HWCAP_PLATFORM 0
|
#define _DL_HWCAP_PLATFORM 0
|
||||||
|
|
Loading…
Add table
Reference in a new issue