commit | 7b2919a0b4b3e408e5fee0841c8d717e888917de | [log] [tgz] |
---|---|---|
author | Juha.Riihimaki@nokia.com <Juha.Riihimaki@nokia.com> | Wed Oct 21 12:17:38 2009 +0200 |
committer | Aurelien Jarno <aurelien@aurel32.net> | Fri Oct 23 17:22:13 2009 +0200 |
tree | df7ff7a06a1b44a2f069bef54b966c2293bffe72 | |
parent | b75263d6533c2ffa60bee16525d9908249e79541 [diff] |
target-arm: optimize thumb 32-bit multiply Current implementation of thumb mul instruction is implemented as a 32x32->64 multiply which then uses only 32 least significant bits of the result. Replace that with a simple 32x32->32 multiply. Signed-off-by: Juha Riihimäki <juha.riihimaki@nokia.com> Acked-by: Laurent Desnogues <laurent.desnogues@gmail.com> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>