about summary refs log tree commit diff
path: root/sysdeps/i386
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 /sysdeps/i386
parentd19d25dd063af97ff04b2cb1db967a646b150332 (diff)
downloadglibc-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.c21
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)