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

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