about summary refs log tree commit diff
path: root/sysdeps/i386/fpu
diff options
context:
space:
mode:
authorAurelien Jarno <aurelien@aurel32.net>2015-12-13 22:55:34 +0100
committerAurelien Jarno <aurelien@aurel32.net>2015-12-20 16:36:45 +0100
commit5537f466d620552e7f24d52a9b97ced736d2abb1 (patch)
treee42c28925b9cb4b816e358b9d5cfb62d9e105af7 /sysdeps/i386/fpu
parent83d776f979342f923b5c3d2a5b43afab841c6086 (diff)
downloadglibc-5537f466d620552e7f24d52a9b97ced736d2abb1.tar.gz
glibc-5537f466d620552e7f24d52a9b97ced736d2abb1.tar.xz
glibc-5537f466d620552e7f24d52a9b97ced736d2abb1.zip
i386: move ULPs to i686/multiarch and regenerate new ones for i386
The i386 ULPs are actually the i686/multiarch ones. The i686/multiarch
float ULPs are more precise as the SSE2 version (when available) uses
double for the cosf and sinf functions.

On the other hand the higher precision of the x86 FPU improves the
precision for a few other math functions.

	* sysdeps/i386/fpu/libm-test-ulps: Move to ....
	* sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
	* sysdeps/i386/fpu/libm-test-ulps: Regenerate.
Diffstat (limited to 'sysdeps/i386/fpu')
-rw-r--r--sysdeps/i386/fpu/libm-test-ulps126
1 files changed, 70 insertions, 56 deletions
diff --git a/sysdeps/i386/fpu/libm-test-ulps b/sysdeps/i386/fpu/libm-test-ulps
index bbb644a591..84da4753eb 100644
--- a/sysdeps/i386/fpu/libm-test-ulps
+++ b/sysdeps/i386/fpu/libm-test-ulps
@@ -725,9 +725,9 @@ ldouble: 1
 
 Function: Real part of "ccosh_downward":
 double: 1
-float: 2
+float: 1
 idouble: 1
-ifloat: 2
+ifloat: 1
 ildouble: 3
 ldouble: 3
 
@@ -960,24 +960,32 @@ ildouble: 1
 ldouble: 1
 
 Function: "cos":
+float: 1
+ifloat: 1
 ildouble: 1
 ldouble: 1
 
 Function: "cos_downward":
 double: 1
+float: 1
 idouble: 1
+ifloat: 1
 ildouble: 3
 ldouble: 3
 
 Function: "cos_towardzero":
 double: 1
+float: 1
 idouble: 1
+ifloat: 1
 ildouble: 2
 ldouble: 2
 
 Function: "cos_upward":
 double: 1
+float: 1
 idouble: 1
+ifloat: 1
 ildouble: 2
 ldouble: 2
 
@@ -1021,9 +1029,7 @@ ildouble: 3
 ldouble: 3
 
 Function: Imaginary part of "cpow":
-double: 1
 float: 2
-idouble: 1
 ifloat: 2
 ildouble: 4
 ldouble: 4
@@ -1085,9 +1091,7 @@ ildouble: 1
 ldouble: 1
 
 Function: Imaginary part of "csin":
-double: 1
 float: 1
-idouble: 1
 ifloat: 1
 
 Function: Real part of "csin_downward":
@@ -1127,22 +1131,18 @@ double: 3
 float: 2
 idouble: 3
 ifloat: 2
-ildouble: 3
-ldouble: 3
+ildouble: 2
+ldouble: 2
 
 Function: Imaginary part of "csin_upward":
 double: 2
 float: 2
 idouble: 2
 ifloat: 2
-ildouble: 3
-ldouble: 3
+ildouble: 2
+ldouble: 2
 
 Function: Real part of "csinh":
-double: 1
-float: 1
-idouble: 1
-ifloat: 1
 ildouble: 1
 ldouble: 1
 
@@ -1156,9 +1156,9 @@ ldouble: 1
 
 Function: Real part of "csinh_downward":
 double: 1
-float: 2
+float: 1
 idouble: 1
-ifloat: 2
+ifloat: 1
 ildouble: 3
 ldouble: 3
 
@@ -1172,9 +1172,9 @@ ldouble: 3
 
 Function: Real part of "csinh_towardzero":
 double: 1
-float: 2
+float: 1
 idouble: 1
-ifloat: 2
+ifloat: 1
 ildouble: 3
 ldouble: 3
 
@@ -1191,16 +1191,16 @@ double: 2
 float: 2
 idouble: 2
 ifloat: 2
-ildouble: 3
-ldouble: 3
+ildouble: 2
+ldouble: 2
 
 Function: Imaginary part of "csinh_upward":
 double: 3
 float: 2
 idouble: 3
 ifloat: 2
-ildouble: 3
-ldouble: 3
+ildouble: 2
+ldouble: 2
 
 Function: Real part of "csqrt":
 double: 1
