summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/powerpc/e500-1.c
blob: 76a0e4a220563d8098dd575e30f53d5e50af6785 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* Test functioning of command option -mno-isel */
/* { dg-do compile { target powerpc*-*-linux* } } */
/* { dg-options "-O2 -mno-isel" } */

/* { dg-final { scan-assembler-not "isel" } } */

int
foo (int x, int y)
{
  if (x < y)
    return x;
  else
    return y;
}