URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 298 |
Rev 384 |
/* { dg-do compile } */
|
/* { dg-do compile } */
|
/* { dg-options "-O2 -fno-tree-vrp -fdump-tree-dom1-details" } */
|
/* { dg-options "-O2 -fno-tree-vrp -fdump-tree-dom1-details" } */
|
void t(void);
|
void t(void);
|
void q(void);
|
void q(void);
|
void q1(void);
|
void q1(void);
|
void
|
void
|
threading(int a,int b)
|
threading(int a,int b)
|
{
|
{
|
if (a>b)
|
if (a>b)
|
t();
|
t();
|
else
|
else
|
q();
|
q();
|
if (a<=b)
|
if (a<=b)
|
q1();
|
q1();
|
}
|
}
|
/* We should thread the jump twice and elliminate it. */
|
/* We should thread the jump twice and elliminate it. */
|
/* { dg-final { scan-tree-dump-times "Threaded" 2 "dom1"} } */
|
/* { dg-final { scan-tree-dump-times "Threaded" 2 "dom1"} } */
|
/* { dg-final { cleanup-tree-dump "dom1" } } */
|
/* { dg-final { cleanup-tree-dump "dom1" } } */
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.