i386: Adjust rtx cost for imulq and imulw [PR115749]
[official-gcc.git] / gcc / testsuite / gcc.dg / vect / pr68855.c
blob68a3a1cee36ef53ced7ecdd2227b38eeceacd82f
1 /* { dg-do compile } */
2 /* { dg-require-effective-target vect_float } */
4 /* { dg-final { scan-tree-dump "LOOP VECTORIZED" "vect" } } */
6 /* PAREN_EXPR should not cause the vectorization of complex float add to be missed. */
7 void foo(_Complex float *a, int n)
9 for(int i = 0; i < n; i++)
11 _Complex float t;
12 t = a[i];
13 t += 6.0;
14 t = __builtin_assoc_barrier(t);
15 a[i] = t;