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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [pr46934.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
int caller (unsigned int reg_type)
2
{
3
  switch (reg_type)
4
    {
5
    case 0x80000000:
6
      return (int)foo();
7
 
8
    case 0x80000003:
9
      return (int) bar();
10
 
11
    case 0x80000001:
12
      return (int) baz();
13
 
14
    case 0x80000004:
15
      return (int) fooz();
16
    }
17
}

powered by: WebSVN 2.1.0

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