diff options
author | Mahesh Bodapati <bmahi496@linux.ibm.com> | 2023-08-01 07:41:17 -0500 |
---|---|---|
committer | Rajalakshmi Srinivasaraghavan <rajis@linux.ibm.com> | 2023-08-01 07:41:17 -0500 |
commit | 21841f0d562f0e944c4d267a28cc3ebd19c847e9 (patch) | |
tree | 30b6e0831da1a801e96c91b5c2781312ce2c4624 /manual | |
parent | 5c37d2065286d3db7b974266a3002bb5747d2e5d (diff) | |
download | glibc-21841f0d562f0e944c4d267a28cc3ebd19c847e9.zip glibc-21841f0d562f0e944c4d267a28cc3ebd19c847e9.tar.gz glibc-21841f0d562f0e944c4d267a28cc3ebd19c847e9.tar.bz2 |
PowerPC: Influence cpu/arch hwcap features via GLIBC_TUNABLES
This patch enables the option to influence hwcaps used by PowerPC.
The environment variable, GLIBC_TUNABLES=glibc.cpu.hwcaps=-xxx,yyy,-zzz....,
can be used to enable CPU/ARCH feature yyy, disable CPU/ARCH feature xxx
and zzz, where the feature name is case-sensitive and has to match the ones
mentioned in the file{sysdeps/powerpc/dl-procinfo.c}.
Note that the hwcap tunables only used in the IFUNC selection.
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'manual')
-rw-r--r-- | manual/tunables.texi | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/manual/tunables.texi b/manual/tunables.texi index 4ca0e42..776fd93 100644 --- a/manual/tunables.texi +++ b/manual/tunables.texi @@ -513,7 +513,10 @@ On s390x, the supported HWCAP and STFLE features can be found in @code{sysdeps/s390/cpu-features.c}. In addition the user can also set a CPU arch-level like @code{z13} instead of single HWCAP and STFLE features. -This tunable is specific to i386, x86-64 and s390x. +On powerpc, the supported HWCAP and HWCAP2 features can be found in +@code{sysdeps/powerpc/dl-procinfo.c}. + +This tunable is specific to i386, x86-64, s390x and powerpc. @end deftp @deftp Tunable glibc.cpu.cached_memopt |