]> sourceware.org Git - glibc.git/commitdiff
i386: Use builtin sqrtl
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Fri, 5 Jun 2020 03:33:12 +0000 (03:33 +0000)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Mon, 22 Jun 2020 14:09:49 +0000 (11:09 -0300)
Checked on i686-linux-gnu.

sysdeps/i386/fpu/e_sqrtl.c [deleted file]
sysdeps/x86/fpu/e_sqrtl.c [moved from sysdeps/x86_64/fpu/e_sqrtl.c with 100% similarity]

diff --git a/sysdeps/i386/fpu/e_sqrtl.c b/sysdeps/i386/fpu/e_sqrtl.c
deleted file mode 100644 (file)
index 8f284dd..0000000
+++ /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)
This page took 0.042381 seconds and 5 git commands to generate.