MIPS: Update ulps

Message ID 20240619121100.43375-2-jz531210@gmail.com
State Superseded
Headers
Series MIPS: 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:11 p.m. UTC
  Update mips32/mips64 ulps for the exp10m1, exp2m1, and log10p1 implementations.

Signed-off-by: Julian Zhu <jz531210@gmail.com>
---
 sysdeps/mips/mips32/libm-test-ulps | 48 ++++++++++++++++++++++++
 sysdeps/mips/mips64/libm-test-ulps | 60 ++++++++++++++++++++++++++++++
 2 files changed, 108 insertions(+)
  

Comments

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

Am Mittwoch, 19. Juni 2024, 14:11:01 CEST schrieb Julian Zhu:
> Update mips32/mips64 ulps for the exp10m1, exp2m1, and log10p1 implementations.
> 
> Signed-off-by: Julian Zhu <jz531210@gmail.com>
> ---
>  sysdeps/mips/mips32/libm-test-ulps | 48 ++++++++++++++++++++++++
>  sysdeps/mips/mips64/libm-test-ulps | 60 ++++++++++++++++++++++++++++++
>  2 files changed, 108 insertions(+)
> 
> diff --git a/sysdeps/mips/mips32/libm-test-ulps b/sysdeps/mips/mips32/libm-test-ulps
> index 21818a1d76..1c27b6615b 100644
> --- a/sysdeps/mips/mips32/libm-test-ulps
> +++ b/sysdeps/mips/mips32/libm-test-ulps
> @@ -777,6 +777,22 @@ Function: "exp10_upward":
>  double: 2
>  float: 1
>  
> +Function: "exp10m1":
> +double: 2
> +float: 1
> +
> +Function: "exp10m1_downward":
> +double: 1
> +float: 1
> +
> +Function: "exp10m1_towardzero":
> +double: 1
> +float: 1
> +
> +Function: "exp10m1_upward":
> +double: 3
> +float: 1
> +
>  Function: "exp2":
>  double: 1
>  float: 1
> @@ -793,6 +809,22 @@ Function: "exp2_upward":
>  double: 1
>  float: 1
>  
> +Function: "exp2m1":
> +double: 1
> +float: 1
> +
> +Function: "exp2m1_downward":
> +double: 2
> +float: 1
> +
> +Function: "exp2m1_towardzero":
> +double: 2
> +float: 1
> +
> +Function: "exp2m1_upward":
> +double: 1
> +float: 1
> +
>  Function: "exp_downward":
>  double: 1
>  float: 1
> @@ -933,6 +965,22 @@ Function: "log10_upward":
>  double: 2
>  float: 2
>  
> +Function: "log10p1":
> +double: 1
> +float: 1
> +
> +Function: "log10p1_downward":
> +double: 2
> +float: 1
> +
> +Function: "log10p1_towardzero":
> +double: 2
> +float: 2
> +
> +Function: "log10p1_upward":
> +double: 2
> +float: 1
> +
>  Function: "log1p":
>  double: 1
>  float: 1
> diff --git a/sysdeps/mips/mips64/libm-test-ulps b/sysdeps/mips/mips64/libm-test-ulps
> index bf3dd3f15c..902551b448 100644
> --- a/sysdeps/mips/mips64/libm-test-ulps
> +++ b/sysdeps/mips/mips64/libm-test-ulps
> @@ -976,6 +976,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
>  float: 1
> @@ -996,6 +1016,26 @@ double: 1
>  float: 1
>  ldouble: 2
>  
> +Function: "exp2m1":
> +double: 1
> +float: 1
> +ldouble: 1
> +
> +Function: "exp2m1_downward":
> +double: 2
> +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
> @@ -1170,6 +1210,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
>
  

Patch

diff --git a/sysdeps/mips/mips32/libm-test-ulps b/sysdeps/mips/mips32/libm-test-ulps
index 21818a1d76..1c27b6615b 100644
--- a/sysdeps/mips/mips32/libm-test-ulps
+++ b/sysdeps/mips/mips32/libm-test-ulps
@@ -777,6 +777,22 @@  Function: "exp10_upward":
 double: 2
 float: 1
 
+Function: "exp10m1":
+double: 2
+float: 1
+
+Function: "exp10m1_downward":
+double: 1
+float: 1
+
+Function: "exp10m1_towardzero":
+double: 1
+float: 1
+
+Function: "exp10m1_upward":
+double: 3
+float: 1
+
 Function: "exp2":
 double: 1
 float: 1
@@ -793,6 +809,22 @@  Function: "exp2_upward":
 double: 1
 float: 1
 
+Function: "exp2m1":
+double: 1
+float: 1
+
+Function: "exp2m1_downward":
+double: 2
+float: 1
+
+Function: "exp2m1_towardzero":
+double: 2
+float: 1
+
+Function: "exp2m1_upward":
+double: 1
+float: 1
+
 Function: "exp_downward":
 double: 1
 float: 1
@@ -933,6 +965,22 @@  Function: "log10_upward":
 double: 2
 float: 2
 
+Function: "log10p1":
+double: 1
+float: 1
+
+Function: "log10p1_downward":
+double: 2
+float: 1
+
+Function: "log10p1_towardzero":
+double: 2
+float: 2
+
+Function: "log10p1_upward":
+double: 2
+float: 1
+
 Function: "log1p":
 double: 1
 float: 1
diff --git a/sysdeps/mips/mips64/libm-test-ulps b/sysdeps/mips/mips64/libm-test-ulps
index bf3dd3f15c..902551b448 100644
--- a/sysdeps/mips/mips64/libm-test-ulps
+++ b/sysdeps/mips/mips64/libm-test-ulps
@@ -976,6 +976,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
 float: 1
@@ -996,6 +1016,26 @@  double: 1
 float: 1
 ldouble: 2
 
+Function: "exp2m1":
+double: 1
+float: 1
+ldouble: 1
+
+Function: "exp2m1_downward":
+double: 2
+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
@@ -1170,6 +1210,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