powerpc-eabi-gcc no implicit FPU usage

Mark Mitchell mark@codesourcery.com
Fri May 21 08:58:00 GMT 2010


David Edelsohn wrote:

>>> It is of course a feature much
>>> less valuable on a workstation/server class operating system than on the
>>> VxWorks/RTEMS class of RTOS systems.

> No one disagrees with the potential benefit of the feature.

OK; I must have misremembered.

I believe our current implementation keeps track of FP usage through the
front-end, and then disables any floating-point registers by futzing
with fixed_regs and such when compiling each function.  There appear to
be no back-end specific patches at all.  If that sounds like a
reasonable approach, we might be able to get that into 4.6.

Thanks,

-- 
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713



More information about the Gcc mailing list