URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Go to most recent revision |
Only display areas with differences |
Details |
Blame |
View Log
Rev 154 |
Rev 816 |
/* { dg-do compile } */
|
/* { dg-do compile } */
|
/* { dg-mips-options "-O2 -mips4" } */
|
/* { dg-mips-options "-O2 -mips4" } */
|
/* { dg-final { scan-assembler "movz" } } */
|
/* { dg-final { scan-assembler "movz" } } */
|
/* { dg-final { scan-assembler "movn" } } */
|
/* { dg-final { scan-assembler "movn" } } */
|
|
|
void ext_int (int);
|
void ext_int (int);
|
|
|
int
|
int
|
sub1 (int i, int j, int k)
|
sub1 (int i, int j, int k)
|
{
|
{
|
ext_int (k ? i : j);
|
ext_int (k ? i : j);
|
}
|
}
|
|
|
int
|
int
|
sub2 (int i, int j, long l)
|
sub2 (int i, int j, long l)
|
{
|
{
|
ext_int (!l ? i : j);
|
ext_int (!l ? i : j);
|
}
|
}
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.