On Dec 2, 2013, at 3:32 PM, Bill Schmidt <wschm...@linux.vnet.ibm.com> wrote:
> The test case gcc.dg/vect/costmodel/ppc/costmodel-slp-34.c fails if a
> loop isn't vectorized.  When compiled for little endian, the cost of
> vectorizing the loop is deemed too high

> Index: gcc/testsuite/gcc.dg/vect/costmodel/ppc/costmodel-slp-34.c
> ===================================================================
> --- gcc/testsuite/gcc.dg/vect/costmodel/ppc/costmodel-slp-34.c        
> (revision 205585)
> +++ gcc/testsuite/gcc.dg/vect/costmodel/ppc/costmodel-slp-34.c        
> (working copy)
> @@ -1,4 +1,5 @@
> /* { dg-require-effective-target vect_int } */
> +/* { dg-skip-if "" { powerpc*le-*-* } { "*" } { "" } } */

We like noting comments somewhere why we want to skip, the idea being if 
another target has high costs, they can just know that this is a comment 
failure mode.  Maybe something like:

+/* { dg-skip-if "cost to high" { powerpc*le-*-* } { "*" } { "" } } */

?

Reply via email to