[AArch64] Testsuite markup for SVE
[official-gcc.git] / gcc / testsuite / gcc.dg / vect / bb-slp-pr69907.c
blob85f9a02582f480fc92d4a2b4dea82a358d6e2bb3
1 /* { dg-do compile } */
2 /* { dg-additional-options "-O3" } */
3 /* { dg-require-effective-target vect_unpack } */
5 #include "tree-vect.h"
7 #if VECTOR_BITS > 512
8 #define N (VECTOR_BITS * 10 / 16)
9 #else
10 #define N 320
11 #endif
13 void foo(unsigned *p1, unsigned short *p2)
15 int n;
16 for (n = 0; n < N; n++)
17 p1[n] = p2[n * 2];
20 /* Disable for SVE because for long or variable-length vectors we don't
21 get an unrolled epilogue loop. */
22 /* { dg-final { scan-tree-dump "BB vectorization with gaps at the end of a load is not supported" "slp1" { target { ! aarch64_sve } } } } */