mirror of git://sourceware.org/git/glibc.git
Fix last x86-64 mathinline change
Use correct function names.
This commit is contained in:
parent
97c066e65a
commit
b171c13768
|
@ -1,5 +1,9 @@
|
||||||
2011-10-17 Ulrich Drepper <drepper@gmail.com>
|
2011-10-17 Ulrich Drepper <drepper@gmail.com>
|
||||||
|
|
||||||
|
* sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
|
||||||
|
name.
|
||||||
|
(floorf): Likewise.
|
||||||
|
|
||||||
* nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
|
* nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
|
||||||
|
|
||||||
2011-10-17 Andreas Schwab <schwab@redhat.com>
|
2011-10-17 Andreas Schwab <schwab@redhat.com>
|
||||||
|
|
|
@ -187,7 +187,7 @@ __END_NAMESPACE_C99
|
||||||
__BEGIN_NAMESPACE_STD
|
__BEGIN_NAMESPACE_STD
|
||||||
/* Largest integer not greater than X. */
|
/* Largest integer not greater than X. */
|
||||||
__MATH_INLINE double
|
__MATH_INLINE double
|
||||||
__NTH (ceil (double __x))
|
__NTH (floor (double __x))
|
||||||
{
|
{
|
||||||
double __res;
|
double __res;
|
||||||
__asm ("roundsd $1, %1, %0" : "=x" (__res) : "x" (__x));
|
__asm ("roundsd $1, %1, %0" : "=x" (__res) : "x" (__x));
|
||||||
|
@ -197,7 +197,7 @@ __END_NAMESPACE_STD
|
||||||
|
|
||||||
__BEGIN_NAMESPACE_C99
|
__BEGIN_NAMESPACE_C99
|
||||||
__MATH_INLINE float
|
__MATH_INLINE float
|
||||||
__NTH (ceilf (float __x))
|
__NTH (floorf (float __x))
|
||||||
{
|
{
|
||||||
float __res;
|
float __res;
|
||||||
__asm ("roundss $1, %1, %0" : "=x" (__res) : "x" (__x));
|
__asm ("roundss $1, %1, %0" : "=x" (__res) : "x" (__x));
|
||||||
|
|
Loading…
Reference in New Issue