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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [graphite/] [id-pr48805.c] - Rev 689

Compare with Previous | Blame | View Log

void *A(const void *a);
void C(void);
 
static void B(unsigned short a[])
{
  long i, j, tmp;
 
  for(i = 0; i < 3; i++) {
    for(j = 1; j <= 3; j++)
      tmp -= a[i - j];
 
    a[i] = (unsigned short)(tmp >> 1);
  }
}
void C(void)
{
  unsigned short a[3], b[3];
  B(b + 1);
  A(a);
}
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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