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

Subversion Repositories openrisc

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

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 688 jeremybenn
/* PR bootstrap/42347 */
2
 
3
long
4
foo (long x, long y)
5
{
6
  x = x & y;
7
  switch (y)
8
    {
9
    case 63L: x >>= 0; break;
10
    case 4032L: x >>= 6; break;
11
    case 258048L: x >>= 12; break;
12
    case 16515072L: x >>= 18; break;
13
    default: __builtin_unreachable ();
14
    }
15
  return x;
16
}

powered by: WebSVN 2.1.0

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