i386: Adjust rtx cost for imulq and imulw [PR115749]
[official-gcc.git] / gcc / testsuite / gcc.dg / vect / pr97241.c
blobf9b3d6d8337c87d409dd39380d03bd0bb4252bcd
1 /* { dg-do compile } */
2 /* { dg-additional-options "-O3 --param max-loop-header-insns=2" } */
4 short int *ev;
5 int l4;
7 short int
8 a7 (void)
10 short int uo = ev[0], ie = uo;
12 for (int kp = 0; kp < l4; kp += 4)
14 uo += ev[kp + 1];
15 ie += ev[kp];
18 return uo + ie;