[ECOS] Q: Libm test vectors.
Mon Apr 10 06:43:00 GMT 2000
Sergei Organov wrote:
> Could somebody please tell me how the test vectors for the libm routines are
> generated. It seems that they are rather random and even contain denormalized
> numbers that cause problems on PowerPC when hardware floating point is used.
Yep, random is exactly what they are. That's never been entirely
satisfactory I know.
But denormalized numbers should work. Anyone who does FP arithmetic has to
deal with denormalized numbers every so often. The only other target we
have right now that supports a hardware FPU is the VR4300 port, and if you
look in hal/mips/arch/VERSION/src/mipsfp.c you'll see that we needed to add
code there to deal (in a fairly simple way) for the lack of hardware
support for denormalized numbers.
Does the PPC support a "flush denormal numbers to zero" type of flag?
Red Hat, 35 Cambridge Place, Cambridge, UK. CB2 1NS Tel: +44 (1223) 728762
"Plan to be spontaneous tomorrow." || These opinions are all my own fault
More information about the Ecos-discuss