+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
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" } } */
+/* { dg-skip-if "" { vect_no_align } } */
/* { dg-require-effective-target vect_int } */
#include <stdarg.h>
/* { 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" } } */
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
}]