URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 298 |
Rev 338 |
/* Compiler generates 64-bit stores of zero for this on some targets.
|
/* Compiler generates 64-bit stores of zero for this on some targets.
|
Check there is no problem for such case. */
|
Check there is no problem for such case. */
|
/* { dg-do compile } */
|
/* { dg-do compile } */
|
/* { dg-options "-O2 -ftree-vectorize" } */
|
/* { dg-options "-O2 -ftree-vectorize" } */
|
|
|
void
|
void
|
foo (float *dest, int xcount, int ycount)
|
foo (float *dest, int xcount, int ycount)
|
{
|
{
|
int x, y;
|
int x, y;
|
|
|
for (y = 0; y < ycount; y++)
|
for (y = 0; y < ycount; y++)
|
for (x = 0; x < xcount; x++)
|
for (x = 0; x < xcount; x++)
|
dest[x + y] = (float) 0;
|
dest[x + y] = (float) 0;
|
}
|
}
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.