| 1 |
/* Test functioning of command option -mno-isel */ |
| 2 |
/* { dg-do compile { target powerpc*-*-linux* } } */ |
| 3 |
/* { dg-options "-O2 -mno-isel" } */ |
| 4 |
|
| 5 |
/* { dg-final { scan-assembler-not "isel" } } */ |
| 6 |
|
| 7 |
int |
| 8 |
foo (int x, int y) |
| 9 |
{ |
| 10 |
if (x < y) |
| 11 |
return x; |
| 12 |
else |
| 13 |
return y; |
| 14 |
} |