URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 297 |
Rev 384 |
void fn (void);
|
void fn (void);
|
|
|
void
|
void
|
foo (void *x, unsigned long y)
|
foo (void *x, unsigned long y)
|
{
|
{
|
asm goto ("": : : : lab);
|
asm goto ("": : : : lab);
|
lab:
|
lab:
|
fn ();
|
fn ();
|
}
|
}
|
|
|
static void
|
static void
|
bar (unsigned long x)
|
bar (unsigned long x)
|
{
|
{
|
foo (0, x);
|
foo (0, x);
|
}
|
}
|
|
|
static void
|
static void
|
baz (unsigned long x)
|
baz (unsigned long x)
|
{
|
{
|
if (x > 8192)
|
if (x > 8192)
|
bar (x);
|
bar (x);
|
else
|
else
|
({ __here: (unsigned long) &&__here; });
|
({ __here: (unsigned long) &&__here; });
|
}
|
}
|
|
|
void
|
void
|
test (void)
|
test (void)
|
{
|
{
|
baz (16384);
|
baz (16384);
|
}
|
}
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.