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] - Blame information for rev 338

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 298 jeremybenn
/* Compiler generates 64-bit stores of zero for this on some targets.
2
   Check there is no problem for such case.  */
3
/* { dg-do compile } */
4
/* { dg-options "-O2 -ftree-vectorize" } */
5
 
6
void
7
foo (float *dest, int xcount, int  ycount)
8
{
9
  int x, y;
10
 
11
  for (y = 0; y < ycount; y++)
12
    for (x = 0; x < xcount; x++)
13
      dest[x + y] = (float) 0;
14
}

powered by: WebSVN 2.1.0

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