summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/spu/dfcmgt.c
blob: ef7ef5899f7903a2273822a993f52bc8584eaef4 (plain)
1
2
3
4
5
6
7
8
9
10
/* { dg-do compile } */
/* { dg-options "-march=celledp -O1" } */
/* { dg-final { scan-assembler "dfcmgt" } } */

int foo(double x, double y)
{
  if (__builtin_fabs(x) > __builtin_fabs(y))
    return 0;
}