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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.c-torture/] [unsorted/] [bt386.c] - Blame information for rev 826

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 297 jeremybenn
foo (a, b)
2
{
3
  return (a & (1 << b)) != 0;
4
}
5
 
6
bar (a, b)
7
{
8
  a ^= (1 << b);
9
  return a != 0;
10
}
11
 
12
main ()
13
{
14
  int i;
15
  for (i = 0; i < 32; i++)
16
    printf ("%d ", foo (0x8000000f, i));
17
  puts ("");
18
}

powered by: WebSVN 2.1.0

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