i386: Adjust rtx cost for imulq and imulw [PR115749]
[official-gcc.git] / gcc / testsuite / gcc.dg / vect / pr103761.c
blob0982a63eb6abe0d45533617d769d151eabb3e602
1 /* { dg-do compile } */
3 void f(long *restrict x, int *restrict y, short *restrict z, int *restrict a)
5 for (int i = 0; i < 100; i += 4)
7 x[i] = (long) y[z[i]] + 1;
8 x[i + 1] = (long) y[z[i + 1]] + 2;
9 x[i + 2] = (long) y[z[i + 2]] + 3;
10 x[i + 3] = (long) y[z[i + 3]] + 4;
11 a[i] += 1;