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/] [execute/] [961122-1.c] - Rev 298
Go to most recent revision | Compare with Previous | Blame | View Log
long long acc; addhi (short a) { acc += (long long) a << 32; } subhi (short a) { acc -= (long long) a << 32; } main () { acc = 0xffff00000000ll; addhi (1); if (acc != 0x1000000000000ll) abort (); subhi (1); if (acc != 0xffff00000000ll) abort (); exit (0); }
Go to most recent revision | Compare with Previous | Blame | View Log