URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Subversion Repositories openrisc_2011-10-31
[/] [openrisc/] [trunk/] [gnu-src/] [newlib-1.17.0/] [newlib/] [libc/] [machine/] [h8500/] [mulhi3.c] - Rev 158
Compare with Previous | Blame | View Log
short __mulhi3(short a, short b) { int r; r = 0; while (a) { if (a & 1) { r += b; a>>=1; b<<=1; } } return r; }