This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: MIPS: test-float fma math tests trigger underflow exception
- From: Joseph Myers <joseph at codesourcery dot com>
- To: Aurelien Jarno <aurelien at aurel32 dot net>
- Cc: <libc-alpha at sourceware dot org>
- Date: Wed, 29 Jun 2016 21:36:12 +0000
- Subject: Re: MIPS: test-float fma math tests trigger underflow exception
- Authentication-results: sourceware.org; auth=none
- References: <20160629212012 dot GB3688 at aurel32 dot net>
On Wed, 29 Jun 2016, Aurelien Jarno wrote:
> When building the GNU libc on MIPS (at least o32 and n64), one get the
> following testsuite errors for the fma float tests:
These are all processor bugs. MIPS processors are specified to detect
whether floating-point results are tiny, and so determine whether to raise
the underflow exception, on an after-rounding basis. Some MIPS processors
appear to have bugs involving using before-rounding tininess detection in
some cases. These are tests where the expectations depend on whether the
architecture is before-rounding or after-rounding (which is required by
IEEE 754 to be consistent for all operations with binary floating-point
results).
> Does someone has an idea how this can be fixed?
Report the bug to the processor providers.
--
Joseph S. Myers
joseph@codesourcery.com