This is the mail archive of the
mailing list for the GCC project.
Re: [PATCH] Optionally emit SSE ABI libm calls on x86
On 7/11/05, Richard Guenther <email@example.com> wrote:
> On Fri, 8 Jul 2005, Richard Henderson wrote:
> > On Fri, Jul 08, 2005 at 09:31:17AM +0200, Richard Guenther wrote:
> > > I honestly doubt it is worth the trouble - my evil plan is to share
> > > the actual implementation between x86_64 and i386 anyway... and as
> > > Uli just made the possibility of sticking these into libm vanish, I
> > > hope to do even more interesting things inside libgcc then.
> > I'm not going to let you put them in libgcc either. You should
> > be putting these into a brand new library.
> Putting together a simple wrapper with SSE ABI in an external library
> was simple. So here it is, for people to play with (and not having
> libimf.a around):
Thanks to Paolo there is now
which has support at the level of the glibc patch (i.e. all functions suitable
for usual, non-fast math). Uros may want to look at why we use FP stack
registers (f.i. in libsse2_sin.o) to load from memory to SSE registers. Ugh.