1 /* Test rint and related functions expanded inline for SSE2. rint
2 should be expanded even when spurious "inexact" not allowed. */
3 /* { dg-do compile } */
4 /* { dg-options "-O2 -msse2 -mfpmath=sse -fno-fp-int-builtin-inexact" } */
5 /* { dg-add-options c99_runtime } */
6 /* { dg-require-effective-target sse2 } */
8 #define TEST(FN, TYPE) \
11 volatile TYPE a = 1.5, b; \
16 #define FN_TESTS(FN) \
19 TEST (__builtin_ ## FN, double); \
20 TEST (__builtin_ ## FN ## f, float); \
30 /* { dg-final { scan-assembler-not "\[ \t\]rint" } } */