From aee47c934e6b6256f58a3d75815a43fc33237a80 Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Fri, 20 Jan 2017 23:58:49 +0000 Subject: [PATCH] Remove very old libm-test-ulps entries. I noticed that some libm-test-ulps files still had long-obsolete entries for *_tonearest functions, which will no longer be used since functions with FE_TONEAREST explicitly set aren't tested separately from those functions with it as the default rounding mode any more. This patch removes those obsolete entries. However, as they are a sign of libm-test-ulps not having been regenerated from scratch for a long time, I strongly advise people testing on those platforms to remove / truncate the libm-test-ulps file, run "make regen-ulps" and commit the regenerated-from-scratch file. (Ideally any failures of libm tests still present after regeneration would be investigated / fixed - there are several open "math" bugs spread across these platforms - but simply regenerating from scratch improves things.) * sysdeps/hppa/fpu/libm-test-ulps: Remove *_tonearest entries. * sysdeps/ia64/fpu/libm-test-ulps: Likewise. * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise. * sysdeps/microblaze/libm-test-ulps: Likewise. * sysdeps/sh/libm-test-ulps: Likewise. --- ChangeLog | 6 ++++ sysdeps/hppa/fpu/libm-test-ulps | 52 ---------------------------------- sysdeps/ia64/fpu/libm-test-ulps | 44 ---------------------------- sysdeps/m68k/m680x0/fpu/libm-test-ulps | 8 ------ sysdeps/microblaze/libm-test-ulps | 52 ---------------------------------- sysdeps/sh/libm-test-ulps | 52 ---------------------------------- 6 files changed, 6 insertions(+), 208 deletions(-) diff --git a/ChangeLog b/ChangeLog index c600b440af..a113ad821d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 2017-01-20 Joseph Myers + * sysdeps/hppa/fpu/libm-test-ulps: Remove *_tonearest entries. + * sysdeps/ia64/fpu/libm-test-ulps: Likewise. + * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise. + * sysdeps/microblaze/libm-test-ulps: Likewise. + * sysdeps/sh/libm-test-ulps: Likewise. + * math/README.libm-test: Update list of characters for input and output types. diff --git a/sysdeps/hppa/fpu/libm-test-ulps b/sysdeps/hppa/fpu/libm-test-ulps index fcd8e49fc7..b5c8e7ccde 100644 --- a/sysdeps/hppa/fpu/libm-test-ulps +++ b/sysdeps/hppa/fpu/libm-test-ulps @@ -777,10 +777,6 @@ float: 2 idouble: 1 ifloat: 2 -Function: "cos_tonearest": -float: 1 -ifloat: 1 - Function: "cos_towardzero": double: 1 float: 1 @@ -805,12 +801,6 @@ float: 1 idouble: 1 ifloat: 1 -Function: "cosh_tonearest": -double: 1 -float: 1 -idouble: 1 -ifloat: 1 - Function: "cosh_towardzero": double: 1 float: 1 @@ -1039,18 +1029,6 @@ float: 1 idouble: 2 ifloat: 1 -Function: Real part of "ctan_tonearest": -double: 1 -float: 1 -idouble: 1 -ifloat: 1 - -Function: Imaginary part of "ctan_tonearest": -double: 2 -float: 1 -idouble: 2 -ifloat: 1 - Function: Real part of "ctan_towardzero": double: 5 float: 3 @@ -1101,18 +1079,6 @@ float: 5 idouble: 6 ifloat: 5 -Function: Real part of "ctanh_tonearest": -double: 2 -float: 1 -idouble: 2 -ifloat: 1 - -Function: Imaginary part of "ctanh_tonearest": -double: 2 -float: 2 -idouble: 2 -ifloat: 2 - Function: Real part of "ctanh_towardzero": double: 2 float: 2 @@ -1207,10 +1173,6 @@ float: 1 idouble: 2 ifloat: 1 -Function: "exp10_tonearest": -double: 1 -idouble: 1 - Function: "exp10_towardzero": double: 2 float: 1 @@ -1279,12 +1241,6 @@ float: 1 idouble: 1 ifloat: 1 -Function: "expm1_tonearest": -double: 1 -float: 1 -idouble: 1 -ifloat: 1 - Function: "expm1_towardzero": double: 1 float: 2 @@ -1567,10 +1523,6 @@ float: 1 idouble: 1 ifloat: 1 -Function: "pow_tonearest": -float: 1 -ifloat: 1 - Function: "pow_towardzero": double: 1 float: 1 @@ -1593,10 +1545,6 @@ float: 2 idouble: 1 ifloat: 2 -Function: "sin_tonearest": -float: 1 -ifloat: 1 - Function: "sin_towardzero": double: 1 float: 1 diff --git a/sysdeps/ia64/fpu/libm-test-ulps b/sysdeps/ia64/fpu/libm-test-ulps index 44230afd78..2776ba7fae 100644 --- a/sysdeps/ia64/fpu/libm-test-ulps +++ b/sysdeps/ia64/fpu/libm-test-ulps @@ -191,10 +191,6 @@ ifloat: 1 ildouble: 1 ldouble: 1 -Function: "cos_tonearest": -double: 1 -idouble: 1 - Function: "cos_towardzero": double: 1 float: 1 @@ -295,22 +291,6 @@ ifloat: 2 ildouble: 2 ldouble: 2 -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: 1 -idouble: 2 -ifloat: 1 -ildouble: 2 -ldouble: 2 - Function: Real part of "ctan_towardzero": double: 2 float: 1 @@ -375,22 +355,6 @@ ifloat: 4 ildouble: 2 ldouble: 2 -Function: Real part of "ctanh_tonearest": -double: 2 -float: 1 -idouble: 2 -ifloat: 1 -ildouble: 1 -ldouble: 1 - -Function: Imaginary part of "ctanh_tonearest": -double: 2 -float: 1 -idouble: 2 -ifloat: 1 -ildouble: 2 -ldouble: 2 - Function: Real part of "ctanh_towardzero": double: 3 float: 2 @@ -431,10 +395,6 @@ Function: "expm1_downward": ildouble: 1 ldouble: 1 -Function: "expm1_tonearest": -ildouble: 1 -ldouble: 1 - Function: "j0": double: 2 float: 2 @@ -489,10 +449,6 @@ idouble: 1 ildouble: 1 ldouble: 1 -Function: "sin_tonearest": -double: 1 -idouble: 1 - Function: "sin_towardzero": double: 1 idouble: 1 diff --git a/sysdeps/m68k/m680x0/fpu/libm-test-ulps b/sysdeps/m68k/m680x0/fpu/libm-test-ulps index 7667d34b84..2247a4af60 100644 --- a/sysdeps/m68k/m680x0/fpu/libm-test-ulps +++ b/sysdeps/m68k/m680x0/fpu/libm-test-ulps @@ -1451,14 +1451,6 @@ ifloat: 7 ildouble: 9 ldouble: 9 -Function: "pow_tonearest": -double: 1 -float: 7 -idouble: 1 -ifloat: 7 -ildouble: 7 -ldouble: 7 - Function: "pow_towardzero": double: 1 float: 4 diff --git a/sysdeps/microblaze/libm-test-ulps b/sysdeps/microblaze/libm-test-ulps index c252c96d0a..0806905370 100644 --- a/sysdeps/microblaze/libm-test-ulps +++ b/sysdeps/microblaze/libm-test-ulps @@ -154,22 +154,12 @@ Function: "cos": float: 1 ifloat: 1 -Function: "cos_tonearest": -float: 1 -ifloat: 1 - Function: "cosh": double: 1 float: 1 idouble: 1 ifloat: 1 -Function: "cosh_tonearest": -double: 1 -float: 1 -idouble: 1 -ifloat: 1 - Function: Real part of "cpow": double: 2 float: 4 @@ -220,18 +210,6 @@ float: 1 idouble: 2 ifloat: 1 -Function: Real part of "ctan_tonearest": -double: 1 -float: 1 -idouble: 1 -ifloat: 1 - -Function: Imaginary part of "ctan_tonearest": -double: 2 -float: 1 -idouble: 2 -ifloat: 1 - Function: Real part of "ctanh": double: 2 float: 1 @@ -244,18 +222,6 @@ float: 2 idouble: 2 ifloat: 2 -Function: Real part of "ctanh_tonearest": -double: 2 -float: 1 -idouble: 2 -ifloat: 1 - -Function: Imaginary part of "ctanh_tonearest": -double: 2 -float: 2 -idouble: 2 -ifloat: 2 - Function: "erf": double: 1 idouble: 1 @@ -270,22 +236,12 @@ Function: "exp10": double: 1 idouble: 1 -Function: "exp10_tonearest": -double: 1 -idouble: 1 - Function: "expm1": double: 1 float: 1 idouble: 1 ifloat: 1 -Function: "expm1_tonearest": -double: 1 -float: 1 -idouble: 1 -ifloat: 1 - Function: "gamma": double: 1 float: 1 @@ -342,18 +298,10 @@ Function: "pow10": double: 1 idouble: 1 -Function: "pow_tonearest": -float: 1 -ifloat: 1 - Function: "sin": float: 1 ifloat: 1 -Function: "sin_tonearest": -float: 1 -ifloat: 1 - Function: "sincos": float: 1 ifloat: 1 diff --git a/sysdeps/sh/libm-test-ulps b/sysdeps/sh/libm-test-ulps index 4c43510849..a00f04e2a3 100644 --- a/sysdeps/sh/libm-test-ulps +++ b/sysdeps/sh/libm-test-ulps @@ -164,10 +164,6 @@ Function: "cos": float: 1 ifloat: 1 -Function: "cos_tonearest": -float: 1 -ifloat: 1 - Function: "cos_towardzero": double: 1 float: 1 @@ -180,12 +176,6 @@ float: 1 idouble: 1 ifloat: 1 -Function: "cosh_tonearest": -double: 1 -float: 1 -idouble: 1 -ifloat: 1 - Function: "cosh_towardzero": double: 1 float: 1 @@ -242,18 +232,6 @@ float: 1 idouble: 2 ifloat: 1 -Function: Real part of "ctan_tonearest": -double: 1 -float: 1 -idouble: 1 -ifloat: 1 - -Function: Imaginary part of "ctan_tonearest": -double: 2 -float: 1 -idouble: 2 -ifloat: 1 - Function: Real part of "ctan_towardzero": double: 5 float: 3 @@ -278,18 +256,6 @@ float: 2 idouble: 2 ifloat: 2 -Function: Real part of "ctanh_tonearest": -double: 2 -float: 1 -idouble: 2 -ifloat: 1 - -Function: Imaginary part of "ctanh_tonearest": -double: 2 -float: 2 -idouble: 2 -ifloat: 2 - Function: Real part of "ctanh_towardzero": double: 2 float: 3 @@ -316,10 +282,6 @@ Function: "exp10": double: 1 idouble: 1 -Function: "exp10_tonearest": -double: 1 -idouble: 1 - Function: "exp10_towardzero": double: 1 idouble: 1 @@ -334,12 +296,6 @@ float: 1 idouble: 1 ifloat: 1 -Function: "expm1_tonearest": -double: 1 -float: 1 -idouble: 1 -ifloat: 1 - Function: "expm1_towardzero": double: 1 float: 1 @@ -406,10 +362,6 @@ Function: "pow10": double: 1 idouble: 1 -Function: "pow_tonearest": -float: 1 -ifloat: 1 - Function: "pow_towardzero": float: 1 ifloat: 1 @@ -418,10 +370,6 @@ Function: "sin": float: 1 ifloat: 1 -Function: "sin_tonearest": -float: 1 -ifloat: 1 - Function: "sin_towardzero": double: 1 float: 1 -- 2.11.4.GIT