This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: exception handling poll
- To: meissner at cygnus dot com
- Subject: Re: exception handling poll
- From: Joel Sherrill <joel at OARcorp dot com>
- Date: Fri, 17 Oct 1997 12:43:32 -0500 (CDT)
- cc: Robin dot Kirkham at mlb dot dmt dot csiro dot au, egcs at cygnus dot com
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