This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: h8300-hms: Use hardware multiply for ___mulsi3


Hi Toshi,

> The present implementation of ___mulsi3 uses a shift-and-add scheme
> which is agonizingly slow. 
> 
> This patch modifies ___mulsi3 to use 3 16x16 multiplies which improves
> worst-case timing significantly.
> 
> Kazu: can you test throughly and make sure it's correct?
> 
> Toshi
> 
> 2002-03-27  Toshiyasu Morita  <toshiyasu.morita@hsa.hitachi.com>
> 
> 	* config/h8300/lib1funcs.asm (___mulsi3): Use hardware
> 	multiply instructions for H8/300H case.

Thanks!  Installed.

Kazu Hirata


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]