aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2015-03-24 23:30:19 +0000
committerJoseph Myers <joseph@codesourcery.com>2015-03-24 23:30:19 +0000
commita737e8263a47acacdc70407729c4808c2873fdec (patch)
tree6b1dc3173de276e0298e56bbcc8eded285b94881
parent7c84a5042ff1ca7b97093079b25eb5e0e7e7e1a2 (diff)
downloadglibc-a737e8263a47acacdc70407729c4808c2873fdec.tar
glibc-a737e8263a47acacdc70407729c4808c2873fdec.tar.gz
glibc-a737e8263a47acacdc70407729c4808c2873fdec.tar.bz2
glibc-a737e8263a47acacdc70407729c4808c2873fdec.zip
Regenerate x86_64, x86 ulps from scratch.
The x86_64 and x86 libm-test-ulps files hadn't been regenerated from scratch for some time, as evidenced by the presence of entries for *_tonearest functions (those tests duplicated the default-rounding-mode tests, and such duplicates are no longer run). The aarch64, alpha, hppa, ia64, m68k, microblaze, powerpc, s390, sh, sparc, tile files similarly could do with from-scratch regeneration as evidenced by the presence of such entries. (Truncate the existing file then run "make regen-ulps" and move the resulting file into place.) This patch regenerates the x86_64 and x86 files from scratch. It's likely some of the reduced / removed ulps will need restoring because they appear on processors or compiler versions other than the one I tested on, but in such cases I'd like to first see if I can generate new tests that show such ulps on the Intel processor I'm testing on, to reduce the effects from different people using different processors and compilers to regenerate the ulps. * sysdeps/i386/fpu/libm-test-ulps: Regenerated. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
-rw-r--r--ChangeLog3
-rw-r--r--sysdeps/i386/fpu/libm-test-ulps179
-rw-r--r--sysdeps/x86_64/fpu/libm-test-ulps102
3 files changed, 42 insertions, 242 deletions
diff --git a/ChangeLog b/ChangeLog
index fa79590929..594410e7c2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2015-03-24 Joseph Myers <joseph@codesourcery.com>
+ * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
+ * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
+
* math/auto-libm-test-in: Add more tests of log2.
* math/auto-libm-test-out: Regenerated.
* sysdeps/i386/fpu/libm-test-ulps: Update.
diff --git a/sysdeps/i386/fpu/libm-test-ulps b/sysdeps/i386/fpu/libm-test-ulps
index e03dbaeeae..253c3e6126 100644
--- a/sysdeps/i386/fpu/libm-test-ulps
+++ b/sysdeps/i386/fpu/libm-test-ulps
@@ -9,10 +9,6 @@ Function: "acos_downward":
ildouble: 1
ldouble: 1
-Function: "acos_tonearest":
-ildouble: 1
-ldouble: 1
-
Function: "acos_towardzero":
ildouble: 1
ldouble: 1
@@ -38,18 +34,6 @@ ildouble: 1
ldouble: 1
Function: "asin_downward":
-double: 1
-float: 1
-idouble: 1
-ifloat: 1
-ildouble: 1
-ldouble: 1
-
-Function: "asin_towardzero":
-double: 1
-float: 1
-idouble: 1
-ifloat: 1
ildouble: 1
ldouble: 1
@@ -180,9 +164,9 @@ ildouble: 2
ldouble: 2
Function: Real part of "cacos_downward":
-double: 2
+double: 1
float: 1
-idouble: 2
+idouble: 1
ifloat: 1
ildouble: 2
ldouble: 2
@@ -196,9 +180,9 @@ ildouble: 5
ldouble: 5
Function: Real part of "cacos_towardzero":
-double: 2
+double: 1
float: 1
-idouble: 2
+idouble: 1
ifloat: 1
ildouble: 2
ldouble: 2
@@ -252,9 +236,9 @@ ildouble: 5
ldouble: 5
Function: Imaginary part of "cacosh_downward":
-double: 2
+double: 1
float: 1
-idouble: 2
+idouble: 1
ifloat: 1
ildouble: 2
ldouble: 2
@@ -268,9 +252,9 @@ ildouble: 5
ldouble: 5
Function: Imaginary part of "cacosh_towardzero":
-double: 2
+double: 1
float: 1
-idouble: 2
+idouble: 1
ifloat: 1
ildouble: 2
ldouble: 2
@@ -749,9 +733,7 @@ ldouble: 2
Function: Imaginary part of "clog10":
double: 1
-float: 1
idouble: 1
-ifloat: 1
ildouble: 2
ldouble: 2
@@ -764,10 +746,10 @@ ildouble: 4
ldouble: 4
Function: Imaginary part of "clog10_downward":
-double: 2
-float: 2
-idouble: 2
-ifloat: 2
+double: 1
+float: 1
+idouble: 1
+ifloat: 1
ildouble: 2
ldouble: 2
@@ -780,10 +762,10 @@ ildouble: 4
ldouble: 4
Function: Imaginary part of "clog10_towardzero":
-double: 2
-float: 2
-idouble: 2
-ifloat: 2
+double: 1
+float: 1
+idouble: 1
+ifloat: 1
ildouble: 2
ldouble: 2
@@ -796,10 +778,10 @@ ildouble: 4
ldouble: 4
Function: Imaginary part of "clog10_upward":
-double: 2
-float: 2
-idouble: 2
-ifloat: 2
+double: 1
+float: 1
+idouble: 1
+ifloat: 1
ildouble: 2
ldouble: 2
@@ -852,36 +834,24 @@ 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: 2
ldouble: 2
-Function: "cos_tonearest":
-ildouble: 1
-ldouble: 1
-
Function: "cos_towardzero":
double: 1
-float: 1
idouble: 1
-ifloat: 1
ildouble: 1
ldouble: 1
Function: "cos_upward":
double: 1
-float: 1
idouble: 1
-ifloat: 1
ildouble: 2
ldouble: 2
@@ -896,10 +866,6 @@ ifloat: 1
ildouble: 2
ldouble: 3
-Function: "cosh_tonearest":
-ildouble: 1
-ldouble: 2
-
Function: "cosh_towardzero":
double: 1
idouble: 1
@@ -1019,9 +985,9 @@ ldouble: 3
Function: Imaginary part of "csin_towardzero":
double: 1
-float: 2
+float: 1
idouble: 1
-ifloat: 2
+ifloat: 1
ildouble: 3
ldouble: 3
@@ -1189,35 +1155,19 @@ ifloat: 2
ildouble: 4
ldouble: 4
-Function: Real part of "ctan_tonearest":
-double: 1
-float: 1
-idouble: 1
-ifloat: 1
-ildouble: 2
-ldouble: 2
-
-Function: Imaginary part of "ctan_tonearest":
-double: 1
-float: 1
-idouble: 1
-ifloat: 1
-ildouble: 1
-ldouble: 1
-
Function: Real part of "ctan_towardzero":
double: 3
-float: 2
+float: 1
idouble: 3
-ifloat: 2
+ifloat: 1
ildouble: 5
ldouble: 5
Function: Imaginary part of "ctan_towardzero":
double: 2
-float: 3
+float: 1
idouble: 2
-ifloat: 3
+ifloat: 1
ildouble: 4
ldouble: 4
@@ -1269,35 +1219,19 @@ ifloat: 1
ildouble: 4
ldouble: 4
-Function: Real part of "ctanh_tonearest":
-double: 1
-float: 1
-idouble: 1
-ifloat: 1
-ildouble: 1
-ldouble: 1
-
-Function: Imaginary part of "ctanh_tonearest":
-double: 1
-float: 1
-idouble: 1
-ifloat: 1
-ildouble: 2
-ldouble: 2
-
Function: Real part of "ctanh_towardzero":
double: 2
-float: 3
+float: 1
idouble: 2
-ifloat: 3
+ifloat: 1
ildouble: 4
ldouble: 4
Function: Imaginary part of "ctanh_towardzero":
double: 2
-float: 2
+float: 1
idouble: 2
-ifloat: 2
+ifloat: 1
ildouble: 3
ldouble: 3
@@ -1311,9 +1245,9 @@ ldouble: 3
Function: Imaginary part of "ctanh_upward":
double: 3
-float: 3
+float: 2
idouble: 3
-ifloat: 3
+ifloat: 2
ildouble: 3
ldouble: 3
@@ -1369,10 +1303,6 @@ ifloat: 1
ildouble: 2
ldouble: 2
-Function: "exp10_tonearest":
-ildouble: 1
-ldouble: 1
-
Function: "exp10_towardzero":
double: 1
float: 1
@@ -1413,10 +1343,6 @@ ifloat: 1
ildouble: 1
ldouble: 1
-Function: "expm1_tonearest":
-ildouble: 1
-ldouble: 1
-
Function: "expm1_towardzero":
double: 1
float: 1
@@ -1721,93 +1647,63 @@ ldouble: 1
Function: "pow_downward":
double: 1
-float: 1
idouble: 1
-ifloat: 1
ildouble: 4
ldouble: 4
-Function: "pow_tonearest":
-ildouble: 1
-ldouble: 1
-
Function: "pow_towardzero":
double: 1
-float: 1
idouble: 1
-ifloat: 1
ildouble: 1
ldouble: 1
Function: "pow_upward":
double: 1
-float: 1
idouble: 1
-ifloat: 1
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: 2
ldouble: 2
-Function: "sin_tonearest":
-ildouble: 1
-ldouble: 1
-
Function: "sin_towardzero":
double: 1
-float: 1
idouble: 1
-ifloat: 1
ildouble: 1
ldouble: 1
Function: "sin_upward":
double: 1
-float: 1
idouble: 1
-ifloat: 1
ildouble: 2
ldouble: 2
Function: "sincos":
-float: 1
-ifloat: 1
ildouble: 1
ldouble: 1
Function: "sincos_downward":
double: 1
-float: 1
idouble: 1
-ifloat: 1
ildouble: 2
ldouble: 2
Function: "sincos_towardzero":
double: 1
-float: 1
idouble: 1
-ifloat: 1
ildouble: 1
ldouble: 1
Function: "sincos_upward":
double: 1
-float: 1
idouble: 1
-ifloat: 1
ildouble: 2
ldouble: 2
@@ -1815,15 +1711,10 @@ Function: "sinh":
ildouble: 1
Function: "sinh_downward":
-float: 1
ildouble: 1
ldouble: 1
-Function: "sinh_tonearest":
-ildouble: 1
-
Function: "sinh_towardzero":
-float: 1
ildouble: 1
ldouble: 1
@@ -1847,12 +1738,6 @@ ifloat: 1
ildouble: 1
ldouble: 1
-Function: "tan_tonearest":
-float: 1
-ifloat: 1
-ildouble: 1
-ldouble: 1
-
Function: "tan_towardzero":
double: 1
float: 1
diff --git a/sysdeps/x86_64/fpu/libm-test-ulps b/sysdeps/x86_64/fpu/libm-test-ulps
index 39dfff8e1e..0c3943bfab 100644
--- a/sysdeps/x86_64/fpu/libm-test-ulps
+++ b/sysdeps/x86_64/fpu/libm-test-ulps
@@ -11,10 +11,6 @@ ifloat: 1
ildouble: 1
ldouble: 1
-Function: "acos_tonearest":
-ildouble: 1
-ldouble: 1
-
Function: "acos_towardzero":
float: 1
ifloat: 1
@@ -68,12 +64,8 @@ ildouble: 1
ldouble: 1
Function: "asin_towardzero":
-double: 1
float: 1
-idouble: 1
ifloat: 1
-ildouble: 1
-ldouble: 1
Function: "asin_upward":
double: 1
@@ -907,10 +899,6 @@ idouble: 1
ildouble: 2
ldouble: 2
-Function: "cos_tonearest":
-ildouble: 1
-ldouble: 1
-
Function: "cos_towardzero":
double: 1
idouble: 1
@@ -939,14 +927,6 @@ ifloat: 1
ildouble: 2
ldouble: 3
-Function: "cosh_tonearest":
-double: 1
-float: 1
-idouble: 1
-ifloat: 1
-ildouble: 1
-ldouble: 2
-
Function: "cosh_towardzero":
double: 1
float: 1
@@ -960,7 +940,7 @@ double: 1
float: 2
idouble: 1
ifloat: 2
-ildouble: 2
+ildouble: 1
ldouble: 3
Function: Real part of "cpow":
@@ -1237,22 +1217,6 @@ ifloat: 2
ildouble: 4
ldouble: 4
-Function: Real part of "ctan_tonearest":
-double: 1
-float: 1
-idouble: 1
-ifloat: 1
-ildouble: 2
-ldouble: 2
-
-Function: Imaginary part of "ctan_tonearest":
-double: 2
-float: 2
-idouble: 2
-ifloat: 2
-ildouble: 1
-ldouble: 1
-
Function: Real part of "ctan_towardzero":
double: 5
float: 3
@@ -1317,22 +1281,6 @@ ifloat: 5
ildouble: 4
ldouble: 4
-Function: Real part of "ctanh_tonearest":
-double: 2
-float: 2
-idouble: 2
-ifloat: 2
-ildouble: 1
-ldouble: 1
-
-Function: Imaginary part of "ctanh_tonearest":
-double: 2
-float: 2
-idouble: 2
-ifloat: 2
-ildouble: 2
-ldouble: 2
-
Function: Real part of "ctanh_towardzero":
double: 2
float: 2
@@ -1431,12 +1379,6 @@ ifloat: 1
ildouble: 2
ldouble: 2
-Function: "exp10_tonearest":
-double: 1
-idouble: 1
-ildouble: 1
-ldouble: 1
-
Function: "exp10_towardzero":
double: 1
float: 1
@@ -1483,14 +1425,6 @@ ifloat: 1
ildouble: 1
ldouble: 1
-Function: "expm1_tonearest":
-double: 1
-float: 1
-idouble: 1
-ifloat: 1
-ildouble: 1
-ldouble: 1
-
Function: "expm1_towardzero":
double: 1
float: 1
@@ -1827,12 +1761,6 @@ ifloat: 1
ildouble: 4
ldouble: 4
-Function: "pow_tonearest":
-float: 1
-ifloat: 1
-ildouble: 1
-ldouble: 1
-
Function: "pow_towardzero":
double: 1
float: 1
@@ -1859,10 +1787,6 @@ idouble: 1
ildouble: 2
ldouble: 2
-Function: "sin_tonearest":
-ildouble: 1
-ldouble: 1
-
Function: "sin_towardzero":
double: 1
idouble: 1
@@ -1897,20 +1821,12 @@ idouble: 1
ildouble: 2
ldouble: 2
-Function: "sinh":
-ildouble: 1
-ldouble: 1
-
Function: "sinh_downward":
double: 1
idouble: 1
ildouble: 1
ldouble: 1
-Function: "sinh_tonearest":
-ildouble: 1
-ldouble: 1
-
Function: "sinh_towardzero":
double: 1
idouble: 1
@@ -1937,10 +1853,6 @@ ifloat: 2
ildouble: 1
ldouble: 1
-Function: "tan_tonearest":
-ildouble: 1
-ldouble: 1
-
Function: "tan_towardzero":
double: 1
float: 1
@@ -2031,25 +1943,25 @@ ldouble: 2
Function: "y1_downward":
double: 3
-float: 7
+float: 2
idouble: 3
-ifloat: 7
+ifloat: 2
ildouble: 7
ldouble: 7
Function: "y1_towardzero":
double: 3
-float: 3
+float: 2
idouble: 3
-ifloat: 3
+ifloat: 2
ildouble: 5
ldouble: 5
Function: "y1_upward":
double: 7
-float: 5
+float: 2
idouble: 7
-ifloat: 5
+ifloat: 2
ildouble: 7
ldouble: 7