RISC-V: Update lp64d libm-test-ulps according to HiFive Unleashed

Message ID alpine.LFD.2.21.2007302240140.24175@redsun52.ssa.fujisawa.hgst.com
State New
Headers show
Series
  • RISC-V: Update lp64d libm-test-ulps according to HiFive Unleashed
Related show

Commit Message

Alistair Francis via Libc-alpha July 30, 2020, 11:11 p.m.
Produced with HiFive Unleashed hardware using Linux 5.8-rc5 exactly and 
GCC 10.0.1 20200426.
---
On Mon, 13 Jul 2020, Carlos O'Donell wrote:

> >  For the record here's my RV64 diff to the Unleashed.

> > 

> >   Maciej

> 

> That's close enough that you should commit this blind to the

> development branch that way developers don't get build failures.

> 

> We do this routinely for i686 and older hardware being used Fedora Koji

> builders.


 I've lost it from my radar due to other stuff.  FAOD OK to apply then?

  Maciej
---
 sysdeps/riscv/rv64/rvd/libm-test-ulps |   33 ++++++++++++++++++---------------
 1 file changed, 18 insertions(+), 15 deletions(-)

glibc-riscv-rv64-libm-test-ulps.diff

Comments

Alistair Francis via Libc-alpha Aug. 3, 2020, 5:52 p.m. | #1
On 7/30/20 7:11 PM, Maciej W. Rozycki wrote:
> Produced with HiFive Unleashed hardware using Linux 5.8-rc5 exactly and 

> GCC 10.0.1 20200426.

> ---

> On Mon, 13 Jul 2020, Carlos O'Donell wrote:

> 

>>>  For the record here's my RV64 diff to the Unleashed.

>>>

>>>   Maciej

>>

>> That's close enough that you should commit this blind to the

>> development branch that way developers don't get build failures.

>>

>> We do this routinely for i686 and older hardware being used Fedora Koji

>> builders.

> 

>  I've lost it from my radar due to other stuff.  FAOD OK to apply then?


OK for glibc 2.32. Please push.

Reviewed-by: Carlos O'Donell <carlos@redhat.com>


> 

>   Maciej

> ---

>  sysdeps/riscv/rv64/rvd/libm-test-ulps |   33 ++++++++++++++++++---------------

>  1 file changed, 18 insertions(+), 15 deletions(-)

> 

> glibc-riscv-rv64-libm-test-ulps.diff

> Index: glibc/sysdeps/riscv/rv64/rvd/libm-test-ulps

> ===================================================================

> --- glibc.orig/sysdeps/riscv/rv64/rvd/libm-test-ulps

> +++ glibc/sysdeps/riscv/rv64/rvd/libm-test-ulps

> @@ -61,7 +61,7 @@ ldouble: 2

>  

>  Function: "asinh":

>  double: 1

> -float: 1

> +float: 2

>  ldouble: 3

>  

>  Function: "asinh_downward":

> @@ -633,6 +633,7 @@ ldouble: 2

>  

>  Function: "cos":

>  double: 1

> +float: 1

>  ldouble: 1

>  

>  Function: "cos_downward":

> @@ -652,7 +653,7 @@ ldouble: 2

>  

>  Function: "cosh":

>  double: 1

> -float: 1

> +float: 2

>  ldouble: 1

>  

>  Function: "cosh_downward":

> @@ -947,6 +948,7 @@ float: 4

>  ldouble: 5

>  

>  Function: "exp":

> +float: 1

>  ldouble: 1

>  

>  Function: "exp10":

> @@ -1055,7 +1057,7 @@ ldouble: 1

>  

>  Function: "j0":

>  double: 2

> -float: 2

> +float: 8

>  ldouble: 2

>  

>  Function: "j0_downward":

> @@ -1064,23 +1066,23 @@ float: 4

>  ldouble: 4

>  

>  Function: "j0_towardzero":

> -double: 2

> -float: 1

> +double: 5

> +float: 6

>  ldouble: 2

>  

>  Function: "j0_upward":

> -double: 3

> -float: 2

> +double: 4

> +float: 5

>  ldouble: 5

>  

>  Function: "j1":

> -double: 1

