diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2020-06-05 03:33:51 +0000 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2020-06-22 11:09:49 -0300 |
commit | 8a7923b57e70ea500815d666e82156d291aa11fd (patch) | |
tree | 761ea6c99fd6949efe2aee089e02f43a5a84869c /sysdeps/alpha/fpu/e_sqrtf.c | |
parent | b24381e50f0f8aee1e39bf86ebcbe962b70a9247 (diff) | |
download | glibc-8a7923b57e70ea500815d666e82156d291aa11fd.tar.gz glibc-8a7923b57e70ea500815d666e82156d291aa11fd.tar.xz glibc-8a7923b57e70ea500815d666e82156d291aa11fd.zip |
alpha: Use builtin sqrt{f}
The generic implementation is simplified by removing the 'optimization' for !_IEEE_FP_INEXACT (which does not handle inexact neither some values). Checked on alpha-linux-gnu.
Diffstat (limited to 'sysdeps/alpha/fpu/e_sqrtf.c')
-rw-r--r-- | sysdeps/alpha/fpu/e_sqrtf.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/sysdeps/alpha/fpu/e_sqrtf.c b/sysdeps/alpha/fpu/e_sqrtf.c index eb3f968576..38c41db537 100644 --- a/sysdeps/alpha/fpu/e_sqrtf.c +++ b/sysdeps/alpha/fpu/e_sqrtf.c @@ -1,13 +1,8 @@ #include <shlib-compat.h> -#define __ieee754_sqrtf __ieee754_sqrtf #include <sysdeps/ieee754/flt-32/e_sqrtf.c> -/* Work around forgotten symbol in alphaev6 build. */ -#if SHLIB_COMPAT (libm, GLIBC_2_15, GLIBC_2_18) -strong_alias(__ieee754_sqrtf, __sqrtf_dummy) -compat_symbol (libm, __sqrtf_dummy, __sqrtf_finite, GLIBC_2_15); -#endif #if SHLIB_COMPAT (libm, GLIBC_2_18, GLIBC_2_31) -compat_symbol (libm, __ieee754_sqrtf, __sqrtf_finite, GLIBC_2_18); +strong_alias (__ieee754_sqrtf, __sqrtf_finite_2_18) +compat_symbol (libm, __sqrtf_finite_2_18, __sqrtf_finite, GLIBC_2_18); #endif |