mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-09 23:00:07 +00:00
i386: Use builtin sqrtl
Checked on i686-linux-gnu.
This commit is contained in:
parent
d19d25dd06
commit
b24381e50f
@ -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)
|
Loading…
Reference in New Issue
Block a user