diff options
Diffstat (limited to 'sysdeps/loongarch')
-rw-r--r-- | sysdeps/loongarch/cpu-tunables.c | 2 | ||||
-rw-r--r-- | sysdeps/loongarch/fenv_private.h (renamed from sysdeps/loongarch/math_private.h) | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/sysdeps/loongarch/cpu-tunables.c b/sysdeps/loongarch/cpu-tunables.c index 8b87e58..cad2e26 100644 --- a/sysdeps/loongarch/cpu-tunables.c +++ b/sysdeps/loongarch/cpu-tunables.c @@ -50,7 +50,7 @@ TUNABLE_CALLBACK (set_hwcaps) (tunable_val_t *valp) GLIBC_TUNABLES=glibc.cpu.hwcaps=-xxx,yyy,-zzz,.... can be used to enable CPU/ARCH feature yyy, disable CPU/ARCH feature - yyy and zzz, where the feature name is case-sensitive and has to + xxx and zzz, where the feature name is case-sensitive and has to match the ones in cpu-features.h. It can be used by glibc developers to tune for a new processor or override the IFUNC selection to improve performance for a particular workload. diff --git a/sysdeps/loongarch/math_private.h b/sysdeps/loongarch/fenv_private.h index f15eb60..7614e7c 100644 --- a/sysdeps/loongarch/math_private.h +++ b/sysdeps/loongarch/fenv_private.h @@ -16,11 +16,11 @@ License along with the GNU C Library; if not, see <https://www.gnu.org/licenses/>. */ -#ifndef LOONGARCH_MATH_PRIVATE_H -#define LOONGARCH_MATH_PRIVATE_H 1 +#ifndef LOONGARCH_FENV_PRIVATE_H +#define LOONGARCH_FENV_PRIVATE_H 1 /* Inline functions to speed up the math library implementation. The - default versions of these routines are in generic/math_private.h + default versions of these routines are in generic/fenv_private.h and call fesetround, feholdexcept, etc. These routines use inlined code instead. */ @@ -243,6 +243,6 @@ libc_feholdsetround_loongarch_ctx (struct rm_ctx *ctx, int round) #endif -#include_next <math_private.h> +#include_next <fenv_private.h> #endif |