sparc erc32 FPU confusion

Aleix Conchillo Flaqué aconchillo at ieec.fcr.es
Wed May 31 12:43:58 UTC 2006


On 31 May 2006, at 12:52, Jiri Gaisler wrote:
>
> Yes, this is exactly why the -msoft-float is used for the kernel.
>

So, this patch could be omitted, couldn't it? As -msoft-float is set  
and -O4 can do some more optimizations than -O2.

-CFLAGS_OPTIMIZE_V=-O4
+CFLAGS_OPTIMIZE_V=-O2

> I have seen it in gcc-3.4.4, so probably it was introduced
> in the gcc-3.4.x series. I have not tested gcc-3.3.x .

I have tested it with gcc 3.2.3 and it also uses FPU registers with -O4.

Regards,

aleix




More information about the users mailing list