This is the mail archive of the gcc-patches@gcc.gnu.org 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 <rguenther@suse.de> 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 
http://www.tat.physik.uni-tuebingen.de/~rguenth/gcc/libsse2-0.1.tar.gz

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.

Richard.


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