i386: Adjust rtx cost for imulq and imulw [PR115749]
[official-gcc.git] / gcc / testsuite / gcc.dg / vect / pr111860-2.c
blobe205d2c3c9feafcce7025d5480033ce506357082
1 /* { dg-do compile } */
2 /* { dg-additional-options "-O -fno-tree-sink -ftree-vectorize" } */
3 int buffer_ctrl_ctx_0, buffer_ctrl_p1, buffer_ctrl_cmd;
5 int
6 buffer_ctrl (long ret, int i)
8 switch (buffer_ctrl_cmd)
10 case 1:
11 buffer_ctrl_ctx_0 = 0;
12 for (; i; i++)
13 if (buffer_ctrl_p1)
14 ret++;
16 return ret;