2
mul10.S - optimized 16-bit multiply by 10
5
Created by Marek Michalkiewicz <marekm@linux.org.pl>
7
THIS SOFTWARE IS NOT COPYRIGHTED
9
This source code is offered for use in the public domain. You may
10
use, modify or distribute it freely.
12
This code is distributed in the hope that it will be useful, but
13
WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
14
DISCLAIMED. This includes but is not limited to warranties of
15
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
22
#define r_tmp1 __tmp_reg__
28
Optimized version, without calling __mulhi3 (which is slow for
29
non-enhanced core, and not present in libgcc.a for enhanced core).
33
.global _U(__mulhi_const_10)