Re: [coldfire-gnu-discuss] Multiplying by a constant
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [coldfire-gnu-discuss] Multiplying by a constant
- To: David Brown <david@xxxxxxxxxxxxxxx>
- Subject: Re: [coldfire-gnu-discuss] Multiplying by a constant
- From: Mark Mitchell <mark@xxxxxxxxxxxxxxxx>
- Date: Tue, 14 Nov 2006 15:04:33 -0800
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@xxxxxxxxxxxxxxxx
(650) 331-3385 x713