URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 298 |
Rev 338 |
/* { dg-do compile } */
|
/* { dg-do compile } */
|
/* { dg-options "-O2 -fdump-tree-pre-stats" } */
|
/* { dg-options "-O2 -fdump-tree-pre-stats" } */
|
/* We can't eliminate the *p load here in any sane way, as eshup8 may
|
/* We can't eliminate the *p load here in any sane way, as eshup8 may
|
change it. */
|
change it. */
|
void
|
void
|
enormlz (x)
|
enormlz (x)
|
unsigned short x[];
|
unsigned short x[];
|
{
|
{
|
register unsigned short *p;
|
register unsigned short *p;
|
p = &x[2];
|
p = &x[2];
|
while ((*p & 0xff00) == 0)
|
while ((*p & 0xff00) == 0)
|
{
|
{
|
eshup8 (x);
|
eshup8 (x);
|
}
|
}
|
}
|
}
|
/* { dg-final { scan-tree-dump-not "Eliminated:" "pre"} } */
|
/* { dg-final { scan-tree-dump-not "Eliminated:" "pre"} } */
|
/* { dg-final { cleanup-tree-dump "pre" } } */
|
/* { dg-final { cleanup-tree-dump "pre" } } */
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.