unofficial mirror of libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* 5 x86-64 test failures on master, math/test-*-j0
@ 2020-07-17 19:20 Andreas K. Hüttel via Libc-alpha
  2020-07-24  0:57 ` Andreas K. Hüttel via Libc-alpha
  0 siblings, 1 reply; 5+ messages in thread
From: Andreas K. Hüttel via Libc-alpha @ 2020-07-17 19:20 UTC (permalink / raw)
  To: libc-alpha

[-- Attachment #1: Type: text/plain, Size: 3422 bytes --]

With today's master (e9422236a2dd4cf2b7e900af5e84706da68bd43e) I get the 
following test failures:

FAIL: math/test-double-j0
FAIL: math/test-float-j0
FAIL: math/test-float32-j0
FAIL: math/test-float32x-j0
FAIL: math/test-float64-j0


math/test-double-j0:

testing double (without inline functions)
Failure: Test: j0_towardzero (0x2.602774p+0)
Result:
 is:          1.5262095721573004e-02   0x1.f41bbcff0cc83p-7
 should be:   1.5262095721573012e-02   0x1.f41bbcff0cc88p-7
 difference:  8.6736173798840354e-18   0x1.4000000000000p-57
 ulp       :  5.0000
 max.ulp   :  4.0000
Maximal error of `j0_towardzero'
 is      : 5 ulp
 accepted: 4 ulp

Test suite completed:
  200 test cases plus 196 tests for exception flags and
    196 tests for errno executed.
  2 errors occurred.


math/test-float-j0:

testing float (without inline functions)
Failure: Test: j0_towardzero (0x2.602774p+0)
Result:
 is:          1.52620896e-02   0x1.f41bb0p-7
 should be:   1.52620952e-02   0x1.f41bbcp-7
 difference:  5.58793544e-09   0x1.800000p-28
 ulp       :  6.0000
 max.ulp   :  5.0000
Maximal error of `j0_towardzero'
 is      : 6 ulp
 accepted: 5 ulp

Test suite completed:
  160 test cases plus 156 tests for exception flags and
    156 tests for errno executed.
  2 errors occurred.


test-float32-j0:

testing _Float32 (without inline functions)
Failure: Test: j0_towardzero (0x2.602774p+0)
Result:
 is:          1.52620896e-02   0x1.f41bb0p-7
 should be:   1.52620952e-02   0x1.f41bbcp-7
 difference:  5.58793544e-09   0x1.800000p-28
 ulp       :  6.0000
 max.ulp   :  5.0000
Maximal error of `j0_towardzero'
 is      : 6 ulp
 accepted: 5 ulp

Test suite completed:
  160 test cases plus 156 tests for exception flags and
    156 tests for errno executed.
  2 errors occurred.


test-float32x-j0:

testing _Float32x (without inline functions)
Failure: Test: j0_towardzero (0x2.602774p+0)
Result:
 is:          1.5262095721573004e-02   0x1.f41bbcff0cc83p-7
 should be:   1.5262095721573012e-02   0x1.f41bbcff0cc88p-7
 difference:  8.6736173798840354e-18   0x1.4000000000000p-57
 ulp       :  5.0000
 max.ulp   :  4.0000
Maximal error of `j0_towardzero'
 is      : 5 ulp
 accepted: 4 ulp

Test suite completed:
  200 test cases plus 196 tests for exception flags and
    196 tests for errno executed.
  2 errors occurred.


test-float64-j0:

testing _Float64 (without inline functions)
Failure: Test: j0_towardzero (0x2.602774p+0)
Result:
 is:          1.5262095721573004e-02   0x1.f41bbcff0cc83p-7
 should be:   1.5262095721573012e-02   0x1.f41bbcff0cc88p-7
 difference:  8.6736173798840354e-18   0x1.4000000000000p-57
 ulp       :  5.0000
 max.ulp   :  4.0000
Maximal error of `j0_towardzero'
 is      : 5 ulp
 accepted: 4 ulp

