URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 325 |
Rev 384 |
/* Testcase to check generation of a SH2A specific instruction for
|
/* Testcase to check generation of a SH2A specific instruction for
|
'JSR/N @Rm'. */
|
'JSR/N @Rm'. */
|
/* { dg-do assemble {target sh*-*-*}} */
|
/* { dg-do assemble {target sh*-*-*}} */
|
/* { dg-options "-O0" } */
|
/* { dg-options "-O0" } */
|
/* { dg-skip-if "" { "sh*-*-*" } "*" "-m2a -m2a-nofpu -m2a-single -m2a-single-only" } */
|
/* { dg-skip-if "" { "sh*-*-*" } "*" "-m2a -m2a-nofpu -m2a-single -m2a-single-only" } */
|
/* { dg-final { scan-assembler "jsr/n"} } */
|
/* { dg-final { scan-assembler "jsr/n"} } */
|
|
|
void foo(void)
|
void foo(void)
|
{
|
{
|
}
|
}
|
|
|
void bar()
|
void bar()
|
{
|
{
|
foo();
|
foo();
|
}
|
}
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.