diff options
author | Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com> | 2020-04-07 11:41:29 -0300 |
---|---|---|
committer | Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com> | 2020-04-07 11:41:29 -0300 |
commit | bd6cdfc18c901f6d930c539fb866b2ae8dec94be (patch) | |
tree | ce152eded2ca59afe188bae7c17e1569fdd16b17 | |
parent | 93a0959ef261c92b5d9c337f1e4cb64bbe453a9a (diff) | |
download | glibc-bd6cdfc18c901f6d930c539fb866b2ae8dec94be.tar.gz |
powerpc: Update ULPs and xfail more ibm128 outputs
There are 2 new input values that require to be marked as
xfail-rounding:ibm128-libgcc as they're known to fail because of libgcc
issues with different rounding modes.
Otherwise, the other tests just need an increase in ULP.
-rw-r--r-- | math/auto-libm-test-in | 4 | ||||
-rw-r--r-- | math/auto-libm-test-out-j0 | 38 | ||||
-rw-r--r-- | math/auto-libm-test-out-j1 | 38 | ||||
-rw-r--r-- | sysdeps/powerpc/fpu/libm-test-ulps | 34 |
4 files changed, 58 insertions, 56 deletions
diff --git a/math/auto-libm-test-in b/math/auto-libm-test-in index 749eb34746..4414e54d93 100644 --- a/math/auto-libm-test-in +++ b/math/auto-libm-test-in @@ -5747,7 +5747,7 @@ j0 0x1p1023 j0 0x1p16382 j0 0x1p16383 # the next value generates larger error bounds on x86_64 (binary32) -j0 0x2.602774p+0 +j0 0x2.602774p+0 xfail-rounding:ibm128-libgcc j1 -1.0 j1 0.0 @@ -5780,7 +5780,7 @@ j1 0x1p-100 j1 0x1p-600 j1 0x1p-10000 # the next value generates larger error bounds on x86_64 (binary32) -j1 0x3.ae4b2p+0 +j1 0x3.ae4b2p+0 xfail-rounding:ibm128-libgcc j1 min j1 -min j1 min_subnorm diff --git a/math/auto-libm-test-out-j0 b/math/auto-libm-test-out-j0 index 2b19908948..72daf7ec71 100644 --- a/math/auto-libm-test-out-j0 +++ b/math/auto-libm-test-out-j0 @@ -1334,28 +1334,28 @@ j0 0x1p16383 = j0 tonearest ibm128 0xf.ffffffffffffbffffffffffffcp+1020 : -0xb.a80d0ee91ce259a722e1f01904p-516 : inexact-ok = j0 towardzero ibm128 0xf.ffffffffffffbffffffffffffcp+1020 : -0xb.a80d0ee91ce259a722e1f019p-516 : inexact-ok = j0 upward ibm128 0xf.ffffffffffffbffffffffffffcp+1020 : -0xb.a80d0ee91ce259a722e1f019p-516 : inexact-ok -j0 0x2.602774p+0 -= j0 downward binary32 0x2.602774p+0 : 0x3.e83778p-8 : inexact-ok +j0 0x2.602774p+0 xfail-rounding:ibm128-libgcc += j0 downward binary32 0x2.602774p+0 : 0x3.e83778p-8 : xfail:ibm128-libgcc inexact-ok = j0 tonearest binary32 0x2.602774p+0 : 0x3.e83778p-8 : inexact-ok -= j0 towardzero binary32 0x2.602774p+0 : 0x3.e83778p-8 : inexact-ok -= j0 upward binary32 0x2.602774p+0 : 0x3.e8377cp-8 : inexact-ok -= j0 downward binary64 0x2.602774p+0 : 0x3.e83779fe1991p-8 : inexact-ok += j0 towardzero binary32 0x2.602774p+0 : 0x3.e83778p-8 : xfail:ibm128-libgcc inexact-ok += j0 upward binary32 0x2.602774p+0 : 0x3.e8377cp-8 : xfail:ibm128-libgcc inexact-ok += j0 downward binary64 0x2.602774p+0 : 0x3.e83779fe1991p-8 : xfail:ibm128-libgcc inexact-ok = j0 tonearest binary64 0x2.602774p+0 : 0x3.e83779fe19912p-8 : inexact-ok -= j0 towardzero binary64 0x2.602774p+0 : 0x3.e83779fe1991p-8 : inexact-ok -= j0 upward binary64 0x2.602774p+0 : 0x3.e83779fe19912p-8 : inexact-ok -= j0 downward intel96 0x2.602774p+0 : 0x3.e83779fe19911fa8p-8 : inexact-ok += j0 towardzero binary64 0x2.602774p+0 : 0x3.e83779fe1991p-8 : xfail:ibm128-libgcc inexact-ok += j0 upward binary64 0x2.602774p+0 : 0x3.e83779fe19912p-8 : xfail:ibm128-libgcc inexact-ok += j0 downward intel96 0x2.602774p+0 : 0x3.e83779fe19911fa8p-8 : xfail:ibm128-libgcc inexact-ok = j0 tonearest intel96 0x2.602774p+0 : 0x3.e83779fe19911fa8p-8 : inexact-ok -= j0 towardzero intel96 0x2.602774p+0 : 0x3.e83779fe19911fa8p-8 : inexact-ok -= j0 upward intel96 0x2.602774p+0 : 0x3.e83779fe19911facp-8 : inexact-ok -= j0 downward m68k96 0x2.602774p+0 : 0x3.e83779fe19911fa8p-8 : inexact-ok += j0 towardzero intel96 0x2.602774p+0 : 0x3.e83779fe19911fa8p-8 : xfail:ibm128-libgcc inexact-ok += j0 upward intel96 0x2.602774p+0 : 0x3.e83779fe19911facp-8 : xfail:ibm128-libgcc inexact-ok += j0 downward m68k96 0x2.602774p+0 : 0x3.e83779fe19911fa8p-8 : xfail:ibm128-libgcc inexact-ok = j0 tonearest m68k96 0x2.602774p+0 : 0x3.e83779fe19911fa8p-8 : inexact-ok -= j0 towardzero m68k96 0x2.602774p+0 : 0x3.e83779fe19911fa8p-8 : inexact-ok -= j0 upward m68k96 0x2.602774p+0 : 0x3.e83779fe19911facp-8 : inexact-ok -= j0 downward binary128 0x2.602774p+0 : 0x3.e83779fe19911fa806cee83ab7p-8 : inexact-ok += j0 towardzero m68k96 0x2.602774p+0 : 0x3.e83779fe19911fa8p-8 : xfail:ibm128-libgcc inexact-ok += j0 upward m68k96 0x2.602774p+0 : 0x3.e83779fe19911facp-8 : xfail:ibm128-libgcc inexact-ok += j0 downward binary128 0x2.602774p+0 : 0x3.e83779fe19911fa806cee83ab7p-8 : xfail:ibm128-libgcc inexact-ok = j0 tonearest binary128 0x2.602774p+0 : 0x3.e83779fe19911fa806cee83ab7p-8 : inexact-ok -= j0 towardzero binary128 0x2.602774p+0 : 0x3.e83779fe19911fa806cee83ab7p-8 : inexact-ok -= j0 upward binary128 0x2.602774p+0 : 0x3.e83779fe19911fa806cee83ab702p-8 : inexact-ok -= j0 downward ibm128 0x2.602774p+0 : 0x3.e83779fe19911fa806cee83ab7p-8 : inexact-ok += j0 towardzero binary128 0x2.602774p+0 : 0x3.e83779fe19911fa806cee83ab7p-8 : xfail:ibm128-libgcc inexact-ok += j0 upward binary128 0x2.602774p+0 : 0x3.e83779fe19911fa806cee83ab702p-8 : xfail:ibm128-libgcc inexact-ok += j0 downward ibm128 0x2.602774p+0 : 0x3.e83779fe19911fa806cee83ab7p-8 : xfail:ibm128-libgcc inexact-ok = j0 tonearest ibm128 0x2.602774p+0 : 0x3.e83779fe19911fa806cee83ab7p-8 : inexact-ok -= j0 towardzero ibm128 0x2.602774p+0 : 0x3.e83779fe19911fa806cee83ab7p-8 : inexact-ok -= j0 upward ibm128 0x2.602774p+0 : 0x3.e83779fe19911fa806cee83ab8p-8 : inexact-ok += j0 towardzero ibm128 0x2.602774p+0 : 0x3.e83779fe19911fa806cee83ab7p-8 : xfail:ibm128-libgcc inexact-ok += j0 upward ibm128 0x2.602774p+0 : 0x3.e83779fe19911fa806cee83ab8p-8 : xfail:ibm128-libgcc inexact-ok diff --git a/math/auto-libm-test-out-j1 b/math/auto-libm-test-out-j1 index 52a4e407c8..6bc3bbe5a4 100644 --- a/math/auto-libm-test-out-j1 +++ b/math/auto-libm-test-out-j1 @@ -968,31 +968,31 @@ j1 0x1p-10000 = j1 tonearest binary128 0x1p-10000 : 0x8p-10004 : inexact-ok = j1 towardzero binary128 0x1p-10000 : 0x7.fffffffffffffffffffffffffffcp-10004 : inexact-ok = j1 upward binary128 0x1p-10000 : 0x8p-10004 : inexact-ok -j1 0x3.ae4b2p+0 -= j1 downward binary32 0x3.ae4b2p+0 : 0xf.d085cp-8 : inexact-ok +j1 0x3.ae4b2p+0 xfail-rounding:ibm128-libgcc += j1 downward binary32 0x3.ae4b2p+0 : 0xf.d085cp-8 : xfail:ibm128-libgcc inexact-ok = j1 tonearest binary32 0x3.ae4b2p+0 : 0xf.d085cp-8 : inexact-ok -= j1 towardzero binary32 0x3.ae4b2p+0 : 0xf.d085cp-8 : inexact-ok -= j1 upward binary32 0x3.ae4b2p+0 : 0xf.d085dp-8 : inexact-ok -= j1 downward binary64 0x3.ae4b2p+0 : 0xf.d085c66e86f3p-8 : inexact-ok += j1 towardzero binary32 0x3.ae4b2p+0 : 0xf.d085cp-8 : xfail:ibm128-libgcc inexact-ok += j1 upward binary32 0x3.ae4b2p+0 : 0xf.d085dp-8 : xfail:ibm128-libgcc inexact-ok += j1 downward binary64 0x3.ae4b2p+0 : 0xf.d085c66e86f3p-8 : xfail:ibm128-libgcc inexact-ok = j1 tonearest binary64 0x3.ae4b2p+0 : 0xf.d085c66e86f3p-8 : inexact-ok -= j1 towardzero binary64 0x3.ae4b2p+0 : 0xf.d085c66e86f3p-8 : inexact-ok -= j1 upward binary64 0x3.ae4b2p+0 : 0xf.d085c66e86f38p-8 : inexact-ok -= j1 downward intel96 0x3.ae4b2p+0 : 0xf.d085c66e86f3026p-8 : inexact-ok += j1 towardzero binary64 0x3.ae4b2p+0 : 0xf.d085c66e86f3p-8 : xfail:ibm128-libgcc inexact-ok += j1 upward binary64 0x3.ae4b2p+0 : 0xf.d085c66e86f38p-8 : xfail:ibm128-libgcc inexact-ok += j1 downward intel96 0x3.ae4b2p+0 : 0xf.d085c66e86f3026p-8 : xfail:ibm128-libgcc inexact-ok = j1 tonearest intel96 0x3.ae4b2p+0 : 0xf.d085c66e86f3026p-8 : inexact-ok -= j1 towardzero intel96 0x3.ae4b2p+0 : 0xf.d085c66e86f3026p-8 : inexact-ok -= j1 upward intel96 0x3.ae4b2p+0 : 0xf.d085c66e86f3027p-8 : inexact-ok -= j1 downward m68k96 0x3.ae4b2p+0 : 0xf.d085c66e86f3026p-8 : inexact-ok += j1 towardzero intel96 0x3.ae4b2p+0 : 0xf.d085c66e86f3026p-8 : xfail:ibm128-libgcc inexact-ok += j1 upward intel96 0x3.ae4b2p+0 : 0xf.d085c66e86f3027p-8 : xfail:ibm128-libgcc inexact-ok += j1 downward m68k96 0x3.ae4b2p+0 : 0xf.d085c66e86f3026p-8 : xfail:ibm128-libgcc inexact-ok = j1 tonearest m68k96 0x3.ae4b2p+0 : 0xf.d085c66e86f3026p-8 : inexact-ok -= j1 towardzero m68k96 0x3.ae4b2p+0 : 0xf.d085c66e86f3026p-8 : inexact-ok -= j1 upward m68k96 0x3.ae4b2p+0 : 0xf.d085c66e86f3027p-8 : inexact-ok -= j1 downward binary128 0x3.ae4b2p+0 : 0xf.d085c66e86f30267f22d6f787d2p-8 : inexact-ok += j1 towardzero m68k96 0x3.ae4b2p+0 : 0xf.d085c66e86f3026p-8 : xfail:ibm128-libgcc inexact-ok += j1 upward m68k96 0x3.ae4b2p+0 : 0xf.d085c66e86f3027p-8 : xfail:ibm128-libgcc inexact-ok += j1 downward binary128 0x3.ae4b2p+0 : 0xf.d085c66e86f30267f22d6f787d2p-8 : xfail:ibm128-libgcc inexact-ok = j1 tonearest binary128 0x3.ae4b2p+0 : 0xf.d085c66e86f30267f22d6f787d2p-8 : inexact-ok -= j1 towardzero binary128 0x3.ae4b2p+0 : 0xf.d085c66e86f30267f22d6f787d2p-8 : inexact-ok -= j1 upward binary128 0x3.ae4b2p+0 : 0xf.d085c66e86f30267f22d6f787d28p-8 : inexact-ok -= j1 downward ibm128 0x3.ae4b2p+0 : 0xf.d085c66e86f30267f22d6f787cp-8 : inexact-ok += j1 towardzero binary128 0x3.ae4b2p+0 : 0xf.d085c66e86f30267f22d6f787d2p-8 : xfail:ibm128-libgcc inexact-ok += j1 upward binary128 0x3.ae4b2p+0 : 0xf.d085c66e86f30267f22d6f787d28p-8 : xfail:ibm128-libgcc inexact-ok += j1 downward ibm128 0x3.ae4b2p+0 : 0xf.d085c66e86f30267f22d6f787cp-8 : xfail:ibm128-libgcc inexact-ok = j1 tonearest ibm128 0x3.ae4b2p+0 : 0xf.d085c66e86f30267f22d6f787cp-8 : inexact-ok -= j1 towardzero ibm128 0x3.ae4b2p+0 : 0xf.d085c66e86f30267f22d6f787cp-8 : inexact-ok -= j1 upward ibm128 0x3.ae4b2p+0 : 0xf.d085c66e86f30267f22d6f788p-8 : inexact-ok += j1 towardzero ibm128 0x3.ae4b2p+0 : 0xf.d085c66e86f30267f22d6f787cp-8 : xfail:ibm128-libgcc inexact-ok += j1 upward ibm128 0x3.ae4b2p+0 : 0xf.d085c66e86f30267f22d6f788p-8 : xfail:ibm128-libgcc inexact-ok j1 min = j1 downward binary32 0x4p-128 : 0x1.fffff8p-128 : inexact-ok underflow errno-erange-ok = j1 tonearest binary32 0x4p-128 : 0x2p-128 : inexact-ok underflow errno-erange-ok diff --git a/sysdeps/powerpc/fpu/libm-test-ulps b/sysdeps/powerpc/fpu/libm-test-ulps index 73f18cf1df..1c989e020f 100644 --- a/sysdeps/powerpc/fpu/libm-test-ulps +++ b/sysdeps/powerpc/fpu/libm-test-ulps @@ -77,7 +77,7 @@ ldouble: 2 Function: "asinh": double: 1 -float: 1 +float: 2 float128: 3 ldouble: 2 @@ -792,7 +792,7 @@ ldouble: 5 Function: "cosh": double: 1 -float: 1 +float: 2 float128: 1 ldouble: 3 @@ -1151,11 +1151,13 @@ ldouble: 7 Function: "exp": double: 1 +float: 1 float128: 1 ldouble: 1 Function: "exp10": double: 2 +float: 1 float128: 2 ldouble: 1 @@ -1303,7 +1305,7 @@ ldouble: 3 Function: "j0": double: 2 -float: 2 +float: 8 float128: 2 ldouble: 2 @@ -1314,26 +1316,26 @@ float128: 4 ldouble: 11 Function: "j0_towardzero": -double: 2 -float: 1 +double: 5 +float: 6 float128: 2 ldouble: 8 Function: "j0_upward": -double: 3 -float: 2 +double: 4 +float: 5 float128: 5 ldouble: 6 Function: "j1": -double: 1 -float: 2 +double: 2 +float: 8 float128: 4 -ldouble: 2 +ldouble: 3 Function: "j1_downward": double: 3 -float: 2 +float: 5 float128: 4 ldouble: 7 @@ -1673,31 +1675,31 @@ ldouble: 6 Function: "tgamma": double: 5 -float: 4 +float: 8 float128: 4 ldouble: 5 Function: "tgamma_downward": double: 5 -float: 5 +float: 7 float128: 5 ldouble: 6 Function: "tgamma_towardzero": double: 5 -float: 4 +float: 7 float128: 5 ldouble: 5 Function: "tgamma_upward": double: 4 -float: 4 +float: 8 float128: 4 ldouble: 5 Function: "y0": double: 2 -float: 1 +float: 6 float128: 3 ldouble: 1 |