Test suite completed:
  200 test cases plus 196 tests for exception flags and
    196 tests for errno executed.
  2 errors occurred.



Machine: 
Linux farino 5.4.50-gentoo-ah1 #1 SMP PREEMPT Fri Jul 3 18:00:55 EEST 2020 
x86_64 Intel(R) Core(TM) i5-8265U CPU @ 1.60GHz GenuineIntel GNU/Linux

*FLAGS: -march=native -O2 -pipe -ggdb -frecord-gcc-switches

gcc (Gentoo 10.1.0-r2 p3) 10.1.0

GNU ld (Gentoo 2.34 p4) 2.34.0


Thanks in advance, 
Andreas

-- 
Andreas K. Hüttel
dilfridge@gentoo.org
Gentoo Linux developer 
(council, qa, toolchain, base-system, perl, libreoffice)

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 963 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: 5 x86-64 test failures on master, math/test-*-j0
  2020-07-17 19:20 5 x86-64 test failures on master, math/test-*-j0 Andreas K. Hüttel via Libc-alpha
@ 2020-07-24  0:57 ` Andreas K. Hüttel via Libc-alpha
  2020-07-24  1:09   ` Carlos O'Donell via Libc-alpha
  0 siblings, 1 reply; 5+ messages in thread
From: Andreas K. Hüttel via Libc-alpha @ 2020-07-24  0:57 UTC (permalink / raw)
  To: libc-alpha

