1 /* Verify that -mno-fancy-math-387 works. */
2 /* { dg-do compile { target "i?86-*-*" } } */
3 /* { dg-options "-O -ffast-math -mfpmath=387 -mno-fancy-math-387 -march=i386" } */
4 /* { dg-final { scan-assembler "call\t_?atan" } } */
5 /* { dg-final { scan-assembler "call\t_?log1p" } } */
6 /* { dg-final { scan-assembler "call\t_?drem" } } */
8 double f1(double x
) { return __builtin_atan(x
); }
9 double f2(double x
) { return __builtin_log1p(x
); }
10 double f3(double x
, double y
) { return __builtin_drem(x
,y
); }