Dan Malek dan@mvista.com wrote:
Actually, the compiler does such a good job, I don't think we need anything special on PowerPC. In 32-bit mode, the PowerPC has a 32x32 -> 64 bit multiply cabability. It uses two instructions (hi/low) and two destination registers.
I don't know the PowerPC architecture, but at the very least if you have a multiply-accumulate instruction (or can simulate one) you may still be able to improve performance and accuracy. It may be worth looking at.
In any event, I'm very glad to hear it works. :-)
Cheers, -rob