i386: Adjust rtx cost for imulq and imulw [PR115749]
[official-gcc.git] / gcc / testsuite / gcc.dg / vect / vect-early-break_47.c
blobef90380ea197fdec549ab3f6ea95a8ed2f07278e
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_float } */
6 void abort ();
8 float results1[16] = {192.00,240.00,288.00,336.00,384.00,432.00,480.00,528.00,0.00};
9 float results2[16] = {0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,54.00,120.00,198.00,288.00,390.00,504.00,630.00};
10 float a[16] = {0};
11 float e[16] = {0};
12 float b[16] = {0,3,6,9,12,15,18,21,24,27,30,33,36,39,42,45};
13 int main1 ()
15 int i;
16 for (i=0; i<16; i++)
18 if (a[i] != results1[i] || e[i] != results2[i])
19 abort();
22 if (a[i+3] != b[i-1])
23 abort ();
26 /* { dg-final { scan-tree-dump "vectorized 1 loops in function" "vect" } } */