SHA256
6
0
forked from pool/glibc

Accepting request 24314 from Base:System

Copy from Base:System/glibc based on submit request 24314 from user pbaudis

OBS-URL: https://build.opensuse.org/request/show/24314
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/glibc?expand=0&rev=13
This commit is contained in:
OBS User autobuild
2009-11-16 08:54:19 +00:00
committed by Git OBS Bridge
parent da8f6e33a1
commit 35b77f97b8
49 changed files with 448 additions and 390 deletions

View File

@@ -1,6 +1,7 @@
diff -u sysdeps/x86_64/fpu/libm_inlines_amd.h fpu_new/libm_inlines_amd.h
--- sysdeps/x86_64/fpu/libm_inlines_amd.h 2009-09-11 14:26:54.000000000 -0500
+++ sysdeps/x86_64/fpu/libm_inlines_amd.h 2009-09-11 15:36:54.000000000 -0500
Index: sysdeps/x86_64/fpu/libm_inlines_amd.h
===================================================================
--- sysdeps/x86_64/fpu/libm_inlines_amd.h.orig
+++ sysdeps/x86_64/fpu/libm_inlines_amd.h
@@ -1,8 +1,8 @@
/*
-(C) 2002 Advanced Micro Devices, Inc.
@@ -12,7 +13,7 @@ diff -u sysdeps/x86_64/fpu/libm_inlines_amd.h fpu_new/libm_inlines_amd.h
THIS LIBRARY**
*/
@@ -254,6 +254,33 @@
@@ -254,6 +254,33 @@ static inline void clear_fpsw_flags(int
#if defined(USE_RAISE_FPSW_FLAGS)
@@ -46,7 +47,7 @@ diff -u sysdeps/x86_64/fpu/libm_inlines_amd.h fpu_new/libm_inlines_amd.h
/* Raises floating-point status flags. The argument should be
the bitwise or of the flags to be raised, from the
list above, e.g.
@@ -269,11 +296,7 @@
@@ -269,11 +296,7 @@ static inline void raise_fpsw_flags(int
/* Put the floating-point environment back */
__asm fldenv fenv;
#elif defined(linux)
@@ -59,10 +60,10 @@ diff -u sysdeps/x86_64/fpu/libm_inlines_amd.h fpu_new/libm_inlines_amd.h
#else
#error Unknown machine
#endif
Only in sysdeps/x86_64/fpu/: LICENSE
diff -u sysdeps/x86_64/fpu/s_atan2.c fpu_new/s_atan2.c
--- sysdeps/x86_64/fpu/s_atan2.c 2009-09-11 14:26:54.000000000 -0500
+++ sysdeps/x86_64/fpu/s_atan2.c 2009-09-11 15:36:54.000000000 -0500
Index: sysdeps/x86_64/fpu/s_atan2.c
===================================================================
--- sysdeps/x86_64/fpu/s_atan2.c.orig
+++ sysdeps/x86_64/fpu/s_atan2.c
@@ -1,8 +1,8 @@
/*
-(C) 2002 Advanced Micro Devices, Inc.
@@ -74,7 +75,7 @@ diff -u sysdeps/x86_64/fpu/s_atan2.c fpu_new/s_atan2.c
THIS LIBRARY**
*/
@@ -595,6 +595,14 @@
@@ -595,6 +595,14 @@ double __atan2(double y, double x)
if (yneg) return val_with_flags(-piby2,AMD_F_INEXACT);
else val_with_flags(piby2,AMD_F_INEXACT);
}
@@ -89,9 +90,10 @@ diff -u sysdeps/x86_64/fpu/s_atan2.c fpu_new/s_atan2.c
/* Scale up both x and y if they are both below 1/4.
This avoids any possible later denormalised arithmetic. */
diff -u sysdeps/x86_64/fpu/s_atan2f.c fpu_new/s_atan2f.c
--- sysdeps/x86_64/fpu/s_atan2f.c 2009-09-11 14:26:54.000000000 -0500
+++ sysdeps/x86_64/fpu/s_atan2f.c 2009-09-11 15:36:54.000000000 -0500
Index: sysdeps/x86_64/fpu/s_atan2f.c
===================================================================
--- sysdeps/x86_64/fpu/s_atan2f.c.orig
+++ sysdeps/x86_64/fpu/s_atan2f.c
@@ -1,8 +1,8 @@
/*
-(C) 2002 Advanced Micro Devices, Inc.
@@ -103,7 +105,7 @@ diff -u sysdeps/x86_64/fpu/s_atan2f.c fpu_new/s_atan2f.c
THIS LIBRARY**
*/
@@ -349,6 +349,14 @@
@@ -349,6 +349,14 @@ float __atan2f(float fy, float fx)
if (yneg) return val_with_flags(-piby2,AMD_F_INEXACT);
else val_with_flags(piby2,AMD_F_INEXACT);
}
@@ -118,9 +120,10 @@ diff -u sysdeps/x86_64/fpu/s_atan2f.c fpu_new/s_atan2f.c
if (diffexp > 26)
{ /* abs(y)/abs(x) > 2^26 => arctan(x/y)
diff -u sysdeps/x86_64/fpu/s_atan.c fpu_new/s_atan.c
--- sysdeps/x86_64/fpu/s_atan.c 2009-09-11 14:26:54.000000000 -0500
+++ sysdeps/x86_64/fpu/s_atan.c 2009-09-11 15:36:54.000000000 -0500
Index: sysdeps/x86_64/fpu/s_atan.c
===================================================================
--- sysdeps/x86_64/fpu/s_atan.c.orig
+++ sysdeps/x86_64/fpu/s_atan.c
@@ -1,8 +1,8 @@
/*
-(C) 2002 Advanced Micro Devices, Inc.
@@ -132,7 +135,7 @@ diff -u sysdeps/x86_64/fpu/s_atan.c fpu_new/s_atan.c
THIS LIBRARY**
*/
@@ -67,7 +67,7 @@
@@ -67,7 +67,7 @@ double __atan (double x)
if (aux == 0) /* if x=0, then result is precise */
return x;
else
@@ -141,9 +144,10 @@ diff -u sysdeps/x86_64/fpu/s_atan.c fpu_new/s_atan.c
}
/* Argument reduction to range [-7/16,7/16] */
diff -u sysdeps/x86_64/fpu/s_atanf.c fpu_new/s_atanf.c
--- sysdeps/x86_64/fpu/s_atanf.c 2009-09-11 14:26:54.000000000 -0500
+++ sysdeps/x86_64/fpu/s_atanf.c 2009-09-11 15:36:54.000000000 -0500
Index: sysdeps/x86_64/fpu/s_atanf.c
===================================================================
--- sysdeps/x86_64/fpu/s_atanf.c.orig
+++ sysdeps/x86_64/fpu/s_atanf.c
@@ -1,8 +1,8 @@
/*
-(C) 2002 Advanced Micro Devices, Inc.
@@ -155,7 +159,7 @@ diff -u sysdeps/x86_64/fpu/s_atanf.c fpu_new/s_atanf.c
THIS LIBRARY**
*/
@@ -68,7 +68,7 @@
@@ -68,7 +68,7 @@ float __atanf (float fx)
if (aux == 0) /* if x=0, then result is precise */
return fx;
else
@@ -164,9 +168,10 @@ diff -u sysdeps/x86_64/fpu/s_atanf.c fpu_new/s_atanf.c
}
v = x;
diff -u sysdeps/x86_64/fpu/s_sincos.c fpu_new/s_sincos.c
--- sysdeps/x86_64/fpu/s_sincos.c 2009-09-11 14:26:54.000000000 -0500
+++ sysdeps/x86_64/fpu/s_sincos.c 2009-09-11 15:36:54.000000000 -0500
Index: sysdeps/x86_64/fpu/s_sincos.c
===================================================================
--- sysdeps/x86_64/fpu/s_sincos.c.orig
+++ sysdeps/x86_64/fpu/s_sincos.c
@@ -1,8 +1,8 @@
/*
-(C) 2002 Advanced Micro Devices, Inc.
@@ -180,7 +185,7 @@ diff -u sysdeps/x86_64/fpu/s_sincos.c fpu_new/s_sincos.c
THIS LIBRARY**
*/
@@ -97,7 +97,7 @@
@@ -97,7 +97,7 @@ void __sincos(double x, double *s, doubl
}
else
{
@@ -189,9 +194,10 @@ diff -u sysdeps/x86_64/fpu/s_sincos.c fpu_new/s_sincos.c
*c = val_with_flags(1.0, AMD_F_INEXACT);
}
}
diff -u sysdeps/x86_64/fpu/s_sincosf.c fpu_new/s_sincosf.c
--- sysdeps/x86_64/fpu/s_sincosf.c 2009-09-11 14:26:54.000000000 -0500
+++ sysdeps/x86_64/fpu/s_sincosf.c 2009-09-11 15:36:54.000000000 -0500
Index: sysdeps/x86_64/fpu/s_sincosf.c
===================================================================
--- sysdeps/x86_64/fpu/s_sincosf.c.orig
+++ sysdeps/x86_64/fpu/s_sincosf.c
@@ -1,8 +1,8 @@
/*
-(C) 2002 Advanced Micro Devices, Inc.
@@ -205,9 +211,10 @@ diff -u sysdeps/x86_64/fpu/s_sincosf.c fpu_new/s_sincosf.c
THIS LIBRARY**
*/
diff -u sysdeps/x86_64/fpu/s_tanf.c fpu_new/s_tanf.c
--- sysdeps/x86_64/fpu/s_tanf.c 2009-09-11 14:26:54.000000000 -0500
+++ sysdeps/x86_64/fpu/s_tanf.c 2009-09-11 15:36:54.000000000 -0500
Index: sysdeps/x86_64/fpu/s_tanf.c
===================================================================
--- sysdeps/x86_64/fpu/s_tanf.c.orig
+++ sysdeps/x86_64/fpu/s_tanf.c
@@ -1,8 +1,8 @@
/*
-(C) 2002 Advanced Micro Devices, Inc.
@@ -230,9 +237,10 @@ diff -u sysdeps/x86_64/fpu/s_tanf.c fpu_new/s_tanf.c
If recip is true return -1/tan(x) instead. */
static inline double tanf_piby4(double x, int recip)
{
diff -u sysdeps/x86_64/fpu/w_asin.c fpu_new/w_asin.c
--- sysdeps/x86_64/fpu/w_asin.c 2009-09-11 14:26:54.000000000 -0500
+++ sysdeps/x86_64/fpu/w_asin.c 2009-09-11 15:36:54.000000000 -0500
Index: sysdeps/x86_64/fpu/w_asin.c
===================================================================
--- sysdeps/x86_64/fpu/w_asin.c.orig
+++ sysdeps/x86_64/fpu/w_asin.c
@@ -1,8 +1,8 @@
/*
-(C) 2002 Advanced Micro Devices, Inc.
@@ -244,7 +252,7 @@ diff -u sysdeps/x86_64/fpu/w_asin.c fpu_new/w_asin.c
THIS LIBRARY**
*/
@@ -76,7 +76,8 @@
@@ -76,7 +76,8 @@ double __asin(double x)
if (xexp < -28)
{ /* y small enough that arcsin(x) = x */
@@ -254,9 +262,10 @@ diff -u sysdeps/x86_64/fpu/w_asin.c fpu_new/w_asin.c
}
else if (xnan) return x + x;
else if (xexp >= 0)
diff -u sysdeps/x86_64/fpu/w_asinf.c fpu_new/w_asinf.c
--- sysdeps/x86_64/fpu/w_asinf.c 2009-09-11 14:26:54.000000000 -0500
+++ sysdeps/x86_64/fpu/w_asinf.c 2009-09-11 15:36:54.000000000 -0500
Index: sysdeps/x86_64/fpu/w_asinf.c
===================================================================
--- sysdeps/x86_64/fpu/w_asinf.c.orig
+++ sysdeps/x86_64/fpu/w_asinf.c
@@ -1,8 +1,8 @@
/*
-(C) 2002 Advanced Micro Devices, Inc.
@@ -268,7 +277,7 @@ diff -u sysdeps/x86_64/fpu/w_asinf.c fpu_new/w_asinf.c
THIS LIBRARY**
*/
@@ -75,8 +75,11 @@
@@ -75,8 +75,11 @@ float __asinf(float x)
/* Special cases */
if (xexp < -14)
@@ -281,9 +290,10 @@ diff -u sysdeps/x86_64/fpu/w_asinf.c fpu_new/w_asinf.c
else if (xnan) return x + x;
else if (xexp >= 0)
{
diff -u sysdeps/x86_64/fpu/w_hypotf.c fpu_new/w_hypotf.c
--- sysdeps/x86_64/fpu/w_hypotf.c 2009-09-11 14:26:54.000000000 -0500
+++ sysdeps/x86_64/fpu/w_hypotf.c 2009-09-11 15:36:54.000000000 -0500
Index: sysdeps/x86_64/fpu/w_hypotf.c
===================================================================
--- sysdeps/x86_64/fpu/w_hypotf.c.orig
+++ sysdeps/x86_64/fpu/w_hypotf.c
@@ -1,8 +1,8 @@
/*
-(C) 2002 Advanced Micro Devices, Inc.
@@ -295,7 +305,7 @@ diff -u sysdeps/x86_64/fpu/w_hypotf.c fpu_new/w_hypotf.c
THIS LIBRARY**
*/
@@ -79,6 +79,20 @@
@@ -79,6 +79,20 @@ float __hypotf(float x, float y)
return retval;
}
@@ -316,9 +326,10 @@ diff -u sysdeps/x86_64/fpu/w_hypotf.c fpu_new/w_hypotf.c
dr = (dx*dx + dy*dy);
#if USE_SOFTWARE_SQRT
diff -u sysdeps/x86_64/fpu/w_pow.c fpu_new/w_pow.c
--- sysdeps/x86_64/fpu/w_pow.c 2009-09-11 14:26:54.000000000 -0500
+++ sysdeps/x86_64/fpu/w_pow.c 2009-09-11 15:36:54.000000000 -0500
Index: sysdeps/x86_64/fpu/w_pow.c
===================================================================
--- sysdeps/x86_64/fpu/w_pow.c.orig
+++ sysdeps/x86_64/fpu/w_pow.c
@@ -1,8 +1,8 @@
/*
-(C) 2002 Advanced Micro Devices, Inc.
@@ -330,7 +341,7 @@ diff -u sysdeps/x86_64/fpu/w_pow.c fpu_new/w_pow.c
THIS LIBRARY**
*/
@@ -364,8 +364,20 @@
@@ -364,8 +364,20 @@ double __pow(double x, double y)
{
/* y is -ve */
if (ax == 0)
@@ -353,9 +364,10 @@ diff -u sysdeps/x86_64/fpu/w_pow.c fpu_new/w_pow.c
else if (ax < 0x3ff0000000000000)
{
/* abs(x) < 1.0; return +infinity. */
diff -u sysdeps/x86_64/fpu/w_powf.c fpu_new/w_powf.c
--- sysdeps/x86_64/fpu/w_powf.c 2009-09-11 14:26:54.000000000 -0500
+++ sysdeps/x86_64/fpu/w_powf.c 2009-09-11 15:36:54.000000000 -0500
Index: sysdeps/x86_64/fpu/w_powf.c
===================================================================
--- sysdeps/x86_64/fpu/w_powf.c.orig
+++ sysdeps/x86_64/fpu/w_powf.c
@@ -1,8 +1,8 @@
/*
-(C) 2002 Advanced Micro Devices, Inc.
@@ -367,7 +379,7 @@ diff -u sysdeps/x86_64/fpu/w_powf.c fpu_new/w_powf.c
THIS LIBRARY**
*/
@@ -175,8 +175,20 @@
@@ -175,8 +175,20 @@ float __powf(float x, float y)
{
/* y is -ve */
if (ax == 0)
@@ -390,9 +402,10 @@ diff -u sysdeps/x86_64/fpu/w_powf.c fpu_new/w_powf.c
else if (ax < 0x3f800000)
{
/* abs(x) < 1.0; return +infinity. */
diff -u sysdeps/x86_64/fpu/w_remainder.c fpu_new/w_remainder.c
--- sysdeps/x86_64/fpu/w_remainder.c 2009-09-11 14:26:54.000000000 -0500
+++ sysdeps/x86_64/fpu/w_remainder.c 2009-09-11 15:36:54.000000000 -0500
Index: sysdeps/x86_64/fpu/w_remainder.c
===================================================================
--- sysdeps/x86_64/fpu/w_remainder.c.orig
+++ sysdeps/x86_64/fpu/w_remainder.c
@@ -1,8 +1,8 @@
/*
-(C) 2002 Advanced Micro Devices, Inc.
@@ -404,7 +417,7 @@ diff -u sysdeps/x86_64/fpu/w_remainder.c fpu_new/w_remainder.c
THIS LIBRARY**
*/
@@ -69,11 +69,31 @@
@@ -69,11 +69,31 @@ double __remainder(double x, double y)
{
/* x is NaN or infinity */
if (ux & MANTBITS_DP64)
@@ -440,9 +453,10 @@ diff -u sysdeps/x86_64/fpu/w_remainder.c fpu_new/w_remainder.c
}
else if (yexp > BIASEDEMAX_DP64)
{
diff -u sysdeps/x86_64/fpu/w_remainderf.c fpu_new/w_remainderf.c
--- sysdeps/x86_64/fpu/w_remainderf.c 2009-09-11 14:26:54.000000000 -0500
+++ sysdeps/x86_64/fpu/w_remainderf.c 2009-09-11 15:36:54.000000000 -0500
Index: sysdeps/x86_64/fpu/w_remainderf.c
===================================================================
--- sysdeps/x86_64/fpu/w_remainderf.c.orig
+++ sysdeps/x86_64/fpu/w_remainderf.c
@@ -1,8 +1,8 @@
/*
-(C) 2002 Advanced Micro Devices, Inc.
@@ -454,7 +468,7 @@ diff -u sysdeps/x86_64/fpu/w_remainderf.c fpu_new/w_remainderf.c
THIS LIBRARY**
*/
@@ -50,11 +50,31 @@
@@ -50,11 +50,31 @@ float __remainderf(float x, float y)
{
/* x is NaN or infinity */
if (ux & MANTBITS_DP64)
@@ -490,9 +504,10 @@ diff -u sysdeps/x86_64/fpu/w_remainderf.c fpu_new/w_remainderf.c
}
else if (yexp > BIASEDEMAX_DP64)
{
diff -u sysdeps/x86_64/fpu/w_sinh.c fpu_new/w_sinh.c
--- sysdeps/x86_64/fpu/w_sinh.c 2009-09-11 14:26:54.000000000 -0500
+++ sysdeps/x86_64/fpu/w_sinh.c 2009-09-11 15:36:54.000000000 -0500
Index: sysdeps/x86_64/fpu/w_sinh.c
===================================================================
--- sysdeps/x86_64/fpu/w_sinh.c.orig
+++ sysdeps/x86_64/fpu/w_sinh.c
@@ -1,8 +1,8 @@
/*
-(C) 2002 Advanced Micro Devices, Inc.
@@ -504,7 +519,7 @@ diff -u sysdeps/x86_64/fpu/w_sinh.c fpu_new/w_sinh.c
THIS LIBRARY**
*/
@@ -249,7 +249,7 @@
@@ -249,7 +249,7 @@ double __sinh(double x)
/* with no inexact */
return x;
else
@@ -513,9 +528,10 @@ diff -u sysdeps/x86_64/fpu/w_sinh.c fpu_new/w_sinh.c
}
else if (aux >= 0x7ff0000000000000) /* |x| is NaN or Inf */
return x + x;
diff -u sysdeps/x86_64/fpu/w_sinhf.c fpu_new/w_sinhf.c
--- sysdeps/x86_64/fpu/w_sinhf.c 2009-09-11 14:26:54.000000000 -0500
+++ sysdeps/x86_64/fpu/w_sinhf.c 2009-09-11 15:36:54.000000000 -0500
Index: sysdeps/x86_64/fpu/w_sinhf.c
===================================================================
--- sysdeps/x86_64/fpu/w_sinhf.c.orig
+++ sysdeps/x86_64/fpu/w_sinhf.c
@@ -1,8 +1,8 @@
/*
-(C) 2002 Advanced Micro Devices, Inc.
@@ -541,7 +557,7 @@ diff -u sysdeps/x86_64/fpu/w_sinhf.c fpu_new/w_sinhf.c
/* Deal with errno for out-of-range result */
#include "libm_errno_amd.h"
@@ -166,7 +168,8 @@
@@ -166,7 +168,8 @@ float __sinhf(float fx)
if (aux < 0x3f10000000000000) /* |x| small enough that sinh(x) = x */
{
if (aux == 0) return x; /* with no inexact */