mirror of
https://sourceware.org/git/glibc.git
synced 2025-12-24 17:51:17 +03:00
Update.
2001-09-18 Andreas Jaeger <aj@suse.de> * sysdeps/i386/fpu/s_logbl.S: Move to ... * sysdeps/i386/fpu/s_logbl.c: ...here, use inline assembler. * sysdeps/i386/fpu/s_rintl.S: Move to ... * sysdeps/i386/fpu/s_rintl.c: ...here, use inline assembler. * sysdeps/i386/fpu/s_significandl.S: Move to ... * sysdeps/i386/fpu/s_significandl.c: ...here, use inline assembler.
This commit is contained in:
11
ChangeLog
11
ChangeLog
@@ -1,3 +1,14 @@
|
||||
2001-09-18 Andreas Jaeger <aj@suse.de>
|
||||
|
||||
* sysdeps/i386/fpu/s_logbl.S: Move to ...
|
||||
* sysdeps/i386/fpu/s_logbl.c: ...here, use inline assembler.
|
||||
|
||||
* sysdeps/i386/fpu/s_rintl.S: Move to ...
|
||||
* sysdeps/i386/fpu/s_rintl.c: ...here, use inline assembler.
|
||||
|
||||
* sysdeps/i386/fpu/s_significandl.S: Move to ...
|
||||
* sysdeps/i386/fpu/s_significandl.c: ...here, use inline assembler.
|
||||
|
||||
2001-09-16 Ulrich Drepper <drepper@redhat.com>
|
||||
|
||||
* string/strcoll.c [USE_IN_EXTENDED_LOCALE_MODEL]: Correctly get
|
||||
|
||||
@@ -7,7 +7,6 @@
|
||||
License as published by the Free Software Foundation; either
|
||||
version 2.1 of the License, or (at your option) any later version.
|
||||
|
||||
|
||||
In addition to the permissions in the GNU Lesser General Public
|
||||
License, the Free Software Foundation gives you unlimited
|
||||
permission to link the compiled version of this file with other
|
||||
|
||||
19
sysdeps/i386/fpu/s_logbl.c
Normal file
19
sysdeps/i386/fpu/s_logbl.c
Normal file
@@ -0,0 +1,19 @@
|
||||
/*
|
||||
* Written by J.T. Conklin <jtc@netbsd.org>.
|
||||
* Changes for long double by Ulrich Drepper <drepper@cygnus.com>
|
||||
* Public domain.
|
||||
*/
|
||||
|
||||
#include <math_private.h>
|
||||
|
||||
long double
|
||||
__logbl (long double x)
|
||||
{
|
||||
long double res;
|
||||
|
||||
asm ("fxtract\n"
|
||||
"fstp %%st" : "=t" (res) : "0" (x));
|
||||
return res;
|
||||
}
|
||||
|
||||
weak_alias (__logbl, logbl)
|
||||
18
sysdeps/i386/fpu/s_rintl.c
Normal file
18
sysdeps/i386/fpu/s_rintl.c
Normal file
@@ -0,0 +1,18 @@
|
||||
/*
|
||||
* Written by J.T. Conklin <jtc@netbsd.org>.
|
||||
* Changes for long double by Ulrich Drepper <drepper@cygnus.com>
|
||||
* Public domain.
|
||||
*/
|
||||
|
||||
#include <math_private.h>
|
||||
|
||||
long double
|
||||
__rintl (long double x)
|
||||
{
|
||||
long double res;
|
||||
|
||||
asm ("frndint" : "=t" (res) : "0" (x));
|
||||
return res;
|
||||
}
|
||||
|
||||
weak_alias (__rintl, rintl)
|
||||
19
sysdeps/i386/fpu/s_significandl.c
Normal file
19
sysdeps/i386/fpu/s_significandl.c
Normal file
@@ -0,0 +1,19 @@
|
||||
/*
|
||||
* Written by J.T. Conklin <jtc@netbsd.org>.
|
||||
* Changes for long double by Ulrich Drepper <drepper@cygnus.com>
|
||||
* Public domain.
|
||||
*/
|
||||
|
||||
#include <math_private.h>
|
||||
|
||||
long double
|
||||
__significandl (long double x)
|
||||
{
|
||||
long double res;
|
||||
|
||||
asm ("fxtract\n"
|
||||
"fstp %%st(0)" : "=t" (res) : "0" (x));
|
||||
return res;
|
||||
}
|
||||
|
||||
weak_alias (__significandl, significandl)
|
||||
Reference in New Issue
Block a user