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: [PATCH, rs6000] Skip another test case for little endian


Good idea, Mike, I'll make that change.

Thanks,
Bill

On Mon, 2013-12-02 at 16:54 -0800, Mike Stump wrote:
> On Dec 2, 2013, at 3:32 PM, Bill Schmidt <wschmidt@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-*-* } { "*" } { "" } } */
> 
> ?


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