aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.target/tic6x/fpcmp-finite.c
blob: d7f30165cc28370f8baeed1d6088c052b77e50a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/* { dg-do compile } */
/* { dg-require-effective-target ti_c67x } */
/* { dg-options "-O2 -ffinite-math-only" } */
/* { dg-final { scan-assembler-not "cmpeq" } } */

double gedf (double x, double y)
{
  return x >= y;
}

double ledf (double x, double y)
{
  return x <= y;
}

float gesf (float x, float y)
{
  return x >= y;
}

float lesf (float x, float y)
{
  return x <= y;
}