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: Add target selectors to slp-37.c (PR87078)


On Tue, Aug 28, 2018 at 12:31 PM Richard Sandiford
<richard.sandiford@arm.com> wrote:
>
> This test was failing for Power 7 due to the lack of hw support
> for unaligned accesses.
>
> Tested on aarch64-linux-gnu, x86_64-linux-gnu and powerpc64le-linux-gnu.
> OK to install?

OK.

> Richard
>
>
> 2018-08-28  Richard Sandiford  <richard.sandiford@arm.com>
>
> gcc/testsuite/
>         PR testsuite/87078
>         * gcc.dg/vect/slp-37.c: Restrict scan tests to vect_hw_misalign.
>
> Index: gcc/testsuite/gcc.dg/vect/slp-37.c
> ===================================================================
> --- gcc/testsuite/gcc.dg/vect/slp-37.c  2018-08-22 13:58:57.492110344 +0100
> +++ gcc/testsuite/gcc.dg/vect/slp-37.c  2018-08-28 11:26:10.178673982 +0100
> @@ -58,5 +58,5 @@ int main (void)
>    return 0;
>  }
>
> -/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect"  } } */
> -/* { dg-final { scan-tree-dump-times "vectorizing stmts using SLP" 1 "vect"  } } */
> +/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { target vect_hw_misalign } } } */
> +/* { dg-final { scan-tree-dump-times "vectorizing stmts using SLP" 1 "vect" { target vect_hw_misalign } } } */


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