NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
lib/57419: Automated test failures on RPi0W related to floating point math processor
>Number: 57419
>Category: lib
>Synopsis: Automated test failures on RPi0W related to floating point math processor
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: lib-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu May 18 00:40:00 +0000 2023
>Originator: Jim Spath
>Release: 10.0_BETA
>Organization:
>Environment:
NetBSD nzerow 10.0_BETA NetBSD 10.0_BETA (RPI) #0: Mon May 15 10:40:13 UTC 2023 mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/evbarm/compile/RPI evbarm
>Description:
I ran the full automated test framework on a Raspberry Pi 0 W. Among the failures were 10 test cases, each related to floating point math.
lib/libc/gen/t_fpclassify:fpclassify_double,
lib/libc/gen/t_fpclassify:fpclassify_float,
lib/libc/gen/t_fpsetmask:fpsetmask_unmasked_double,
lib/libc/gen/t_fpsetmask:fpsetmask_unmasked_float,
lib/libc/gen/t_fpsetmask:fpsetmask_unmasked_long_double,
lib/libc/gen/t_siginfo:sigfpe_flt,
lib/libm/t_exp:exp2_powers,
lib/libm/t_ldexp:ldexp_denormal,
lib/libm/t_ldexp:ldexp_denormal_large,
lib/libm/t_ldexp:ldexp_underflow,
One example from above:
tps-count: 1
tp-start: 1684316405.482514, lib/libm/t_exp, 1
tc-start: 1684316405.482848, exp2_powers
tc-se:*** Check failed: subtest 23: exp2f(-127) is 0 (0x0.00000000000000p+0) not 5.87747e-39 (0x1.0000000000000p-127), error 1 (0x1.000000p+0) > 0
tc-se:*** Check failed: subtest 24: exp2f(-128) is 0 (0x0.00000000000000p+0) not 2.93874e-39 (0x1.0000000000000p-128), error 1 (0x1.000000p+0) > 0
tc-end: 1684316405.556077, exp2_powers, failed, 2 checks failed; see output for more details
tp-end: 1684316405.569460, lib/libm/t_exp
One reference I found related to this:
https://mail-index.netbsd.org/port-arm/2015/02/23/msg002872.html
"earmv6hf IEEE754 underflow problem"
That thread ends with:
https://mail-index.netbsd.org/port-arm/2015/02/25/msg002882.html
~
"The armv6 vfp needs exception code to do denormals properly and that code has not been written. Until that code is written, flush to zero is enforced."
~
>How-To-Repeat:
Run the listed test cases on a Pi Zero W.
>Fix:
Unknown.
Home |
Main Index |
Thread Index |
Old Index