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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 297 jeremybenn
union loc {  unsigned reg; signed offset; };
2
void __frame_state_for (volatile char *state_in, int x)
3
{
4
  /* We should move all the loads out of this loop. Right now, we only
5
     move one.  It takes two insertions because we insert a cast.  */
6
    union loc fs;
7
    int reg;
8
    for (;;)     {
9
        switch (x)  {
10
            case 0:
11
                *state_in = fs.reg;
12
            case 1:
13
                *state_in = fs.offset;
14
        }
15
    }
16
}
17
 

powered by: WebSVN 2.1.0

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