URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 322 |
Rev 338 |
/* Test functioning of command option -mno-isel */
|
/* Test functioning of command option -mno-isel */
|
/* { dg-do compile { target powerpc*-*-linux* } } */
|
/* { dg-do compile { target powerpc*-*-linux* } } */
|
/* { dg-options "-O2 -mno-isel" } */
|
/* { dg-options "-O2 -mno-isel" } */
|
|
|
/* { dg-final { scan-assembler-not "isel" } } */
|
/* { dg-final { scan-assembler-not "isel" } } */
|
|
|
int
|
int
|
foo (int x, int y)
|
foo (int x, int y)
|
{
|
{
|
if (x < y)
|
if (x < y)
|
return x;
|
return x;
|
else
|
else
|
return y;
|
return y;
|
}
|
}
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.