This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Add target selectors to slp-37.c (PR87078)
- From: Richard Biener <richard dot guenther at gmail dot com>
- To: GCC Patches <gcc-patches at gcc dot gnu dot org>, Richard Sandiford <richard dot sandiford at arm dot com>
- Date: Tue, 28 Aug 2018 12:41:12 +0200
- Subject: Re: Add target selectors to slp-37.c (PR87078)
- References: <875zzusry3.fsf@arm.com>
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 } } } */