[PATCH][libgcc-math] Vectorized intrinsics for x86_64

Richard Henderson rth@redhat.com
Fri Mar 31 15:58:00 GMT 2006


On Tue, Mar 28, 2006 at 10:23:47AM +0200, Richard Guenther wrote:
> The intrinsics implementation was contributed by AMD to be licensed
> as GPL + libgcc execption.

It's a shame they were written in hand-coded assembly; otherwise
we could use them for 32-bit as well.  I don't have any trouble
adding these routines, but I think the data sections need some work.

First, none of the data put in .data is writable.  At bare minimum
this should be going into .rodata.  But I also see that there is 
quite a bit of overlap between the various routines, so it would be
Much Better if we could make use of the constant pooling featues of
the linker.  So the tables should go into .rodata, but the individual
double-precision values should go into

	.section .rodata.cst8, "M", @progbits, 8
	.align 8

:REVIEWMAIL:


r~



More information about the Gcc-patches mailing list