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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [pr34458.c] - Blame information for rev 688

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 688 jeremybenn
/* Testcase by Martin Michlmayr <tbm@cyrius.com> */
2
 
3
typedef struct
4
{
5
  int data[1024];
6
}
7
Lint;
8
Lint lint_operate (Lint a, long long ammount)
9
{
10
  int index;
11
  Lint ret;
12
  for (index = 0; index < 24; index++)
13
    ret.data[index] =
14
      a.data[index + ammount / 32 + 1] << a.data[index + ammount / 32];
15
  return ret;
16
}

powered by: WebSVN 2.1.0

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