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/] [uns_tst.c] - Blame information for rev 826

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 297 jeremybenn
a (c)
2
     unsigned char c;
3
{
4
  unsigned u = c;
5
  if ((int)u < 0)
6
    return 1;
7
  else
8
    return 0;
9
}
10
 
11
b (x, y)
12
     unsigned x, y;
13
{
14
  x /= y;
15
  if ((int)x < 0)
16
    return 1;
17
  else
18
    return 0;
19
}

powered by: WebSVN 2.1.0

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