1 /* { dg-do compile } */
2 /* { dg-options "-O2 -msse4.1 -mfpmath=sse" } */
7 int ifloor (double x
) { return floor (x
); }
8 int iceil (double x
) { return ceil (x
); }
11 long long llfloor (double x
) { return floor (x
); }
12 long long llceil (double x
) { return ceil (x
); }
15 /* { dg-final { scan-assembler-times "roundsd" 2 { target ia32 } } } */
16 /* { dg-final { scan-assembler-times "roundsd" 4 { target { ! ia32 } } } } */