This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Avoid -maltivec in vect.exp if not powerpc_altivec_ok
- From: Janis Johnson <janis187 at us dot ibm dot com>
- To: "Joseph S. Myers" <joseph at codesourcery dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Wed, 29 Nov 2006 16:06:21 -0800
- Subject: Re: Avoid -maltivec in vect.exp if not powerpc_altivec_ok
- References: <Pine.LNX.4.64.0611292359320.13855@digraph.polyomino.org.uk>
On Thu, Nov 30, 2006 at 12:00:39AM +0000, Joseph S. Myers wrote:
> gcc.dg/vect/vect.exp uses -maltivec on PowerPC. It should check the
> powerpc_altivec_ok effective target first to avoid running the tests
> on targets for which this option doesn't work. OK to commit?
>
> (In principle maybe some of the tests could run with SPE vectors -
> i.e. with no special options on such targets - but that would require
> all the effective targets to distinguish different forms of PowerPC
> vectors, which seems like clearly a separate project.)
>
> 2006-11-29 Joseph Myers <joseph@codesourcery.com>
>
> * gcc.dg/vect/vect.exp: Skip PowerPC targets not supporting
> -maltivec.
OK.
Janis