[-- Attachment #1: Type: text/plain, Size: 3794 bytes --]

Ping pretty please. Still failing...

Am Freitag, 17. Juli 2020, 22:20:00 EEST schrieb Andreas K. Hüttel via Libc-
alpha:
> With today's master (e9422236a2dd4cf2b7e900af5e84706da68bd43e) I get the
> following test failures:
> 
> FAIL: math/test-double-j0
> FAIL: math/test-float-j0
> FAIL: math/test-float32-j0
> FAIL: math/test-float32x-j0
> FAIL: math/test-float64-j0
> 
> 
> math/test-double-j0:
> 
> testing double (without inline functions)
> Failure: Test: j0_towardzero (0x2.602774p+0)
> Result:
>  is:          1.5262095721573004e-02   0x1.f41bbcff0cc83p-7
>  should be:   1.5262095721573012e-02   0x1.f41bbcff0cc88p-7
>  difference:  8.6736173798840354e-18   0x1.4000000000000p-57
>  ulp       :  5.0000
>  max.ulp   :  4.0000
> Maximal error of `j0_towardzero'
>  is      : 5 ulp
>  accepted: 4 ulp
> 
> Test suite completed:
>   200 test cases plus 196 tests for exception flags and
>     196 tests for errno executed.
>   2 errors occurred.
> 
> 
> math/test-float-j0:
> 
> testing float (without inline functions)
> Failure: Test: j0_towardzero (0x2.602774p+0)
> Result:
>  is:          1.52620896e-02   0x1.f41bb0p-7
>  should be:   1.52620952e-02   0x1.f41bbcp-7
>  difference:  5.58793544e-09   0x1.800000p-28
>  ulp       :  6.0000
>  max.ulp   :  5.0000
> Maximal error of `j0_towardzero'
>  is      : 6 ulp
>  accepted: 5 ulp
> 
> Test suite completed:
>   160 test cases plus 156 tests for exception flags and
>     156 tests for errno executed.
>   2 errors occurred.
> 
> 
> test-float32-j0:
> 
> testing _Float32 (without inline functions)
> Failure: Test: j0_towardzero (0x2.602774p+0)
> Result:
>  is:          1.52620896e-02   0x1.f41bb0p-7
>  should be:   1.52620952e-02   0x1.f41bbcp-7
>  difference:  5.58793544e-09   0x1.800000p-28
>  ulp       :  6.0000
>  max.ulp   :  5.0000
> Maximal error of `j0_towardzero'
>  is      : 6 ulp
>  accepted: 5 ulp
> 
> Test suite completed:
>   160 test cases plus 156 tests for exception flags and
>     156 tests for errno executed.
>   2 errors occurred.
> 
> 
> test-float32x-j0:
> 
> testing _Float32x (without inline functions)
> Failure: Test: j0_towardzero (0x2.602774p+0)
> Result:
>  is:          1.5262095721573004e-02   0x1.f41bbcff0cc83p-7
>  should be:   1.5262095721573012e-02   0x1.f41bbcff0cc88p-7
>  difference:  8.6736173798840354e-18   0x1.4000000000000p-57
>  ulp       :  5.0000
>  max.ulp   :  4.0000
> Maximal error of `j0_towardzero'
>  is      : 5 ulp
>  accepted: 4 ulp
> 
> Test suite completed:
>   200 test cases plus 196 tests for exception flags and
>     196 tests for errno executed.
>   2 errors occurred.
> 
> 
> test-float64-j0:
> 
> testing _Float64 (without inline functions)
> Failure: Test: j0_towardzero (0x2.602774p+0)
> Result:
>  is:          1.5262095721573004e-02   0x1.f41bbcff0cc83p-7
>  should be:   1.5262095721573012e-02   0x1.f41bbcff0cc88p-7
>  difference:  8.6736173798840354e-18   0x1.4000000000000p-57
>  ulp       :  5.0000
>  max.ulp   :  4.0000
> Maximal error of `j0_towardzero'
>  is      : 5 ulp
>  accepted: 4 ulp
> 
> Test suite completed:
>   200 test cases plus 196 tests for exception flags and
>     196 tests for errno executed.
>   2 errors occurred.
> 
> 
> 
> Machine:
> Linux farino 5.4.50-gentoo-ah1 #1 SMP PREEMPT Fri Jul 3 18:00:55 EEST 2020
> x86_64 Intel(R) Core(TM) i5-8265U CPU @ 1.60GHz GenuineIntel GNU/Linux
> 
> *FLAGS: -march=native -O2 -pipe -ggdb -frecord-gcc-switches
> 
> gcc (Gentoo 10.1.0-r2 p3) 10.1.0
> 
> GNU ld (Gentoo 2.34 p4) 2.34.0
> 
> 
> Thanks in advance,
> Andreas


-- 
Andreas K. Hüttel
dilfridge@gentoo.org
Gentoo Linux developer 
(council, qa, toolchain, base-system, perl, libreoffice)

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 963 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: 5 x86-64 test failures on master, math/test-*-j0
  2020-07-24  0:57 ` Andreas K. Hüttel via Libc-alpha
@ 2020-07-24  1:09   ` Carlos O'Donell via Libc-alpha
  2020-07-25  9:36     ` [PATCH] Update x86-64 libm-test-ulps dilfridge--- via Libc-alpha
  0 siblings, 1 reply; 5+ messages in thread
From: Carlos O'Donell via Libc-alpha @ 2020-07-24  1:09 UTC (permalink / raw)
  To: Andreas K. Hüttel, libc-alpha

On 7/23/20 8:57 PM, Andreas K. Hüttel via Libc-alpha wrote:
> Ping pretty please. Still failing...

We fixed something similar for i686.

See: https://sourceware.org/glibc/wiki/Regeneration#Math_files

Can you please run `make regen-ulps` on that machine, update the ULPs file,
re-test to make sure it covers everything, and then submit the patch?

I'll review and apply it for the release.
 
> Am Freitag, 17. Juli 2020, 22:20:00 EEST schrieb Andreas K. Hüttel via Libc-
> alpha:
>> With today's master (e9422236a2dd4cf2b7e900af5e84706da68bd43e) I get the
>> following test failures:
>>
>> FAIL: math/test-double-j0
>> FAIL: math/test-float-j0
>> FAIL: math/test-float32-j0
>> FAIL: math/test-float32x-j0
>> FAIL: math/test-float64-j0
>>
>>
>> math/test-double-j0:
>>
>> testing double (without inline functions)
>> Failure: Test: j0_towardzero (0x2.602774p+0)
>> Result:
>>  is:          1.5262095721573004e-02   0x1.f41bbcff0cc83p-7
>>  should be:   1.5262095721573012e-02   0x1.f41bbcff0cc88p-7
>>  difference:  8.6736173798840354e-18   0x1.4000000000000p-57
>>  ulp       :  5.0000
>>  max.ulp   :  4.0000
>> Maximal error of `j0_towardzero'
>>  is      : 5 ulp
>>  accepted: 4 ulp
>>
>> Test suite completed:
>>   200 test cases plus 196 tests for exception flags and
>>     196 tests for errno executed.
>>   2 errors occurred.
>>
>>
>> math/test-float-j0:
>>
>> testing float (without inline functions)
>> Failure: Test: j0_towardzero (0x2.602774p+0)
>> Result:
>>  is:          1.52620896e-02   0x1.f41bb0p-7
>>  should be:   1.52620952e-02   0x1.f41bbcp-7
>>  difference:  5.58793544e-09   0x1.800000p-28
>>  ulp       :  6.0000
>>  max.ulp   :  5.0000
>> Maximal error of `j0_towardzero'
>>  is      : 6 ulp
>>  accepted: 5 ulp
>>
>> Test suite completed:
>>   160 test cases plus 156 tests for exception flags and
>>     156 tests for errno executed.
>>   2 errors occurred.
>>
>>
>> test-float32-j0:
>>
>> testing _Float32 (without inline functions)
>> Failure: Test: j0_towardzero (0x2.602774p+0)
>> Result:
>>  is:          1.52620896e-02   0x1.f41bb0p-7
>>  should be:   1.52620952e-02   0x1.f41bbcp-7
>>  difference:  5.58793544e-09   0x1.800000p-28
>>  ulp       :  6.0000
>>  max.ulp   :  5.0000
>> Maximal error of `j0_towardzero'
>>  is      : 6 ulp
>>  accepted: 5 ulp
>>
>> Test suite completed:
>>   160 test cases plus 156 tests for exception flags and
>>     156 tests for errno executed.
>>   2 errors occurred.
>>
>>
>> test-float32x-j0:
>>
>> testing _Float32x (without inline functions)
>> Failure: Test: j0_towardzero (0x2.602774p+0)
>> Result:
>>  is:          1.5262095721573004e-02   0x1.f41bbcff0cc83p-7
>>  should be:   1.5262095721573012e-02   0x1.f41bbcff0cc88p-7
>>  difference:  8.6736173798840354e-18   0x1.4000000000000p-57
>>  ulp       :  5.0000
>>  max.ulp   :  4.0000
>> Maximal error of `j0_towardzero'
>>  is      : 5 ulp
>>  accepted: 4 ulp
>>
>> Test suite completed:
>>   200 test cases plus 196 tests for exception flags and
>>     196 tests for errno executed.
>>   2 errors occurred.
>>
>>
>> test-float64-j0:
>>
>> testing _Float64 (without inline functions)
>> Failure: Test: j0_towardzero (0x2.602774p+0)
>> Result:
>>  is:          1.5262095721573004e-02   0x1.f41bbcff0cc83p-7
>>  should be:   1.5262095721573012e-02   0x1.f41bbcff0cc88p-7
>>  difference:  8.6736173798840354e-18   0x1.4000000000000p-57
>>  ulp       :  5.0000
>>  max.ulp   :  4.0000
>> Maximal error of `j0_towardzero'
>>  is      : 5 ulp
>>  accepted: 4 ulp
>>
>> Test suite completed:
>>   200 test cases plus 196 tests for exception flags and
>>     196 tests for errno executed.
>>   2 errors occurred.
>>
>>
>>
>> Machine:
>> Linux farino 5.4.50-gentoo-ah1 #1 SMP PREEMPT Fri Jul 3 18:00:55 EEST 2020
>> x86_64 Intel(R) Core(TM) i5-8265U CPU @ 1.60GHz GenuineIntel GNU/Linux
>>
>> *FLAGS: -march=native -O2 -pipe -ggdb -frecord-gcc-switches
>>
>> gcc (Gentoo 10.1.0-r2 p3) 10.1.0
>>
>> GNU ld (Gentoo 2.34 p4) 2.34.0
>>
>>
>> Thanks in advance,
>> Andreas
> 
> 


-- 
Cheers,
Carlos.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH] Update x86-64 libm-test-ulps
  2020-07-24  1:09   ` Carlos O'Donell via Libc-alpha
@ 2020-07-25  9:36     ` dilfridge--- via Libc-alpha
  2020-07-25 21:10       ` Carlos O'Donell via Libc-alpha
  0 siblings, 1 reply; 5+ messages in thread
From: dilfridge--- via Libc-alpha @ 2020-07-25  9:36 UTC (permalink / raw)
  To: libc-alpha

From: Andreas K. Hüttel <dilfridge@gentoo.org>

x86_64 Intel(R) Core(TM) i5-8265U
gcc (Gentoo 10.1.0-r2 p3) 10.1.0
---
 sysdeps/x86_64/fpu/libm-test-ulps | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sysdeps/x86_64/fpu/libm-test-ulps b/sysdeps/x86_64/fpu/libm-test-ulps
index 196e60d0b9..d71d86d961 100644
--- a/sysdeps/x86_64/fpu/libm-test-ulps
+++ b/sysdeps/x86_64/fpu/libm-test-ulps
@@ -1323,8 +1323,8 @@ float128: 4
 ldouble: 4
 
 Function: "j0_towardzero":
-double: 4
-float: 5
+double: 5
+float: 6
 float128: 2
 ldouble: 5
 
-- 
2.26.2


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH] Update x86-64 libm-test-ulps
  2020-07-25  9:36     ` [PATCH] Update x86-64 libm-test-ulps dilfridge--- via Libc-alpha
@ 2020-07-25 21:10       ` Carlos O'Donell via Libc-alpha
  0 siblings, 0 replies; 5+ messages in thread
