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 |
/* PR optimization/7153 */
|
/* PR optimization/7153 */
|
/* Verify that GCC doesn't promote a register when its
|
/* Verify that GCC doesn't promote a register when its
|
lifetime is not limited to one basic block. */
|
lifetime is not limited to one basic block. */
|
|
|
void f(char);
|
void f(char);
|
void g(void);
|
void g(void);
|
|
|
void scale(void)
|
void scale(void)
|
{
|
{
|
int width;
|
int width;
|
char bytes;
|
char bytes;
|
char *src;
|
char *src;
|
|
|
if (width)
|
if (width)
|
{
|
{
|
bytes = *src;
|
bytes = *src;
|
g();
|
g();
|
width *= bytes;
|
width *= bytes;
|
}
|
}
|
|
|
f(bytes);
|
f(bytes);
|
}
|
}
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.