1 /* { dg-do compile } */
2 /* { dg-additional-options "-fno-tree-loop-vectorize" } */
4 extern int a
[][4], b
[][4], c
[][4], d
[4], e
[4];
11 int a0
= 0, a1
= 0, a2
= 0, a3
= 0, b0
= 0, b1
= 0, b2
= 0, b3
= 0;
12 for (int j
= 0; j
< 100; ++j
)
13 for (int i
= 0; i
< 400; i
+= 4)
34 /* On older powerpc hardware (POWER7 and earlier), the default flag
35 -mno-allow-movmisalign prevents vectorization. On POWER8 and later,
36 when vect_hw_misalign is true, vectorization occurs. For other
37 targets, ! vect_no_align is a sufficient test. */
39 /* { dg-final { scan-tree-dump-times "add new stmt: \[^\\n\\r\]* = VEC_PERM_EXPR" 3 "slp1" { target { { vect_int_mult && vect_perm } && { { ! powerpc*-*-* } || { vect_hw_misalign } } } } } } */