diff mbox series

[2/2] RISC-V: Update rv64 ULPs

Message ID a417e185-76f8-e0d5-bfc3-994e951e4b0f@bluespec.com
State Committed
Commit 39e8eb597303fb8bea07d87f82f4df1cf1586c1c
Headers show
Series [1/2] RISC-V: Update nofpu ULPs | expand

Checks

Context Check Description
dj/TryBot-apply_patch success Patch applied to master at the time it was sent

Commit Message

Darius Rad July 20, 2021, 12:45 a.m. UTC
Generated on a Microsemi Polarfire Icicle Kit running Linux version 5.6.18.
Same ULPs were also produced on QEMU 5.2.0 running Linux 5.10.46-1.
---
 sysdeps/riscv/rv64/rvd/libm-test-ulps | 122 ++++++++++++++------------
 1 file changed, 64 insertions(+), 58 deletions(-)

Comments

Florian Weimer July 21, 2021, 6:44 a.m. UTC | #1
* Darius Rad:

> Generated on a Microsemi Polarfire Icicle Kit running Linux version 5.6.18.
> Same ULPs were also produced on QEMU 5.2.0 running Linux 5.10.46-1.

Thanks, I've applied this patch for you.

Florian
diff mbox series

Patch

diff --git a/sysdeps/riscv/rv64/rvd/libm-test-ulps b/sysdeps/riscv/rv64/rvd/libm-test-ulps
index 5b6f121ac5..e28b211697 100644
--- a/sysdeps/riscv/rv64/rvd/libm-test-ulps
+++ b/sysdeps/riscv/rv64/rvd/libm-test-ulps
@@ -2,6 +2,7 @@ 
 
 # Maximal error of functions:
 Function: "acos":
+double: 1
 float: 1
 ldouble: 1
 
@@ -23,7 +24,7 @@  ldouble: 1
 Function: "acosh":
 double: 2
 float: 2
-ldouble: 2
+ldouble: 4
 
 Function: "acosh_downward":
 double: 2
@@ -38,9 +39,10 @@  ldouble: 2
 Function: "acosh_upward":
 double: 2
 float: 2
-ldouble: 2
+ldouble: 3
 
 Function: "asin":
+double: 1
 float: 1
 ldouble: 1
 
@@ -55,14 +57,14 @@  float: 1
 ldouble: 1
 
 Function: "asin_upward":
-double: 1
+double: 2
 float: 1
 ldouble: 2
 
 Function: "asinh":
-double: 1
+double: 2
 float: 2
-ldouble: 3
+ldouble: 4
 
 Function: "asinh_downward":
 double: 3
@@ -80,12 +82,13 @@  float: 3
 ldouble: 4
 
 Function: "atan":
+double: 1
 float: 1
 ldouble: 1
 
 Function: "atan2":
 float: 1
-ldouble: 1
+ldouble: 2
 
 Function: "atan2_downward":
 double: 1
@@ -120,7 +123,7 @@  ldouble: 2
 Function: "atanh":
 double: 2
 float: 2
-ldouble: 3
+ldouble: 4
 
 Function: "atanh_downward":
 double: 3
@@ -413,7 +416,7 @@  float: 1
 ldouble: 2
 
 Function: "cbrt":
-double: 3
+double: 4
 float: 1
 ldouble: 1
 
@@ -558,6 +561,7 @@  float: 3
 ldouble: 2
 
 Function: Imaginary part of "clog":
+double: 1
 float: 1
 ldouble: 1
 
@@ -634,7 +638,7 @@  ldouble: 2
 Function: "cos":
 double: 1
 float: 1
-ldouble: 1
+ldouble: 2
 
 Function: "cos_downward":
 double: 1
@@ -652,19 +656,19 @@  float: 1
 ldouble: 2
 
 Function: "cosh":
-double: 1
+double: 2
 float: 2
-ldouble: 1
+ldouble: 2
 
 Function: "cosh_downward":
-double: 2
+double: 3
 float: 1
-ldouble: 2
+ldouble: 3
 
 Function: "cosh_towardzero":
-double: 2
+double: 3
 float: 1
-ldouble: 2
+ldouble: 3
 
 Function: "cosh_upward":
 double: 2
