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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [20041018-1.c] - Blame information for rev 297

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 297 jeremybenn
void
2
foo (int y, int z, unsigned char **t, int **c, int *b)
3
{
4
  int i, j, k;
5
  unsigned char a[2];
6
 
7
  a[0] = 0;
8
  a[1] = 0;
9
  for (j = 0; j < z; j++)
10
    for (i = 0; i < y; i++, a[0] += 3)
11
      for (k = 0; k < 3; k++)
12
        c[0][k] += 3 * b[k];
13
  for (i = 0; i < 3; i++)
14
    if (t[0][i] + c[0][i] / a[0] <= 0)
15
      t[0][i] = 0;
16
    else
17
      t[0][i] = t[0][i] + c[0][i] / a[0];
18
}

powered by: WebSVN 2.1.0

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