vect-109.c: Skip predicate added.
authorMarat Zakirov <m.zakirov@samsung.com>
Fri, 5 Sep 2014 13:04:21 +0000 (13:04 +0000)
committerMarat Zakirov <mzakirov@gcc.gnu.org>
Fri, 5 Sep 2014 13:04:21 +0000 (13:04 +0000)
2014-09-05  Marat Zakirov  <m.zakirov@samsung.com>

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

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/vect/bb-slp-10.c
gcc/testsuite/gcc.dg/vect/vect-109.c
gcc/testsuite/gcc.dg/vect/vect-93.c
gcc/testsuite/lib/target-supports.exp

index 59b1863bc3cb8c3de0b74538c8dd64df755c2053..b6422c958ebc65ec47da607af0bbedbfae7df9f5 100644 (file)
@@ -1,3 +1,11 @@
+2014-09-05  Marat Zakirov  <m.zakirov@samsung.com>
+
+       * 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  <alan.lawrence@arm.com>
 
        * gcc.target/aarch64/scalar_intrinsics.c (*): Replace all
index a1850ed7328f32b45c82c648e91ae542f76c79f4..44308c5f6b507c87c77204530dce6d6f08403dd5 100644 (file)
@@ -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" } } */
   
index 854c9707a6d28c22e2332020b9a4b1478b1b61c7..c671175a20d0ec2447d5e6f1bd9bc8aacc85b6b0 100644 (file)
@@ -1,3 +1,4 @@
+/* { dg-skip-if "" { vect_no_align } } */
 /* { dg-require-effective-target vect_int } */
 
 #include <stdarg.h>
index 65403eb72fcc0b3366a1f1fd1fcccf80978c4067..1065a6ec1c1d51ac49551217f499c9d4ccc7afa1 100644 (file)
@@ -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" } } */
index 088ebf0a695b9207a00597895c46af00fd27f34f..186b9a91683af641b92401ba5446f9c02c5034dc 100644 (file)
@@ -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
     }]