> -float: 2

> +double: 2

> +float: 8

>  ldouble: 4

>  

>  Function: "j1_downward":

>  double: 3

> -float: 2

> +float: 5

>  ldouble: 4

>  

>  Function: "j1_towardzero":

> @@ -1224,6 +1226,7 @@ ldouble: 2

>  

>  Function: "sin":

>  double: 1

> +float: 1

>  ldouble: 1

>  

>  Function: "sin_downward":

> @@ -1321,27 +1324,27 @@ ldouble: 3

>  

>  Function: "tgamma":

>  double: 5

> -float: 4

> +float: 8

>  ldouble: 4

>  

>  Function: "tgamma_downward":

>  double: 5

> -float: 5

> +float: 7

>  ldouble: 5

>  

>  Function: "tgamma_towardzero":

>  double: 5

> -float: 4

> +float: 7

>  ldouble: 5

>  

>  Function: "tgamma_upward":

>  double: 4

> -float: 4

> +float: 8

>  ldouble: 4

>  

>  Function: "y0":

>  double: 2

> -float: 1

> +float: 6

>  ldouble: 3

>  

>  Function: "y0_downward":

> 



-- 
Cheers,
Carlos.
Alistair Francis via Libc-alpha Aug. 4, 2020, 12:01 p.m. | #2
On Mon, 3 Aug 2020, Carlos O'Donell wrote:

> OK for glibc 2.32. Please push.

> 

> Reviewed-by: Carlos O'Donell <carlos@redhat.com>


 Thanks, committed.

  Maciej

Patch

Index: glibc/sysdeps/riscv/rv64/rvd/libm-test-ulps
===================================================================
--- glibc.orig/sysdeps/riscv/rv64/rvd/libm-test-ulps
+++ glibc/sysdeps/riscv/rv64/rvd/libm-test-ulps
@@ -61,7 +61,7 @@  ldouble: 2
 
 Function: "asinh":
 double: 1
-float: 1
+float: 2
 ldouble: 3
 
 Function: "asinh_downward":
@@ -633,6 +633,7 @@  ldouble: 2
 
 Function: "cos":
 double: 1
+float: 1
 ldouble: 1
 
 Function: "cos_downward":
@@ -652,7 +653,7 @@  ldouble: 2
 
 Function: "cosh":
 double: 1
-float: 1
+float: 2
 ldouble: 1
 
 Function: "cosh_downward":
@@ -947,6 +948,7 @@  float: 4
 ldouble: 5
 
 Function: "exp":
+float: 1
 ldouble: 1
 
 Function: "exp10":
@@ -1055,7 +1057,7 @@  ldouble: 1
 
 Function: "j0":
 double: 2
-float: 2
+float: 8
 ldouble: 2
 
 Function: "j0_downward":
@@ -1064,23 +1066,23 @@  float: 4
 ldouble: 4
 
 Function: "j0_towardzero":
-double: 2
-float: 1
+double: 5
+float: 6
 ldouble: 2
 
 Function: "j0_upward":
-double: 3
-float: 2
+double: 4
+float: 5
 ldouble: 5
 
 Function: "j1":
-double: 1
-float: 2
+double: 2
+float: 8
 ldouble: 4
 
 Function: "j1_downward":
 double: 3
-float: 2
+float: 5
 ldouble: 4
 
 Function: "j1_towardzero":
@@ -1224,6 +1226,7 @@  ldouble: 2
 
 Function: "sin":
 double: 1
+float: 1
 ldouble: 1
 
 Function: "sin_downward":
@@ -1321,27 +1324,27 @@  ldouble: 3
 
 Function: "tgamma":
 double: 5
-float: 4
+float: 8
 ldouble: 4
 
 Function: "tgamma_downward":
 double: 5
-float: 5
+float: 7
 ldouble: 5
 
 Function: "tgamma_towardzero":
 double: 5
-float: 4
+float: 7
 ldouble: 5
 
 Function: "tgamma_upward":
 double: 4
-float: 4
+float: 8
 ldouble: 4
 
 Function: "y0":
 double: 2
-float: 1
+float: 6
 ldouble: 3
 
 Function: "y0_downward":