[testsuite] use AltiVec testsuite for vect tests on powerpc

Janis Johnson janis187@us.ibm.com
Tue Dec 18 23:12:00 GMT 2007


On Mon, 2007-12-17 at 21:28 -0500, Daniel Jacobowitz wrote:
> On Mon, Dec 17, 2007 at 05:31:32PM -0800, Janis Johnson wrote:
> > Using -maltivec without the AltiVec ABI can result in stomped-upon
> > registers in functions that use AltiVec instructions.  This patch
> > forces the AltiVec ABI to be used for powerpc targets in the vect
> > testsuite.  I'll check this in tomorrow unless there are objections.
> > 
> > Tested on powerpc64-linux with -m32/-m64.
> 
> Did I miss some offline discussion about this?  I feel like we've been
> round the issue several times; this is a bug (IMO quite severe) and we
> should fix it, not paper over it.  An option which tells GCC that it
> can use some registers, assume they keep their values across calls,
> and skip saving them is just unsafe.

There have been some disjointed offline discussions but you're right,
we should get this fixed one way or another and I withdraw this patch.
I filed PR34526 to keep track of the issues with having -mabi=no-altivec
the default for powerpc-linux.

Janis



More information about the Gcc-patches mailing list