From 463a9e0d31351d1b97f98da03cacb0b1867edad5 Mon Sep 17 00:00:00 2001 From: Richard Sandiford Date: Tue, 28 Aug 2018 10:42:30 +0000 Subject: [PATCH] Add target selectors to slp-37.c (PR87078) This test was failing for Power 7 due to the lack of hw support for unaligned accesses. 2018-08-28 Richard Sandiford gcc/testsuite/ PR testsuite/87078 * gcc.dg/vect/slp-37.c: Restrict scan tests to vect_hw_misalign. From-SVN: r263913 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/gcc.dg/vect/slp-37.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index bf4f5f7c5c9..5dea5f7e994 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2018-08-28 Richard Sandiford + + PR testsuite/87078 + * gcc.dg/vect/slp-37.c: Restrict scan tests to vect_hw_misalign. + 2018-08-28 Richard Biener PR tree-optimization/87117 diff --git a/gcc/testsuite/gcc.dg/vect/slp-37.c b/gcc/testsuite/gcc.dg/vect/slp-37.c index 54a5e18c51f..a765cd70a09 100644 --- a/gcc/testsuite/gcc.dg/vect/slp-37.c +++ b/gcc/testsuite/gcc.dg/vect/slp-37.c @@ -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 } } } */ -- 2.30.2