This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: MIPS: test-float fma math tests trigger underflow exception


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]