i386: Adjust rtx cost for imulq and imulw [PR115749]
[official-gcc.git] / gcc / testsuite / gcc.dg / vect / pr96920.c
blobaf5da4ae52e93f7d3195e45b39eb819b261c4891
1 /* { dg-do compile } */
3 int a[1024];
4 int b[2048];
6 void foo (int x, int y)
8 for (int i = 0; i < 1024; ++i)
10 int tem0 = b[2*i];
11 int tem1 = b[2*i+1];
12 for (int j = 0; j < 32; ++j)
14 int tem = tem0;
15 tem0 = tem1;
16 tem1 = tem;
17 a[i] += tem0;