public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
From: Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
To: libc-alpha@sourceware.org
Subject: [PATCH] powerpc: Update ULPs and xfail more ibm128 outputs
Date: Wed,  1 Apr 2020 18:07:09 -0300	[thread overview]
Message-ID: <20200401210709.54718-1-tuliom@linux.ibm.com> (raw)

There are 3 new output values that require to be marked as xfail:ibm128-libgcc
as they're caused by libgcc issues with different rounding modes.
Otherwise, the other tests just need an increase in ULP.
---
 math/auto-libm-test-out-j0         |  2 +-
 math/auto-libm-test-out-j1         |  4 ++--
 sysdeps/powerpc/fpu/libm-test-ulps | 34 ++++++++++++++++--------------
 3 files changed, 21 insertions(+), 19 deletions(-)

diff --git a/math/auto-libm-test-out-j0 b/math/auto-libm-test-out-j0
index 2b19908948..0bec7539e9 100644
--- a/math/auto-libm-test-out-j0
+++ b/math/auto-libm-test-out-j0
@@ -1357,5 +1357,5 @@ j0 0x2.602774p+0
 = j0 upward binary128 0x2.602774p+0 : 0x3.e83779fe19911fa806cee83ab702p-8 : inexact-ok
 = j0 downward ibm128 0x2.602774p+0 : 0x3.e83779fe19911fa806cee83ab7p-8 : 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 towardzero ibm128 0x2.602774p+0 : 0x3.e83779fe19911fa806cee83ab7p-8 : xfail:ibm128-libgcc inexact-ok
 = j0 upward ibm128 0x2.602774p+0 : 0x3.e83779fe19911fa806cee83ab8p-8 : inexact-ok
diff --git a/math/auto-libm-test-out-j1 b/math/auto-libm-test-out-j1
index 52a4e407c8..76bb99acaf 100644
--- a/math/auto-libm-test-out-j1
+++ b/math/auto-libm-test-out-j1
@@ -989,9 +989,9 @@ j1 0x3.ae4b2p+0
 = 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 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 towardzero ibm128 0x3.ae4b2p+0 : 0xf.d085c66e86f30267f22d6f787cp-8 : xfail:ibm128-libgcc inexact-ok
 = j1 upward ibm128 0x3.ae4b2p+0 : 0xf.d085c66e86f30267f22d6f788p-8 : inexact-ok
 j1 min
 = j1 downward binary32 0x4p-128 : 0x1.fffff8p-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
 
-- 
2.25.1


             reply	other threads:[~2020-04-01 21:07 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-01 21:07 Tulio Magno Quites Machado Filho [this message]
2020-04-01 23:09 ` Joseph Myers
2020-04-06 19:27   ` [PATCHv2] " Tulio Magno Quites Machado Filho
2020-04-06 21:07     ` Joseph Myers
2020-04-07 16:22       ` Tulio Magno Quites Machado Filho

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200401210709.54718-1-tuliom@linux.ibm.com \
    --to=tuliom@linux.ibm.com \
    --cc=libc-alpha@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).