ARC: Regenerate ULPs

Message ID 20240809132131.263695-1-kozlov@synopsys.com
State Committed
Commit cf03971f7a9b1d5f2d6565781d22dc777864998e
Headers
Series ARC: Regenerate ULPs |

Checks

Context Check Description
redhat-pt-bot/TryBot-32bit success Build for i686
redhat-pt-bot/TryBot-apply_patch success Patch applied to master at the time it was sent
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

Pavel Kozlov Aug. 9, 2024, 1:21 p.m. UTC
  From: Pavel Kozlov <pavel.kozlov@synopsys.com>

Regenerate fpu and soft-fp ULPs. Based on results from HSDK-4xD board
with GCC 14 build.
Including new tests added by 07972839108495245d8b93ca546462b3f4dad47f.
---
 sysdeps/arc/fpu/libm-test-ulps   | 64 ++++++++++++++++++++++++++++++++
 sysdeps/arc/nofpu/libm-test-ulps | 17 +++++++++
 2 files changed, 81 insertions(+)
  

Comments

Andreas K. Huettel Aug. 11, 2024, 1:32 p.m. UTC | #1
Am Freitag, 9. August 2024, 15:21:31 MESZ schrieb Pavel.Kozlov@synopsys.com:
> From: Pavel Kozlov <pavel.kozlov@synopsys.com>
> 
> Regenerate fpu and soft-fp ULPs. Based on results from HSDK-4xD board
> with GCC 14 build.
> Including new tests added by 07972839108495245d8b93ca546462b3f4dad47f.
> ---
>  sysdeps/arc/fpu/libm-test-ulps   | 64 ++++++++++++++++++++++++++++++++
>  sysdeps/arc/nofpu/libm-test-ulps | 17 +++++++++
>  2 files changed, 81 insertions(+)

Thank you; pushed.


> 
> diff --git a/sysdeps/arc/fpu/libm-test-ulps b/sysdeps/arc/fpu/libm-test-ulps
> index 41c8ef16d782..7e2c2dff13e5 100644
> --- a/sysdeps/arc/fpu/libm-test-ulps
> +++ b/sysdeps/arc/fpu/libm-test-ulps
> @@ -787,6 +787,22 @@ Function: "exp10_upward":
>  double: 4
>  float: 1
>  
> +Function: "exp10m1":
> +double: 4
> +float: 2
> +
> +Function: "exp10m1_downward":
> +double: 3
> +float: 3
> +
> +Function: "exp10m1_towardzero":
> +double: 2
> +float: 3
> +
> +Function: "exp10m1_upward":
> +double: 5
> +float: 3
> +
>  Function: "exp2":
>  double: 1
>  float: 1
> @@ -801,6 +817,22 @@ Function: "exp2_upward":
>  double: 2
>  float: 1
>  
> +Function: "exp2m1":
> +double: 2
> +float: 2
> +
> +Function: "exp2m1_downward":
> +double: 3
> +float: 3
> +
> +Function: "exp2m1_towardzero":
> +double: 3
> +float: 2
> +
> +Function: "exp2m1_upward":
> +double: 3
> +float: 3
> +
>  Function: "exp_downward":
>  double: 1
>  float: 1
> @@ -943,6 +975,22 @@ Function: "log10_upward":
>  double: 3
>  float: 4
>  
> +Function: "log10p1":
> +double: 2
> +float: 2
> +
> +Function: "log10p1_downward":
> +double: 2
> +float: 3
> +
> +Function: "log10p1_towardzero":
> +double: 3
> +float: 2
> +
> +Function: "log10p1_upward":
> +double: 2
> +float: 3
> +
>  Function: "log1p":
>  double: 1
>  float: 1
> @@ -971,6 +1019,22 @@ Function: "log2_upward":
>  double: 1
>  float: 1
>  
> +Function: "log2p1":
> +double: 2
> +float: 2
> +
> +Function: "log2p1_downward":
> +double: 2
> +float: 2
> +
> +Function: "log2p1_towardzero":
> +double: 2
> +float: 2
> +
> +Function: "log2p1_upward":
> +double: 2
> +float: 2
> +
>  Function: "log_towardzero":
>  double: 1
>  float: 1
> diff --git a/sysdeps/arc/nofpu/libm-test-ulps b/sysdeps/arc/nofpu/libm-test-ulps
> index d3f45957d42c..d9d6c76c3ed1 100644
> --- a/sysdeps/arc/nofpu/libm-test-ulps
> +++ b/sysdeps/arc/nofpu/libm-test-ulps
> @@ -192,9 +192,17 @@ Function: "exp10":
>  double: 2
>  float: 1
>  
> +Function: "exp10m1":
> +double: 3
> +float: 2
> +
>  Function: "exp2":
>  double: 1
>  
> +Function: "exp2m1":
> +double: 2
> +float: 2
> +
>  Function: "expm1":
>  double: 1
>  float: 1
> @@ -205,6 +213,7 @@ float: 7
>  
>  Function: "hypot":
>  double: 1
> +float: 1
>  
>  Function: "j0":
>  double: 2
> @@ -226,6 +235,10 @@ Function: "log10":
>  double: 2
>  float: 2
>  
> +Function: "log10p1":
> +double: 1
> +float: 2
> +
>  Function: "log1p":
>  double: 1
>  float: 1
> @@ -234,6 +247,10 @@ Function: "log2":
>  double: 2
>  float: 1
>  
> +Function: "log2p1":
> +double: 1
> +float: 2
> +
>  Function: "logp1":
>  double: 1
>  float: 1
>
  

