RISC-V: Update ulps

Message ID 20240619120321.36906-2-jz531210@gmail.com
State Committed
Commit 9f2bf0e23a95d8d7268683c65b867c2ddcc22651
Headers
Series RISC-V: Update ulps |

Checks

Context Check Description
redhat-pt-bot/TryBot-apply_patch success Patch applied to master at the time it was sent
redhat-pt-bot/TryBot-32bit success Build for i686
linaro-tcwg-bot/tcwg_glibc_build--master-arm success Build passed
linaro-tcwg-bot/tcwg_glibc_check--master-arm success Test passed
linaro-tcwg-bot/tcwg_glibc_build--master-aarch64 success Build passed
linaro-tcwg-bot/tcwg_glibc_check--master-aarch64 success Test passed

Commit Message

Julian Zhu June 19, 2024, 12:03 p.m. UTC
  For the exp10m1, exp2m1, log10p1 and log2p1 implementations.

Signed-off-by: Julian Zhu <jz531210@gmail.com>
---
 sysdeps/riscv/rvd/libm-test-ulps | 80 ++++++++++++++++++++++++++++++++
 1 file changed, 80 insertions(+)
  

Comments

Andreas K. Huettel June 20, 2024, 9:51 p.m. UTC | #1
Thank you! Pushed.

Am Mittwoch, 19. Juni 2024, 14:03:22 CEST schrieb Julian Zhu:
> For the exp10m1, exp2m1, log10p1 and log2p1 implementations.
> 
> Signed-off-by: Julian Zhu <jz531210@gmail.com>
> ---
>  sysdeps/riscv/rvd/libm-test-ulps | 80 ++++++++++++++++++++++++++++++++
>  1 file changed, 80 insertions(+)
> 
> diff --git a/sysdeps/riscv/rvd/libm-test-ulps b/sysdeps/riscv/rvd/libm-test-ulps
> index fced981030..b9df07dc8c 100644
> --- a/sysdeps/riscv/rvd/libm-test-ulps
> +++ b/sysdeps/riscv/rvd/libm-test-ulps
> @@ -975,6 +975,26 @@ double: 2
>  float: 1
>  ldouble: 3
>  
> +Function: "exp10m1":
> +double: 2
> +float: 1
> +ldouble: 1
> +
> +Function: "exp10m1_downward":
> +double: 1
> +float: 1
> +ldouble: 3
> +
> +Function: "exp10m1_towardzero":
> +double: 1
> +float: 1
> +ldouble: 3
> +
> +Function: "exp10m1_upward":
> +double: 3
> +float: 1
> +ldouble: 3
> +
>  Function: "exp2":
>  double: 1
>  ldouble: 1
> @@ -992,6 +1012,26 @@ double: 1
>  float: 1
>  ldouble: 2
>  
> +Function: "exp2m1":
> +double: 1
> +float: 1
> +ldouble: 1
> +
> +Function: "exp2m1_downward":
> +double: 1
> +float: 1
> +ldouble: 2
> +
> +Function: "exp2m1_towardzero":
> +double: 2
> +float: 1
> +ldouble: 2
> +
> +Function: "exp2m1_upward":
> +double: 1
> +float: 1
> +ldouble: 2
> +
>  Function: "exp_downward":
>  double: 1
>  float: 1
> @@ -1165,6 +1205,26 @@ double: 2
>  float: 2
>  ldouble: 1
>  
> +Function: "log10p1":
> +double: 1
> +float: 1
> +ldouble: 3
> +
> +Function: "log10p1_downward":
> +double: 2
> +float: 1
> +ldouble: 2
> +
> +Function: "log10p1_towardzero":
> +double: 2
> +float: 2
> +ldouble: 2
> +
> +Function: "log10p1_upward":
> +double: 2
> +float: 1
> +ldouble: 3
> +
>  Function: "log1p":
>  double: 1
>  float: 1
> @@ -1202,6 +1262,26 @@ Function: "log2_upward":
>  double: 3
>  ldouble: 1
>  
> +Function: "log2p1":
> +double: 1
> +float: 1
> +ldouble: 3
> +
> +Function: "log2p1_downward":
> +double: 2
> +float: 2
> +ldouble: 3
> +
> +Function: "log2p1_towardzero":
> +double: 2
> +float: 2
> +ldouble: 2
> +
> +Function: "log2p1_upward":
> +double: 1
> +float: 2
> +ldouble: 2
> +
>  Function: "log_downward":
>  ldouble: 1
>  
>
  

Patch

diff --git a/sysdeps/riscv/rvd/libm-test-ulps b/sysdeps/riscv/rvd/libm-test-ulps
index fced981030..b9df07dc8c 100644
--- a/sysdeps/riscv/rvd/libm-test-ulps
+++ b/sysdeps/riscv/rvd/libm-test-ulps
@@ -975,6 +975,26 @@  double: 2
 float: 1
 ldouble: 3
 
+Function: "exp10m1":
+double: 2
+float: 1
+ldouble: 1
+
+Function: "exp10m1_downward":
+double: 1
+float: 1
+ldouble: 3
+
+Function: "exp10m1_towardzero":
+double: 1
+float: 1
+ldouble: 3
+
+Function: "exp10m1_upward":
+double: 3
+float: 1
+ldouble: 3
+
 Function: "exp2":
 double: 1
 ldouble: 1
@@ -992,6 +1012,26 @@  double: 1
 float: 1
 ldouble: 2
 
+Function: "exp2m1":
+double: 1
+float: 1
+ldouble: 1
+
+Function: "exp2m1_downward":
+double: 1
+float: 1
+ldouble: 2
+
+Function: "exp2m1_towardzero":
+double: 2
+float: 1
+ldouble: 2
+
+Function: "exp2m1_upward":
+double: 1
+float: 1
+ldouble: 2
+
 Function: "exp_downward":
 double: 1
 float: 1
@@ -1165,6 +1205,26 @@  double: 2
 float: 2
 ldouble: 1
 
+Function: "log10p1":
+double: 1
+float: 1
+ldouble: 3
+
+Function: "log10p1_downward":
+double: 2
+float: 1
+ldouble: 2
+
+Function: "log10p1_towardzero":
+double: 2
+float: 2
+ldouble: 2
+
+Function: "log10p1_upward":
+double: 2
+float: 1
+ldouble: 3
+
 Function: "log1p":
 double: 1
 float: 1
@@ -1202,6 +1262,26 @@  Function: "log2_upward":
 double: 3
 ldouble: 1
 
+Function: "log2p1":
+double: 1
+float: 1
+ldouble: 3
+
+Function: "log2p1_downward":
+double: 2
+float: 2
+ldouble: 3
+
+Function: "log2p1_towardzero":
+double: 2
+float: 2
+ldouble: 2
+
+Function: "log2p1_upward":
+double: 1
+float: 2
+ldouble: 2
+
 Function: "log_downward":
 ldouble: 1