]> git.proxmox.com Git - qemu.git/commit - target-arm/translate.c
target-arm: optimize thumb 32-bit multiply
authorJuha.Riihimaki@nokia.com <Juha.Riihimaki@nokia.com>
Wed, 21 Oct 2009 10:17:38 +0000 (12:17 +0200)
committerAurelien Jarno <aurelien@aurel32.net>
Fri, 23 Oct 2009 15:22:13 +0000 (17:22 +0200)
commit7b2919a0b4b3e408e5fee0841c8d717e888917de
treedf7ff7a06a1b44a2f069bef54b966c2293bffe72
parentb75263d6533c2ffa60bee16525d9908249e79541
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>
target-arm/translate.c