about SPARC_HAS_FPU = 1

Aleix Conchillo Flaqué aconchillo at ieec.cat
Mon Oct 20 06:27:41 UTC 2008


On Fri, Oct 17, 2008 at 15:33, pierre kestener <pierre.kestener at cea.fr> wrote:
>
> Yes, i am referring to the statement
> #define SPARC_HAS_FPU 1
>
> My understanding is that if the kernel is compiled with -msoft-float then we
> have
> #define SPARC_HAS_FPU 0 (from the header file
> cpukit/score/cpu/sparc/rtems/score/sparc.h)
> and then both symbols CPU_HARDWARE_FP and CPU_SOFTWARE_FP are FALSE.
>
[snip]

As Jiri said, SPARC_HAS_FPU should be always set, and this is
currently not true. I guess someone should change/review that.

Aleix



More information about the users mailing list