This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: exception handling poll




On Fri, 17 Oct 1997 meissner@cygnus.com wrote:

> | The PPC problem is probably more difficult to address.  The code generate
> | for vfprintf saves an FP regsiter in the prolog because of the path for FP
> | numbers.  So even if you do not print an FP number, you still end up
> | touching the FPU.
> 
> No, it is not a problem on the PPC at all.  The PPC ships different versions of
> the libraries, based on endianess, whether floating point is done in hardware
> or emulated, and whether you use the old sort-of AIX based calling sequence or
> the newer eabi.  So, if you use the gcc driver, and add the -msoft-float option
> when linking, you will get libraries that do not use the floating point
> instructions.  This is true of many of our ports.

This would work if NONE of the application used floating point.  But this
is a case where there are multiple tasks/threads running and you want to
specify on an individual basis whether a particular thread uses FP.  The
application must be linked with the HW FP math library. 

Does the distinction make sense?  

--joel



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]