]> git.ipfire.org Git - thirdparty/gcc.git/blame - 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
CommitLineData
8b3a6a4c 1/* { dg-do compile } */
2/* { dg-options "-O2 -fcilkplus -save-temps" } */
3
4#define vl(n) vectorlength(2*n)
5void
6foo (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