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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [graphite/] [pr42771.c] - Blame information for rev 801

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 689 jeremybenn
/* { dg-options "-O3 -fgraphite-identity" } */
2
 
3
extern int *A;
4
extern int B[][4];
5
extern void bar(void);
6
 
7
void foo(int im, int jm, int cond)
8
{
9
  int i, j;
10
  if (cond) {
11
    for (i = 0; i < 256; i++)
12
      A[i] = 0;
13
    bar();
14
  }
15
  for (i = 0; i < im; i++)
16
    for (j = 1; j < jm; j++)
17
      if (jm != 8 || j != jm >> 1)
18
        B[j][0] ^= B[j-1][0];
19
}

powered by: WebSVN 2.1.0

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