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

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

Line No. Rev Author Line
1 297 jeremybenn
unsigned short code = 0x0000;
2
unsigned short  low = 0x4000;
3
unsigned short high = 0xb000;
4
 
5
int main (void)
6
{
7
  if (
8
         (high & 0x8000) != (low & 0x8000)
9
      && ( low & 0x4000) == 0x4000
10
      && (high & 0x4000) == 0
11
      )
12
    {
13
      code ^= 0x4000;
14
      low  |= 0x4000;
15
    }
16
 
17
  exit (0);
18
}

powered by: WebSVN 2.1.0

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