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: [testsuite] use AltiVec testsuite for vect tests on powerpc


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.

-- 
Daniel Jacobowitz
CodeSourcery


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