diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2020-06-05 03:33:12 +0000 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2020-06-22 11:09:49 -0300 |
commit | b24381e50f0f8aee1e39bf86ebcbe962b70a9247 (patch) | |
tree | bed5a9d7d5047e5cee7bac2094b9e2476ceb1d53 /sysdeps/i386 | |
parent | d19d25dd063af97ff04b2cb1db967a646b150332 (diff) | |
download | glibc-b24381e50f0f8aee1e39bf86ebcbe962b70a9247.tar.gz glibc-b24381e50f0f8aee1e39bf86ebcbe962b70a9247.tar.xz glibc-b24381e50f0f8aee1e39bf86ebcbe962b70a9247.zip |
i386: Use builtin sqrtl
Checked on i686-linux-gnu.
Diffstat (limited to 'sysdeps/i386')
-rw-r--r-- | sysdeps/i386/fpu/e_sqrtl.c | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/sysdeps/i386/fpu/e_sqrtl.c b/sysdeps/i386/fpu/e_sqrtl.c deleted file mode 100644 index 8f284dd75c..0000000000 --- a/sysdeps/i386/fpu/e_sqrtl.c +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Written by J.T. Conklin <jtc@netbsd.org>. - * Public domain. - * - * Adapted for `long double' by Ulrich Drepper <drepper@cygnus.com>. - */ - -#include <math_private.h> -#include <libm-alias-finite.h> - -#undef __ieee754_sqrtl -long double -__ieee754_sqrtl (long double x) -{ - long double res; - - asm ("fsqrt" : "=t" (res) : "0" (x)); - - return res; -} -libm_alias_finite (__ieee754_sqrtl, __sqrtl) |