Patch

diff --git a/sysdeps/arc/fpu/libm-test-ulps b/sysdeps/arc/fpu/libm-test-ulps
index 41c8ef16d782..7e2c2dff13e5 100644
--- a/sysdeps/arc/fpu/libm-test-ulps
+++ b/sysdeps/arc/fpu/libm-test-ulps
@@ -787,6 +787,22 @@  Function: "exp10_upward":
 double: 4
 float: 1
 
+Function: "exp10m1":
+double: 4
+float: 2
+
+Function: "exp10m1_downward":
+double: 3
+float: 3
+
+Function: "exp10m1_towardzero":
+double: 2
+float: 3
+
+Function: "exp10m1_upward":
+double: 5
+float: 3
+
 Function: "exp2":
 double: 1
 float: 1
@@ -801,6 +817,22 @@  Function: "exp2_upward":
 double: 2
 float: 1
 
+Function: "exp2m1":
+double: 2
+float: 2
+
+Function: "exp2m1_downward":
+double: 3
+float: 3
+
+Function: "exp2m1_towardzero":
+double: 3
+float: 2
+
+Function: "exp2m1_upward":
+double: 3
+float: 3
+
 Function: "exp_downward":
 double: 1
 float: 1
@@ -943,6 +975,22 @@  Function: "log10_upward":
 double: 3
 float: 4
 
+Function: "log10p1":
+double: 2
+float: 2
+
+Function: "log10p1_downward":
+double: 2
+float: 3
+
+Function: "log10p1_towardzero":
+double: 3
+float: 2
+
+Function: "log10p1_upward":
+double: 2
+float: 3
+
 Function: "log1p":
 double: 1
 float: 1
@@ -971,6 +1019,22 @@  Function: "log2_upward":
 double: 1
 float: 1
 
+Function: "log2p1":
+double: 2
+float: 2
+
+Function: "log2p1_downward":
+double: 2
+float: 2
+
+Function: "log2p1_towardzero":
+double: 2
+float: 2
+
+Function: "log2p1_upward":
+double: 2
+float: 2
+
 Function: "log_towardzero":
 double: 1
 float: 1
diff --git a/sysdeps/arc/nofpu/libm-test-ulps b/sysdeps/arc/nofpu/libm-test-ulps
index d3f45957d42c..d9d6c76c3ed1 100644
--- a/sysdeps/arc/nofpu/libm-test-ulps
+++ b/sysdeps/arc/nofpu/libm-test-ulps
@@ -192,9 +192,17 @@  Function: "exp10":
 double: 2
 float: 1
 
+Function: "exp10m1":
+double: 3
+float: 2
+
 Function: "exp2":
 double: 1
 
+Function: "exp2m1":
+double: 2
+float: 2
+
 Function: "expm1":
 double: 1
 float: 1
@@ -205,6 +213,7 @@  float: 7
 
 Function: "hypot":
 double: 1
+float: 1
 
 Function: "j0":
 double: 2
@@ -226,6 +235,10 @@  Function: "log10":
 double: 2
 float: 2
 
+Function: "log10p1":
+double: 1
+float: 2
+
 Function: "log1p":
 double: 1
 float: 1
@@ -234,6 +247,10 @@  Function: "log2":
 double: 2
 float: 1
 
+Function: "log2p1":
+double: 1
+float: 2
+
 Function: "logp1":
 double: 1
 float: 1