URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.c-torture/] [execute/] [961122-1.c] - Rev 856
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