This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] libgcc variant (was: [PATCH] Optionally emit SSE ABI libm calls on x86)
- From: Ian Lance Taylor <ian at airs dot com>
- To: Richard Guenther <rguenther at suse dot de>
- Cc: Uros Bizjak <uros at kss-loka dot si>, gcc-patches at gcc dot gnu dot org
- Date: 08 Jul 2005 14:03:50 -0700
- Subject: Re: [PATCH] libgcc variant (was: [PATCH] Optionally emit SSE ABI libm calls on x86)
- References: <42CD8A16.6020905@kss-loka.si><Pine.LNX.4.58.0507081630250.9561@wotan.suse.de>
Richard Guenther <rguenther@suse.de> writes:
> For decision-making on wether you like math routines creeping in
> into libgcc, the attached patch is a variant of the -msselibm patch
> with all (but pow) implementations in libgcc.
>
> Q: Do we want these in libgcc?
> Q: If not, where else? (glibc was ruled out already)
I'm sure I'm missing some context here, but for these simple functions
why do we want to call an external function at all? If we care about
getting optimized code, surely it would be better to inline them,
since they are all so small. If we don't care about optimized code,
then why not just call the standard function in the standard way?
Ian