From: Carlos O'Donell via Libc-alpha @ 2020-07-25 21:10 UTC (permalink / raw)
  To: dilfridge, libc-alpha

On 7/25/20 5:36 AM, dilfridge@gentoo.org wrote:
> From: Andreas K. Hüttel <dilfridge@gentoo.org>
> 
> x86_64 Intel(R) Core(TM) i5-8265U
> gcc (Gentoo 10.1.0-r2 p3) 10.1.0

OK for 2.32.

I've gone ahead and pushed this for you. Thank you!

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

> ---
>  sysdeps/x86_64/fpu/libm-test-ulps | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/sysdeps/x86_64/fpu/libm-test-ulps b/sysdeps/x86_64/fpu/libm-test-ulps
> index 196e60d0b9..d71d86d961 100644
> --- a/sysdeps/x86_64/fpu/libm-test-ulps
> +++ b/sysdeps/x86_64/fpu/libm-test-ulps
> @@ -1323,8 +1323,8 @@ float128: 4
>  ldouble: 4
>  
>  Function: "j0_towardzero":
> -double: 4
> -float: 5
> +double: 5
> +float: 6
>  float128: 2
>  ldouble: 5
>  
> 


-- 
Cheers,
Carlos.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-07-25 21:10 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-17 19:20 5 x86-64 test failures on master, math/test-*-j0 Andreas K. Hüttel via Libc-alpha
2020-07-24  0:57 ` Andreas K. Hüttel via Libc-alpha
2020-07-24  1:09   ` Carlos O'Donell via Libc-alpha
2020-07-25  9:36     ` [PATCH] Update x86-64 libm-test-ulps dilfridge--- via Libc-alpha
2020-07-25 21:10       ` Carlos O'Donell via Libc-alpha

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).