2018-03-08 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / pr68432-1.c
blob82806a27050f8e5fc6143bb18da9752aa168d329
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fno-math-errno -fno-trapping-math -msse2 -mno-sse4 -mfpmath=sse" } */
4 float
5 f1 (float f)
7 return __builtin_rintf (f);
10 double
11 f2 (double f)
13 return __builtin_rint (f);
16 /* { dg-final { scan-assembler-times "\tucomiss\t" 1 } } */
17 /* { dg-final { scan-assembler-times "\tucomisd\t" 1 } } */