@@ -1282,33 +1282,33 @@ ldouble: 1
 
 Function: Real part of "ctan_downward":
 double: 1
-float: 2
+float: 1
 idouble: 1
-ifloat: 2
+ifloat: 1
 ildouble: 5
 ldouble: 5
 
 Function: Imaginary part of "ctan_downward":
 double: 2
-float: 2
+float: 1
 idouble: 2
-ifloat: 2
+ifloat: 1
 ildouble: 4
 ldouble: 4
 
 Function: Real part of "ctan_towardzero":
 double: 3
-float: 1
+float: 2
 idouble: 3
-ifloat: 1
+ifloat: 2
 ildouble: 5
 ldouble: 5
 
 Function: Imaginary part of "ctan_towardzero":
 double: 2
-float: 1
+float: 3
 idouble: 2
-ifloat: 1
+ifloat: 3
 ildouble: 4
 ldouble: 4
 
@@ -1362,17 +1362,17 @@ ldouble: 4
 
 Function: Real part of "ctanh_towardzero":
 double: 2
-float: 1
+float: 3
 idouble: 2
-ifloat: 1
+ifloat: 3
 ildouble: 4
 ldouble: 4
 
 Function: Imaginary part of "ctanh_towardzero":
 double: 2
-float: 1
+float: 2
 idouble: 2
-ifloat: 1
+ifloat: 2
 ildouble: 3
 ldouble: 3
 
@@ -1526,9 +1526,7 @@ ldouble: 2
 
 Function: "exp_upward":
 double: 1
-float: 1
 idouble: 1
-ifloat: 1
 ildouble: 1
 ldouble: 1
 
@@ -1564,9 +1562,9 @@ ldouble: 4
 
 Function: "gamma":
 double: 3
-float: 3
+float: 2
 idouble: 3
-ifloat: 3
+ifloat: 2
 ildouble: 4
 ldouble: 4
 
@@ -1580,9 +1578,9 @@ ldouble: 7
 
 Function: "gamma_towardzero":
 double: 4
-float: 4
+float: 2
 idouble: 4
-ifloat: 4
+ifloat: 2
 ildouble: 7
 ldouble: 7
 
@@ -1716,9 +1714,9 @@ ldouble: 5
 
 Function: "lgamma":
 double: 3
-float: 3
+float: 2
 idouble: 3
-ifloat: 3
+ifloat: 2
 ildouble: 4
 ldouble: 4
 
@@ -1732,9 +1730,9 @@ ldouble: 7
 
 Function: "lgamma_towardzero":
 double: 4
-float: 4
+float: 2
 idouble: 4
-ifloat: 4
+ifloat: 2
 ildouble: 7
 ldouble: 7
 
@@ -1913,46 +1911,62 @@ ildouble: 2
 ldouble: 2
 
 Function: "sin":
+float: 1
+ifloat: 1
 ildouble: 1
 ldouble: 1
 
 Function: "sin_downward":
 double: 1
+float: 1
 idouble: 1
+ifloat: 1
 ildouble: 3
 ldouble: 3
 
 Function: "sin_towardzero":
 double: 1
+float: 1
 idouble: 1
+ifloat: 1
 ildouble: 2
 ldouble: 2
 
 Function: "sin_upward":
 double: 1
+float: 1
 idouble: 1
+ifloat: 1
 ildouble: 3
 ldouble: 3
 
 Function: "sincos":
+float: 1
+ifloat: 1
 ildouble: 1
 ldouble: 1
 
 Function: "sincos_downward":
 double: 1
+float: 1
 idouble: 1
+ifloat: 1
 ildouble: 3
 ldouble: 3
 
 Function: "sincos_towardzero":
 double: 1
+float: 1
 idouble: 1
+ifloat: 1
 ildouble: 2
 ldouble: 2
 
 Function: "sincos_upward":
 double: 1
+float: 1
 idouble: 1
+ifloat: 1
 ildouble: 3
 ldouble: 3
 
@@ -2055,25 +2069,25 @@ ldouble: 5
 
 Function: "tgamma_downward":
 double: 3
-float: 4
+float: 3
 idouble: 3
-ifloat: 4
+ifloat: 3
 ildouble: 5
 ldouble: 5
 
 Function: "tgamma_towardzero":
-double: 4
-float: 4
-idouble: 4
-ifloat: 4
+double: 3
+float: 3
+idouble: 3
+ifloat: 3
 ildouble: 5
 ldouble: 5
 
 Function: "tgamma_upward":
-double: 4
-float: 4
-idouble: 4
-ifloat: 4
+double: 3
+float: 3
+idouble: 3
+ifloat: 3
 ildouble: 5
 ldouble: 5
 
@@ -2135,9 +2149,9 @@ ldouble: 5
 
 Function: "y1_upward":
 double: 1
-float: 3
+float: 2
 idouble: 1
-ifloat: 3
+ifloat: 2
 ildouble: 7
 ldouble: 7