mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-10 07:10:06 +00:00
sparc: support the ADP hw capability
This patch adds support for the ADP (also known as adi) hardware capability, as reported by the kernel sparc port when running on M7 machines. Tested in both sparcv9-*-* and sparc64-*-* targets. * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined. * sysdeps/sparc/dl-procinfo.c: Added "adp" to the _dl_sparc_cap_flags array. * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment. Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
This commit is contained in:
parent
2bce01ebba
commit
bfb7bf2273
@ -1,3 +1,10 @@
|
||||
2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
|
||||
|
||||
* sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
|
||||
* sysdeps/sparc/dl-procinfo.c: Added "adp" to the
|
||||
_dl_sparc_cap_flags array.
|
||||
* sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
|
||||
|
||||
2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
|
||||
|
||||
* sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
|
||||
|
@ -48,3 +48,4 @@
|
||||
#define HWCAP_SPARC_PAUSE 0x01000000
|
||||
#define HWCAP_SPARC_CBCOND 0x02000000
|
||||
#define HWCAP_SPARC_CRYPTO 0x04000000
|
||||
#define HWCAP_SPARC_ADP 0x08000000
|
||||
|
@ -46,13 +46,13 @@
|
||||
#if !defined PROCINFO_DECL && defined SHARED
|
||||
._dl_sparc_cap_flags
|
||||
#else
|
||||
PROCINFO_CLASS const char _dl_sparc_cap_flags[27][11]
|
||||
PROCINFO_CLASS const char _dl_sparc_cap_flags[28][11]
|
||||
#endif
|
||||
#ifndef PROCINFO_DECL
|
||||
= { "flush", "stbar", "swap", "muldiv", "v9", "ultra3", "v9v", "v9v2",
|
||||
"mul32", "div32", "fsmuld", "v8plus", "popc", "vis", "vis2",
|
||||
"ASIBlkInit", "fmaf", "vis3", "hpc", "random", "trans", "fjfmau",
|
||||
"ima", "cspare", "pause", "cbcond", "crypto" }
|
||||
"ima", "cspare", "pause", "cbcond", "crypto", "adp" }
|
||||
#endif
|
||||
#if !defined SHARED || defined PROCINFO_DECL
|
||||
;
|
||||
|
@ -23,7 +23,7 @@
|
||||
#include <ldsodefs.h>
|
||||
#include <sysdep.h>
|
||||
|
||||
#define _DL_HWCAP_COUNT 27
|
||||
#define _DL_HWCAP_COUNT 28
|
||||
|
||||
static inline int
|
||||
__attribute__ ((unused))
|
||||
|
Loading…
Reference in New Issue
Block a user