OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc1/] [gcc/] [testsuite/] [gcc.dg/] [tree-ssa/] [gen-vect-33.c] - Diff between revs 298 and 338

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;
}
}
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.