URL
https://opencores.org/ocsvn/scarts/scarts/trunk
Subversion Repositories scarts
[/] [scarts/] [trunk/] [toolchain/] [scarts-newlib/] [newlib-1.17.0/] [newlib/] [libc/] [machine/] [h8500/] [mulhi3.c] - Rev 9
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; }