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



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