i386: Adjust rtx cost for imulq and imulw [PR115749]
[official-gcc.git] / gcc / testsuite / gcc.dg / vect / pr114471.c
blob218c953e45e769e4af88462446f25808109894b4
1 /* { dg-do compile } */
3 float f1, f0, fa[2];
4 short sa[2];
5 void quantize(short s0)
7 _Bool ta[2] = {(fa[0] < 0), (fa[1] < 0)};
8 _Bool t = ((s0 > 0) & ta[0]);
9 short x1 = s0 + t;
10 _Bool t1 = ((x1 > 0) & ta[1]);
11 sa[0] = x1;
12 sa[1] = s0 + t1;