1 /* { dg-do compile } */
2 /* { dg-require-effective-target hard_float } */
3 /* { dg-options "-ffinite-math-only -fsigned-zeros -dp" } */
4
5 double
6 smax (double x, double y)
7 {
8 return x >= y ? x : y;
9 }
10
11 /* { dg-final { scan-assembler-not "\t(call|tail)\tfmax\t" } } */
12 /* { dg-final { scan-assembler-not "\tfmax\\.d\t" } } */
13 /* { dg-final { scan-assembler "\tfge\\.d\t" } } */