NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
port-sparc64/59310: t_fe_round:fe_nearbyint_rint tests are failing
>Number: 59310
>Category: port-sparc64
>Synopsis: t_fe_round:fe_nearbyint_rint tests are failing
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: port-sparc64-maintainer
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Apr 17 13:25:00 +0000 2025
>Originator: Taylor R Campbell
>Release: current
>Organization:
The SparcBSD Roundation
>Environment:
>Description:
Failures are happening both under qemu and on real hardware. Curiously, they are not happening on sparc32 -- only sparc64.
t_fe_round:fe_nearbyint_rint failures (https://www.netbsd.org/~martin/sparc64-atf/965_atf.html#lib_libm_t_fe_round_fe_nearbyint_rint):
*** Check failed: /home/martin/current/src/tests/lib/libm/t_fe_round.c:294: [0] FE_DOWNWARD nearbyintl(3.750000): got 4.000000, expected 3
*** Check failed: /home/martin/current/src/tests/lib/libm/t_fe_round.c:263: [0] FE_DOWNWARD rintl(3.750000) failed to raise FE_INEXACT
*** Check failed: /home/martin/current/src/tests/lib/libm/t_fe_round.c:294: [0] FE_DOWNWARD rintl(3.750000): got 4.000000, expected 3
*** Check failed: /home/martin/current/src/tests/lib/libm/t_fe_round.c:263: [1] FE_DOWNWARD rintl(-3.750000) failed to raise FE_INEXACT
*** Check failed: /home/martin/current/src/tests/lib/libm/t_fe_round.c:294: [4] FE_DOWNWARD nearbyintl(-9223.062500): got -9223.000000, expected -9224
*** Check failed: /home/martin/current/src/tests/lib/libm/t_fe_round.c:263: [4] FE_DOWNWARD rintl(-9223.062500) failed to raise FE_INEXACT
*** Check failed: /home/martin/current/src/tests/lib/libm/t_fe_round.c:294: [4] FE_DOWNWARD rintl(-9223.062500): got -9223.000000, expected -9224
*** Check failed: /home/martin/current/src/tests/lib/libm/t_fe_round.c:294: [5] FE_DOWNWARD nearbyintl(9222.937500): got 9223.000000, expected 9222
*** Check failed: /home/martin/current/src/tests/lib/libm/t_fe_round.c:263: [5] FE_DOWNWARD rintl(9222.937500) failed to raise FE_INEXACT
*** Check failed: /home/martin/current/src/tests/lib/libm/t_fe_round.c:294: [5] FE_DOWNWARD rintl(9222.937500): got 9223.000000, expected 9222
*** Check failed: /home/martin/current/src/tests/lib/libm/t_fe_round.c:263: [6] FE_DOWNWARD rintl(-9222.937500) failed to raise FE_INEXACT
*** Check failed: /home/martin/current/src/tests/lib/libm/t_fe_round.c:263: [7] FE_DOWNWARD rintl(9223.062500) failed to raise FE_INEXACT
*** Check failed: /home/martin/current/src/tests/lib/libm/t_fe_round.c:294: [10] FE_UPWARD nearbyintl(-123.750000): got -124.000000, expected -123
*** Check failed: /home/martin/current/src/tests/lib/libm/t_fe_round.c:263: [10] FE_UPWARD rintl(-123.750000) failed to raise FE_INEXACT
*** Check failed: /home/martin/current/src/tests/lib/libm/t_fe_round.c:294: [10] FE_UPWARD rintl(-123.750000): got -124.000000, expected -123
*** Check failed: /home/martin/current/src/tests/lib/libm/t_fe_round.c:263: [11] FE_UPWARD rintl(123.750000) failed to raise FE_INEXACT
*** Check failed: /home/martin/current/src/tests/lib/libm/t_fe_round.c:263: [12] FE_UPWARD rintl(-9223.062500) failed to raise FE_INEXACT
*** Check failed: /home/martin/current/src/tests/lib/libm/t_fe_round.c:263: [13] FE_UPWARD rintl(9222.937500) failed to raise FE_INEXACT
*** Check failed: /home/martin/current/src/tests/lib/libm/t_fe_round.c:294: [14] FE_UPWARD nearbyintl(-9222.937500): got -9223.000000, expected -9222
*** Check failed: /home/martin/current/src/tests/lib/libm/t_fe_round.c:263: [14] FE_UPWARD rintl(-9222.937500) failed to raise FE_INEXACT
*** Check failed: /home/martin/current/src/tests/lib/libm/t_fe_round.c:294: [14] FE_UPWARD rintl(-9222.937500): got -9223.000000, expected -9222
*** Check failed: /home/martin/current/src/tests/lib/libm/t_fe_round.c:294: [15] FE_UPWARD nearbyintl(9223.062500): got 9223.000000, expected 9224
*** Check failed: /home/martin/current/src/tests/lib/libm/t_fe_round.c:263: [15] FE_UPWARD rintl(9223.062500) failed to raise FE_INEXACT
*** Check failed: /home/martin/current/src/tests/lib/libm/t_fe_round.c:294: [15] FE_UPWARD rintl(9223.062500): got 9223.000000, expected 9224
*** Check failed: /home/martin/current/src/tests/lib/libm/t_fe_round.c:294: [16] FE_TOWARDZERO nearbyintl(1.937500): got 2.000000, expected 1
*** Check failed: /home/martin/current/src/tests/lib/libm/t_fe_round.c:263: [16] FE_TOWARDZERO rintl(1.937500) failed to raise FE_INEXACT
*** Check failed: /home/martin/current/src/tests/lib/libm/t_fe_round.c:294: [16] FE_TOWARDZERO rintl(1.937500): got 2.000000, expected 1
*** Check failed: /home/martin/current/src/tests/lib/libm/t_fe_round.c:294: [17] FE_TOWARDZERO nearbyintl(-1.937500): got -2.000000, expected -1
*** Check failed: /home/martin/current/src/tests/lib/libm/t_fe_round.c:263: [17] FE_TOWARDZERO rintl(-1.937500) failed to raise FE_INEXACT
*** Check failed: /home/martin/current/src/tests/lib/libm/t_fe_round.c:294: [17] FE_TOWARDZERO rintl(-1.937500): got -2.000000, expected -1
*** Check failed: /home/martin/current/src/tests/lib/libm/t_fe_round.c:263: [18] FE_TOWARDZERO rintl(0.250000) failed to raise FE_INEXACT
*** Check failed: /home/martin/current/src/tests/lib/libm/t_fe_round.c:263: [19] FE_TOWARDZERO rintl(9223.062500) failed to raise FE_INEXACT
*** Check failed: /home/martin/current/src/tests/lib/libm/t_fe_round.c:294: [20] FE_TOWARDZERO nearbyintl(9222.937500): got 9223.000000, expected 9222
*** Check failed: /home/martin/current/src/tests/lib/libm/t_fe_round.c:263: [20] FE_TOWARDZERO rintl(9222.937500) failed to raise FE_INEXACT
*** Check failed: /home/martin/current/src/tests/lib/libm/t_fe_round.c:294: [20] FE_TOWARDZERO rintl(9222.937500): got 9223.000000, expected 9222
*** Check failed: /home/martin/current/src/tests/lib/libm/t_fe_round.c:294: [21] FE_TOWARDZERO nearbyintl(-9222.937500): got -9223.000000, expected -9222
*** Check failed: /home/martin/current/src/tests/lib/libm/t_fe_round.c:263: [21] FE_TOWARDZERO rintl(-9222.937500) failed to raise FE_INEXACT
*** Check failed: /home/martin/current/src/tests/lib/libm/t_fe_round.c:294: [21] FE_TOWARDZERO rintl(-9222.937500): got -9223.000000, expected -9222
*** Check failed: /home/martin/current/src/tests/lib/libm/t_fe_round.c:263: [24] FE_TONEAREST rintl(-9223.062500) failed to raise FE_INEXACT
*** Check failed: /home/martin/current/src/tests/lib/libm/t_fe_round.c:263: [25] FE_TONEAREST rintl(9222.937500) failed to raise FE_INEXACT
*** Check failed: /home/martin/current/src/tests/lib/libm/t_fe_round.c:263: [26] FE_TONEAREST rintl(-9222.937500) failed to raise FE_INEXACT
*** Check failed: /home/martin/current/src/tests/lib/libm/t_fe_round.c:263: [27] FE_TONEAREST rintl(9223.062500) failed to raise FE_INEXACT
*** Check failed: /home/martin/current/src/tests/lib/libm/t_fe_round.c:263: [28] FE_TONEAREST rintl(-9223.531250) failed to raise FE_INEXACT
*** Check failed: /home/martin/current/src/tests/lib/libm/t_fe_round.c:263: [29] FE_TONEAREST rintl(9222.468750) failed to raise FE_INEXACT
*** Check failed: /home/martin/current/src/tests/lib/libm/t_fe_round.c:263: [30] FE_TONEAREST rintl(-9222.468750) failed to raise FE_INEXACT
*** Check failed: /home/martin/current/src/tests/lib/libm/t_fe_round.c:263: [31] FE_TONEAREST rintl(9223.531250) failed to raise FE_INEXACT
t_fe_round:fe_nearbyintl_rintl failures (https://www.netbsd.org/~martin/sparc64-atf/965_atf.html#lib_libm_t_fe_round_fe_nearbyintl_rintl):
*** Check failed: /home/martin/current/src/tests/lib/libm/t_fe_round.c:390: [0] FE_TOWARDZERO rintl(9007199254740992.500000) failed to raise FE_INEXACT
*** Check failed: /home/martin/current/src/tests/lib/libm/t_fe_round.c:390: [1] FE_DOWNWARD rintl(9007199254740992.500000) failed to raise FE_INEXACT
*** Check failed: /home/martin/current/src/tests/lib/libm/t_fe_round.c:390: [2] FE_UPWARD rintl(9007199254740992.500000) failed to raise FE_INEXACT
*** Check failed: /home/martin/current/src/tests/lib/libm/t_fe_round.c:421: [2] FE_UPWARD rintl(9007199254740992.500000): got 9007199254740992.000000, expected 9007199254740993
*** Check failed: /home/martin/current/src/tests/lib/libm/t_fe_round.c:421: [2] FE_UPWARD nearbyintl(9007199254740992.500000): got 9007199254740992.000000, expected 9007199254740993
*** Check failed: /home/martin/current/src/tests/lib/libm/t_fe_round.c:390: [3] FE_TONEAREST rintl(9007199254740992.500000) failed to raise FE_INEXACT
*** Check failed: /home/martin/current/src/tests/lib/libm/t_fe_round.c:390: [4] FE_TOWARDZERO rintl(9007199254740993.500000) failed to raise FE_INEXACT
*** Check failed: /home/martin/current/src/tests/lib/libm/t_fe_round.c:421: [4] FE_TOWARDZERO rintl(9007199254740993.500000): got 9007199254740994.000000, expected 9007199254740993
*** Check failed: /home/martin/current/src/tests/lib/libm/t_fe_round.c:421: [4] FE_TOWARDZERO nearbyintl(9007199254740993.500000): got 9007199254740994.000000, expected 9007199254740993
*** Check failed: /home/martin/current/src/tests/lib/libm/t_fe_round.c:390: [5] FE_DOWNWARD rintl(9007199254740993.500000) failed to raise FE_INEXACT
*** Check failed: /home/martin/current/src/tests/lib/libm/t_fe_round.c:421: [5] FE_DOWNWARD rintl(9007199254740993.500000): got 9007199254740994.000000, expected 9007199254740993
*** Check failed: /home/martin/current/src/tests/lib/libm/t_fe_round.c:421: [5] FE_DOWNWARD nearbyintl(9007199254740993.500000): got 9007199254740994.000000, expected 9007199254740993
*** Check failed: /home/martin/current/src/tests/lib/libm/t_fe_round.c:390: [6] FE_UPWARD rintl(9007199254740993.500000) failed to raise FE_INEXACT
*** Check failed: /home/martin/current/src/tests/lib/libm/t_fe_round.c:390: [7] FE_TONEAREST rintl(9007199254740993.500000) failed to raise FE_INEXACT
>How-To-Repeat:
cd /usr/tests/lib/libm
atf-run t_fe_round | atf-report
>Fix:
Yes, please!
Home |
Main Index |
Thread Index |
Old Index