diff options
author | Aurelien Jarno <aurelien@aurel32.net> | 2011-01-06 19:53:56 +0100 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2011-01-06 22:16:46 +0100 |
commit | 838fa72d0b721766616e94a0f7dc76b15146cd82 (patch) | |
tree | 796ffecf8cb5e4cfbe90ee68870a7502c0ec2da6 /qemu-options.hx | |
parent | 71df0eeb98a1ecff7770aa486faf08a8c1049745 (diff) |
target-arm: fix SMMLA/SMMLS instructions
SMMLA and SMMLS are broken on both in normal and thumb mode, that is
both (different) implementations are wrong. They try to avoid a 64-bit
add for the rounding, which is not trivial if you want to support both
SMMLA and SMMLS with the same code.
The code below uses the same implementation for both modes, using the
code from the ARM manual. It also fixes the thumb decoding that was a
mix between normal and thumb mode.
This fixes the issues reported in
https://bugs.launchpad.net/qemu/+bug/629298
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'qemu-options.hx')
0 files changed, 0 insertions, 0 deletions