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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [20070827-1.c] - Blame information for rev 745

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

Line No. Rev Author Line
1 688 jeremybenn
/* PR rtl-optimization/33148 */
2
 
3
int
4
foo (unsigned int *p, int *q, unsigned int w, unsigned int b)
5
{
6
  unsigned int i;
7
  int mask;
8
 
9
  if (q[0] < q[1])
10
    mask = 0xff;
11
  else
12
    mask = 0;
13
 
14
  for (i = 0; 8 * i < w; i++)
15
    {
16
      b ^= mask;
17
      *p++ = b;
18
    }
19
  return 0;
20
}

powered by: WebSVN 2.1.0

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