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
- From: Daniel Jacobowitz <drow at false dot org>
- To: Janis Johnson <janis187 at us dot ibm dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 17 Dec 2007 21:28:40 -0500
- Subject: Re: [testsuite] use AltiVec testsuite for vect tests on powerpc
- References: <1197941492.7115.11.camel@janis-laptop>
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