cfgexpand: Expand comment on when non-var clobbers can show up
[official-gcc.git] / gcc / testsuite / gcc.dg / vect / vect-fma-2.c
blob20d1baff28fbcca37454b2bb5893a7bab955621e
1 /* { dg-do compile } */
2 /* { dg-additional-options "-fdump-tree-optimized -fassociative-math -fno-trapping-math -fno-signed-zeros" } */
4 #include "tree-vect.h"
6 #define N (VECTOR_BITS * 11 / 64 + 3)
8 double
9 dot_prod (double *x, double *y)
11 double sum = 0;
12 for (int i = 0; i < N; ++i)
13 sum += x[i] * y[i];
14 return sum;
17 /* { dg-final { scan-tree-dump { = \.COND_FMA } "optimized" { target { vect_double && { vect_fully_masked && scalar_all_fma } } } } } */