[coldfire-gnu-discuss] Multiplying by a constant
Mark Mitchell
mark at codesourcery.com
Tue Nov 14 23:04:33 UTC 2006
David Brown wrote:
> When multiplying by a constant, the compiler generates a series of
> shifts and adds (or subs) instead of using the appropriate "mul"
> instruction.
Thanks for the idea; we've recorded the idea in our issue tracker, and
will implement it in a future release, time permitting.
--
Mark Mitchell
CodeSourcery
mark at codesourcery.com
(650) 331-3385 x713
More information about the coldfire-gnu-discuss
mailing list