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] (checked in) fix gcc.dg/vect/vect-dv-2.c


On Fri, May 20, 2005 at 03:12:10AM +0200, Giovanni Bajo wrote:
> Janis Johnson <janis187@us.ibm.com> wrote:
> 
> > Auto-vectorization tests should never specify "dg-do run".  The
> > default action is "run" if the test hardware supports vector
> > instructions, "compile" otherwise.  This gets rid of a failure when
> > the test is run on a PowerPC system without VMX hardware.  I'm
> > checking it in on mainline.
> 
> 
> Since you're at it, I noticed today that there are still two tests in
> gcc.dg/vect which uses dg-do run instead of a specific effective target
> keyword:
> 
> vect-82.c:/* { dg-do run { target powerpc*-*-* } } */
> vect-82_64.c:/* { dg-do run { target { powerpc*-*-* && lp64 } } } */
> vect-83.c:/* { dg-do run { target powerpc*-*-* } } */
> vect-83_64.c:/* { dg-do run { target { powerpc*-*-* && lp64 } } } */

I guess I should have said "auto-vectorization tests should never
specify 'dg-do run' unless they call check_vect before executing any
vector code".  These could be changed now to use dg-skip-if with an
appropriate selector expression, but they're OK as they are.

Janis


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