1 /* { dg-do compile } */
2 /* { dg-require-effective-target hard_float } */
3 /* { dg-options "-ffinite-math-only -fno-signed-zeros -dp" } */
4
5 float
6 smaxf (float x, float y)
7 {
8 return x >= y ? x : y;
9 }
10
11 /* { dg-final { scan-assembler-not "\ttail\tfmaxf\t" } } */
12 /* { dg-final { scan-assembler-not "\tfge\\.s\t" } } */
13 /* { dg-final { scan-assembler "\tfmax\\.s\t\[^\n\]* smaxsf3\n" } } */