2018-05-17 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / pr49715-1.c
blobd959f9e379c5500100183a1524fe241ca93b6899
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -msse -mfpmath=sse" } */
4 float func(unsigned x)
6 return (x & 0xfffff) * 0.01f;
9 /* { dg-final { scan-assembler-times "cvtsi2ss" 1 } } */