1 /* { dg-do compile } */
2 /* { dg-options "-O2" } */
3 /* { dg-require-effective-target ia32 } */
5 void vec_mpy(int y
[], const int x
[], int scaler
)
9 for (i
= 0; i
< 150; i
++)
10 y
[i
] += (((long long)scaler
* x
[i
]) >> 31);
13 /* { dg-final { scan-assembler-times "imull" 1 } } */