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 |
/* { dg-do compile } */
|
/* { dg-do compile } */
|
/* { dg-options "-O2" } */
|
/* { dg-options "-O2" } */
|
struct BlobSpan {
|
struct BlobSpan {
|
int right;
|
int right;
|
};
|
};
|
/* This test makes sure we don't accidently cause a bad insertion to occur
|
/* This test makes sure we don't accidently cause a bad insertion to occur
|
by choosing the wrong variable name so that we end up with a use not
|
by choosing the wrong variable name so that we end up with a use not
|
dominated by a def. */
|
dominated by a def. */
|
void render_blob_line(struct BlobSpan blobdata) {
|
void render_blob_line(struct BlobSpan blobdata) {
|
int buf[4 * 8];
|
int buf[4 * 8];
|
int *data = buf;
|
int *data = buf;
|
int i, n = 0;
|
int i, n = 0;
|
if (blobdata.right)
|
if (blobdata.right)
|
n++;
|
n++;
|
if (n)
|
if (n)
|
for (; i < 2 * n;)
|
for (; i < 2 * n;)
|
data[i] = 0;
|
data[i] = 0;
|
n *= 2;
|
n *= 2;
|
for (; n;) ;
|
for (; n;) ;
|
}
|
}
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.