i386: Adjust rtx cost for imulq and imulw [PR115749]
[official-gcc.git] / gcc / testsuite / gcc.dg / vect / vect-early-break_3.c
blob4afbc7266765fc4639b2554c6361e0825411f148
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-not "LOOP VECTORIZED" "vect" } } */
10 unsigned test4(char x, char *vect, int n)
12 unsigned ret = 0;
13 for (int i = 0; i < n; i++)
15 if (vect[i] > x)
16 return 1;
18 vect[i] = x;
20 return ret;