This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [testsuite] use AltiVec testsuite for vect tests on powerpc
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.
I remember some of the earlier discussions. Didn't you have a patch to
fix this in one way or another? If so, do you still think it's the
right thing? Perhaps we could restart the conversation and try to drive
it to conclusion.
--
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713