aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2020-06-05 03:33:12 +0000
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2020-06-22 11:09:49 -0300
commitb24381e50f0f8aee1e39bf86ebcbe962b70a9247 (patch)
treebed5a9d7d5047e5cee7bac2094b9e2476ceb1d53
parentd19d25dd063af97ff04b2cb1db967a646b150332 (diff)
downloadglibc-b24381e50f0f8aee1e39bf86ebcbe962b70a9247.zip
glibc-b24381e50f0f8aee1e39bf86ebcbe962b70a9247.tar.gz
glibc-b24381e50f0f8aee1e39bf86ebcbe962b70a9247.tar.bz2
i386: Use builtin sqrtl
Checked on i686-linux-gnu.
-rw-r--r--sysdeps/i386/fpu/e_sqrtl.c21
-rw-r--r--sysdeps/x86/fpu/e_sqrtl.c (renamed from sysdeps/x86_64/fpu/e_sqrtl.c)0
2 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 8f284dd..0000000
--- 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)
diff --git a/sysdeps/x86_64/fpu/e_sqrtl.c b/sysdeps/x86/fpu/e_sqrtl.c
index 7ea6f52..7ea6f52 100644
--- a/sysdeps/x86_64/fpu/e_sqrtl.c
+++ b/sysdeps/x86/fpu/e_sqrtl.c