2015-12-10 Vladimir Makarov <vmakarov@redhat.com>
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / pr68432-1.c
blob8493652369e307eb8c2fb97b325dc22a0e57e205
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fno-math-errno -fno-trapping-math -msse2 -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 } } */