target-arm: fix UMAAL instruction
authorAurelien Jarno <aurelien@aurel32.net>
Fri, 31 Dec 2010 16:50:27 +0000 (17:50 +0100)
committerAurelien Jarno <aurelien@aurel32.net>
Fri, 31 Dec 2010 21:22:26 +0000 (22:22 +0100)
commit8b182713321ccdb35d71f93c28636877b3fd388c
tree2e04d62a85f6bcd15f11cdea14a7e4f83482eabf
parentb5800a23137e9d087e11415611427cd00b6f7c1d
target-arm: fix UMAAL instruction

UMAAL should use unsigned multiply instead of signed.

This patch fixes this issue by handling UMAAL separately from
UMULL/UMLAL/SMULL/SMLAL as these instructions are different
enough. It also explicitly list instructions in case and catch
nonexistent instruction as illegal. Also fixes a few style issues.

This fixes the issues reported in
https://bugs.launchpad.net/qemu/+bug/696015

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
target-arm/translate.c