RISC-V: Regenerate ULPs

Message ID 20250312052358.332735-1-aurelien@aurel32.net (mailing list archive)
State Rejected
Headers
Series RISC-V: Regenerate 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 fail Patch failed to apply
linaro-tcwg-bot/tcwg_glibc_build--master-aarch64 fail Patch failed to apply

Commit Message

Aurelien Jarno March 12, 2025, 5:23 a.m. UTC
  Generated on a VisionFive 2 board running Linux version 6.13.5 and
GCC 14.2.0.

Needed due to commit 77261698b4e ("Implement C23 rsqrt")

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
---
 sysdeps/riscv/rvd/libm-test-ulps | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
  

Comments

Adhemerval Zanella Netto March 17, 2025, 1:42 p.m. UTC | #1
On 12/03/25 02:23, Aurelien Jarno wrote:
> Generated on a VisionFive 2 board running Linux version 6.13.5 and
> GCC 14.2.0.
> 
> Needed due to commit 77261698b4e ("Implement C23 rsqrt")
> 
> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>

This is not required any more since 3e8814903c584b582740b42fa5fb0ad4e0e480bf.

> ---
>  sysdeps/riscv/rvd/libm-test-ulps | 20 ++++++++++++++++++++
>  1 file changed, 20 insertions(+)
> 
> diff --git a/sysdeps/riscv/rvd/libm-test-ulps b/sysdeps/riscv/rvd/libm-test-ulps
> index ee5df22f81..347a31f882 100644
> --- a/sysdeps/riscv/rvd/libm-test-ulps
> +++ b/sysdeps/riscv/rvd/libm-test-ulps
> @@ -1340,6 +1340,26 @@ double: 1
>  float: 1
>  ldouble: 2
>  
> +Function: "rsqrt":
> +double: 1
> +float: 1
> +ldouble: 1
> +
> +Function: "rsqrt_downward":
> +double: 2
> +float: 2
> +ldouble: 2
> +
> +Function: "rsqrt_towardzero":
> +double: 2
> +float: 2
> +ldouble: 2
> +
> +Function: "rsqrt_upward":
> +double: 2
> +float: 2
> +ldouble: 2
> +
>  Function: "sin":
>  double: 1
>  float: 1
  

Patch

diff --git a/sysdeps/riscv/rvd/libm-test-ulps b/sysdeps/riscv/rvd/libm-test-ulps
index ee5df22f81..347a31f882 100644
--- a/sysdeps/riscv/rvd/libm-test-ulps
+++ b/sysdeps/riscv/rvd/libm-test-ulps
@@ -1340,6 +1340,26 @@  double: 1
 float: 1
 ldouble: 2
 
+Function: "rsqrt":
+double: 1
+float: 1
+ldouble: 1
+
+Function: "rsqrt_downward":
+double: 2
+float: 2
+ldouble: 2
+
+Function: "rsqrt_towardzero":
+double: 2
+float: 2
+ldouble: 2
+
+Function: "rsqrt_upward":
+double: 2
+float: 2
+ldouble: 2
+
 Function: "sin":
 double: 1
 float: 1