diff options
author | caiyinyu <caiyinyu@loongson.cn> | 2023-09-15 17:35:19 +0800 |
---|---|---|
committer | caiyinyu <caiyinyu@loongson.cn> | 2024-04-24 18:22:38 +0800 |
commit | 095067efdf68c8061d6f99a21a0300841bede999 (patch) | |
tree | 6632c0cb08991fbd2c08809f24320493687c81a6 /manual | |
parent | f4724843ada64a51d66f65d3199fe431f9d4c254 (diff) | |
download | glibc-095067efdf68c8061d6f99a21a0300841bede999.tar.gz glibc-095067efdf68c8061d6f99a21a0300841bede999.tar.xz glibc-095067efdf68c8061d6f99a21a0300841bede999.zip |
LoongArch: Add glibc.cpu.hwcap support.
The current IFUNC selection is always using the most recent features which are available via AT_HWCAP. But in some scenarios it is useful to adjust this selection. The environment variable: GLIBC_TUNABLES=glibc.cpu.hwcaps=-xxx,yyy,zzz,.... can be used to enable HWCAP feature yyy, disable HWCAP feature xxx, where the feature name is case-sensitive and has to match the ones used in sysdeps/loongarch/cpu-tunables.c. Signed-off-by: caiyinyu <caiyinyu@loongson.cn>
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 4a7d04dc0d..baaf751721 100644 --- a/manual/tunables.texi +++ b/manual/tunables.texi @@ -525,7 +525,10 @@ a CPU arch-level like @code{z13} instead of single HWCAP and STFLE features. 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. +On loongarch, the supported HWCAP features can be found in +@code{sysdeps/loongarch/cpu-tunables.c}. + +This tunable is specific to i386, x86-64, s390x, powerpc and loongarch. @end deftp @deftp Tunable glibc.cpu.cached_memopt |