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/] [20060217-1.c] - Blame information for rev 297

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 297 jeremybenn
/* PR middle-end/26334 */
2
 
3
struct U
4
{
5
  unsigned int u[256];
6
};
7
 
8
struct S
9
{
10
  int u, v, w, x;
11
  int s[255];
12
};
13
 
14
int
15
foo (struct U *x, struct S *y)
16
{
17
  register int i;
18
  for (i = 0; i < 255; i++)
19
    {
20
      unsigned int v;
21
      __asm__ ("" : "=r" (v) : "0" (x->u[i + 1]) : "cc");
22
      y->s[i] = v;
23
    }
24
  return 0;
25
}

powered by: WebSVN 2.1.0

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