This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH, rs6000] Skip another test case for little endian
- From: Bill Schmidt <wschmidt at linux dot vnet dot ibm dot com>
- To: Mike Stump <mikestump at comcast dot net>
- Cc: gcc-patches at gcc dot gnu dot org, dje dot gcc at gmail dot com
- Date: Mon, 02 Dec 2013 19:03:45 -0600
- Subject: Re: [PATCH, rs6000] Skip another test case for little endian
- Authentication-results: sourceware.org; auth=none
- References: <1386027144 dot 25660 dot 26 dot camel at gnopaine> <582D26C7-84BC-48A6-B2D7-05D98B957850 at comcast dot net>
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-*-* } { "*" } { "" } } */
>
> ?