blob: 775e515cf38415fa5976a194d13dde839dc69df6 [file] [log] [blame]
/* { dg-do compile } */
/* { dg-require-effective-target hard_float } */
/* { dg-options "-ffinite-math-only -fsigned-zeros -dp" } */
double
smax (double x, double y)
{
return x >= y ? x : y;
}
/* { dg-final { scan-assembler-not "\t(call|tail)\tfmax\t" } } */
/* { dg-final { scan-assembler-not "\tfmax\\.d\t" } } */
/* { dg-final { scan-assembler "\t(fge\\.d|flt\\.d)\t" } } */