Debian Codegraph @

gcc/testsuite/gcc.target/i386/pr68432-3.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fno-math-errno -fno-trapping-math -msse2 -mno-sse4 -mfpmath=sse" } */
3
4 float __attribute__ ((cold))
5 f1 (float f)
6 {
7 return __builtin_rintf (f);
8 }
9
10 double __attribute__ ((cold))
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" } } */