This is the mail archive of the
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.firstname.lastname@example.org><Pine.LNX.email@example.com>
Richard Guenther <firstname.lastname@example.org> 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?