blob: 0c5ff1c001c5149697f1f6e4b5d23990512657ad [file] [log] [blame]
/* Check that only the fcmp/gt instruction is generated when specifying
-fno-finite-math-only and -mno-ieee. */
/* { dg-do compile { target { any_fpu } } } */
/* { dg-options "-O1 -fno-finite-math-only -mno-ieee" } */
/* { dg-final { scan-assembler-not "fcmp/eq" } } */
/* { dg-final { scan-assembler-times "fcmp/gt" 4 } } */
int
test_00 (float a, float b)
{
return a <= b;
}
int
test_01 (float a, float b)
{
return a >= b;
}
int
test_02 (double a, double b)
{
return a <= b;
}
int
test_03 (double a, double b)
{
return a >= b;
}