]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/testsuite/c-c++-common/cilk-plus/PS/vectorlength-2.c
[Patch AArch64] Fixup floating point division with -march=armv8-a+nosimd
[thirdparty/gcc.git] / gcc / testsuite / c-c++-common / cilk-plus / PS / vectorlength-2.c
CommitLineData
b3bdf019
JJ
1/* { dg-do compile } */
2/* { dg-options "-O2 -fcilkplus" } */
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}