@@ -930,7 +934,7 @@  ldouble: 2
 Function: "erfc":
 double: 2
 float: 2
-ldouble: 2
+ldouble: 4
 
 Function: "erfc_downward":
 double: 4
@@ -948,6 +952,7 @@  float: 4
 ldouble: 5
 
 Function: "exp":
+double: 1
 float: 1
 ldouble: 1
 
@@ -1002,7 +1007,7 @@  float: 1
 Function: "expm1":
 double: 1
 float: 1
-ldouble: 1
+ldouble: 2
 
 Function: "expm1_downward":
 double: 1
@@ -1056,43 +1061,43 @@  double: 1
 ldouble: 1
 
 Function: "j0":
-double: 2
-float: 8
+double: 3
+float: 9
 ldouble: 2
 
 Function: "j0_downward":
-double: 2
-float: 4
-ldouble: 4
+double: 6
+float: 9
+ldouble: 9
 
 Function: "j0_towardzero":
-double: 5
-float: 6
-ldouble: 2
+double: 7
+float: 9
+ldouble: 9
 
 Function: "j0_upward":
-double: 4
-float: 5
-ldouble: 5
+double: 9
+float: 8
+ldouble: 7
 
 Function: "j1":
-double: 2
-float: 8
+double: 4
+float: 9
 ldouble: 4
 
 Function: "j1_downward":
 double: 3
-float: 5
+float: 8
 ldouble: 4
 
 Function: "j1_towardzero":
-double: 3
-float: 2
+double: 4
+float: 8
 ldouble: 4
 
 Function: "j1_upward":
-double: 3
-float: 4
+double: 9
+float: 9
 ldouble: 3
 
 Function: "jn":
@@ -1136,12 +1141,13 @@  float: 5
 ldouble: 8
 
 Function: "log":
+double: 1
 ldouble: 1
 
 Function: "log10":
 double: 2
 float: 2
-ldouble: 1
+ldouble: 2
 
 Function: "log10_downward":
 double: 2
@@ -1161,7 +1167,7 @@  ldouble: 1
 Function: "log1p":
 double: 1
 float: 1
-ldouble: 2
+ldouble: 3
 
 Function: "log1p_downward":
 double: 1
@@ -1181,7 +1187,7 @@  ldouble: 2
 Function: "log2":
 double: 1
 float: 1
-ldouble: 2
+ldouble: 3
 
 Function: "log2_downward":
 double: 3
@@ -1227,7 +1233,7 @@  ldouble: 2
 Function: "sin":
 double: 1
 float: 1
-ldouble: 1
+ldouble: 2
 
 Function: "sin_downward":
 double: 1
@@ -1274,7 +1280,7 @@  float: 3
 ldouble: 3
 
 Function: "sinh_towardzero":
-double: 2
+double: 3
 float: 2
 ldouble: 3
 
@@ -1323,63 +1329,63 @@  float: 3
 ldouble: 3
 
 Function: "tgamma":
-double: 5
+double: 9
 float: 8
 ldouble: 4
 
 Function: "tgamma_downward":
-double: 5
+double: 9
 float: 7
 ldouble: 5
 
 Function: "tgamma_towardzero":
-double: 5
+double: 9
 float: 7
 ldouble: 5
 
 Function: "tgamma_upward":
-double: 4
+double: 8
 float: 8
 ldouble: 4
 
 Function: "y0":
 double: 2
-float: 6
+float: 8
 ldouble: 3
 
 Function: "y0_downward":
 double: 3
-float: 4
-ldouble: 4
+float: 8
+ldouble: 7
 
 Function: "y0_towardzero":
 double: 3
-float: 3
+float: 8
 ldouble: 3
 
 Function: "y0_upward":
 double: 2
-float: 5
-ldouble: 3
+float: 8
+ldouble: 4
 
 Function: "y1":
 double: 3
-float: 2
-ldouble: 2
+float: 9
+ldouble: 5
 
 Function: "y1_downward":
-double: 3
-float: 2
-ldouble: 4
+double: 6
+float: 8
+ldouble: 5
 
 Function: "y1_towardzero":
 double: 3
-float: 2
+float: 9
 ldouble: 2
 
 Function: "y1_upward":
-double: 5
-float: 2
+double: 6
+float: 9
 ldouble: 5
 
 Function: "yn":