1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fno-math-errno -fno-trapping-math -msse2 -mno-sse4 -mfpmath=sse" } */
3 
4 float __attribute__ ((cold))
f1(float f)5 f1 (float f)
6 {
7   return __builtin_rintf (f);
8 }
9 
10 double __attribute__ ((cold))
f2(double f)11 f2 (double f)
12 {
13   return __builtin_rint (f);
14 }
15 
16 /* { dg-final { scan-assembler-not "\tucomiss\t" } } */
17 /* { dg-final { scan-assembler-not "\tucomisd\t" } } */
18