From: Marat Zakirov Date: Fri, 5 Sep 2014 13:04:21 +0000 (+0000) Subject: vect-109.c: Skip predicate added. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c3212d53df65a17e11cdd9917e433f5b94b37174;p=gcc.git vect-109.c: Skip predicate added. 2014-09-05 Marat Zakirov testsuite * gcc.dg/vect/vect-109.c: Skip predicate added. * gcc.dg/vect/vect-93.c: Test check fixed. * gcc.dg/vect/bb-slp-10.c: Likewise. * lib/target-supports.exp (check_effective_target_arm_vect_no_misalign): Check unaligned feature. From-SVN: r214956 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 59b1863bc3c..b6422c958eb 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,11 @@ +2014-09-05 Marat Zakirov + + * gcc.dg/vect/vect-109.c: Skip predicate added. + * gcc.dg/vect/vect-93.c: Test check fixed. + * gcc.dg/vect/bb-slp-10.c: Likewise. + * lib/target-supports.exp (check_effective_target_arm_vect_no_misalign): + Check unaligned feature. + 2014-09-05 Alan Lawrence * gcc.target/aarch64/scalar_intrinsics.c (*): Replace all diff --git a/gcc/testsuite/gcc.dg/vect/bb-slp-10.c b/gcc/testsuite/gcc.dg/vect/bb-slp-10.c index a1850ed7328..44308c5f6b5 100644 --- a/gcc/testsuite/gcc.dg/vect/bb-slp-10.c +++ b/gcc/testsuite/gcc.dg/vect/bb-slp-10.c @@ -49,7 +49,7 @@ int main (void) return 0; } -/* { dg-final { scan-tree-dump-times "unsupported alignment in basic block." 1 "slp2" { xfail vect_element_align } } } */ +/* { dg-final { scan-tree-dump "unsupported alignment in basic block." "slp2" { xfail vect_element_align } } } */ /* { dg-final { scan-tree-dump-times "basic block vectorized" 1 "slp2" { target vect_element_align } } } */ /* { dg-final { cleanup-tree-dump "slp2" } } */ diff --git a/gcc/testsuite/gcc.dg/vect/vect-109.c b/gcc/testsuite/gcc.dg/vect/vect-109.c index 854c9707a6d..c671175a20d 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-109.c +++ b/gcc/testsuite/gcc.dg/vect/vect-109.c @@ -1,3 +1,4 @@ +/* { dg-skip-if "" { vect_no_align } } */ /* { dg-require-effective-target vect_int } */ #include diff --git a/gcc/testsuite/gcc.dg/vect/vect-93.c b/gcc/testsuite/gcc.dg/vect/vect-93.c index 65403eb72fc..1065a6ec1c1 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-93.c +++ b/gcc/testsuite/gcc.dg/vect/vect-93.c @@ -79,7 +79,7 @@ int main (void) /* { dg-final { scan-tree-dump-times "vectorized 2 loops" 1 "vect" { target vect_no_align } } } */ /* in main: */ -/* { dg-final { scan-tree-dump-times "vectorized 0 loops" 1 "vect" { target vect_no_align } } } */ +/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { target vect_no_align } } } */ /* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 1 "vect" { xfail { vect_no_align } } } } */ /* { dg-final { cleanup-tree-dump "vect" } } */ diff --git a/gcc/testsuite/lib/target-supports.exp b/gcc/testsuite/lib/target-supports.exp index 088ebf0a695..186b9a91683 100644 --- a/gcc/testsuite/lib/target-supports.exp +++ b/gcc/testsuite/lib/target-supports.exp @@ -2294,8 +2294,8 @@ proc check_effective_target_arm_little_endian { } { proc check_effective_target_arm_vect_no_misalign { } { return [check_no_compiler_messages arm_vect_no_misalign assembly { #if !defined(__arm__) \ - || (defined(__ARMEL__) \ - && (!defined(__thumb__) || defined(__thumb2__))) + || (defined(__ARM_FEATURE_UNALIGNED) \ + && defined(__ARMEL__)) #error FOO #endif }]