This is the mail archive of the 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]
Other format: [Raw text]

Re: [PATCH] Optionally emit SSE ABI libm calls on x86

On 7/11/05, Richard Guenther <> 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.


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