public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc] i386: Use builtin sqrtl
@ 2020-06-22 16:24 Adhemerval Zanella
  0 siblings, 0 replies; only message in thread
From: Adhemerval Zanella @ 2020-06-22 16:24 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=b24381e50f0f8aee1e39bf86ebcbe962b70a9247

commit b24381e50f0f8aee1e39bf86ebcbe962b70a9247
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Fri Jun 5 03:33:12 2020 +0000

    i386: Use builtin sqrtl
    
    Checked on i686-linux-gnu.

Diff:
---
 sysdeps/i386/fpu/e_sqrtl.c            | 21 ---------------------
 sysdeps/{x86_64 => x86}/fpu/e_sqrtl.c |  0
 2 files changed, 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)
diff --git a/sysdeps/x86_64/fpu/e_sqrtl.c b/sysdeps/x86/fpu/e_sqrtl.c
similarity index 100%
rename from sysdeps/x86_64/fpu/e_sqrtl.c
rename to sysdeps/x86/fpu/e_sqrtl.c


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-06-22 16:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-22 16:24 [glibc] i386: Use builtin sqrtl Adhemerval Zanella

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).