[uClibc]Hard/Soft floating point support / sigsetjmp bug

Erik Andersen andersen at codepoet.org
Thu May 23 19:12:15 UTC 2002


On Fri May 10, 2002 at 09:25:36AM +0200, Erwin Authried wrote:
> I found that if HAS_FLOATING_POINT is defined, sigsetjmp fails on the
> ARM7TDMI because a hard FP instruction is used:
> 
> #ifdef __UCLIBC_HAS_FLOATS__
>         sfmea   f4, 4, [r0]!
> #endif
> 
> I'm a little bit confused now about the meaning of HAS_FLOATING_POINT. I
> thought it is used to include the soft floating point routines only. Maybe
> there should be two different defines for hard- and soft floating point
> support?

Currently, HAS_FLOATING_POINT means that the CPU you are
compiling for has floating point support (or that you have
a kernel FPU emulator in place that will handle those
instructions).  After looking, I fully agree thaat for 
soft floating point support we need a new/different option,

 -Erik

--
Erik B. Andersen             http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--



More information about the uClibc mailing list