i386: Adjust rtx cost for imulq and imulw [PR115749]
[official-gcc.git] / gcc / testsuite / gcc.dg / vect / vect-early-break_82.c
blob7cd21d33485f3abb823e1943c87e9481c41fd2c3
1 /* { dg-add-options vect_early_break } */
2 /* { dg-do compile } */
3 /* { dg-require-effective-target vect_early_break } */
4 /* { dg-require-effective-target vect_int } */
6 /* { dg-additional-options "-Ofast" } */
8 /* { dg-final { scan-tree-dump "LOOP VECTORIZED" "vect" { target { ! "arm*-*-*" } } } } */
10 #include <complex.h>
12 #define N 1024
13 complex double vect_a[N];
14 complex double vect_b[N];
16 complex double test4(complex double x, complex double t)
18 complex double ret = 0;
19 for (int i = 0; i < N; i++)
21 vect_a[i] = t + i;
22 if (vect_a[i] == x)
23 return i;
24 vect_a[i] += x * vect_a[i];
27 return ret;