]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/c-c++-common/cilk-plus/PS/vectorlength-3.c
[Patch AArch64] Fixup floating point division with -march=armv8-a+nosimd
[thirdparty/gcc.git] / gcc / testsuite / c-c++-common / cilk-plus / PS / vectorlength-3.c
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fcilkplus -save-temps" } */
3
4 #define vl(n) vectorlength(2*n)
5 void
6 foo (int *a, int *b, int *c)
7 {
8 int i;
9 #pragma simd vl(4)
10 for (i = 0; i < 64; i++)
11 a[i] = b[i] * c[i];
12 }
13