Remove not needed __builtin_expect due to malloc predictor.
[official-gcc.git] / gcc / testsuite / gcc.target / sh / pr33135-2.c
blobec6452b8810d2afc1e409f1ec90136bdc83943e9
1 /* Check that only the fcmp/gt instruction is generated when specifying
2 -ffinite-math-only (implicit -mno-ieee). */
3 /* { dg-do compile { target { any_fpu } } } */
4 /* { dg-options "-O1 -ffinite-math-only" } */
5 /* { dg-final { scan-assembler-not "fcmp/eq" } } */
6 /* { dg-final { scan-assembler-times "fcmp/gt" 4 } } */
8 int
9 test_00 (float a, float b)
11 return a <= b;
14 int
15 test_01 (float a, float b)
17 return a >= b;
20 int
21 test_02 (double a, double b)
23 return a <= b;
26 int
27 test_03 (double a, double b)
29 return a >= b;