summaryrefslogtreecommitdiff
path: root/fpu/softfloat.h
diff options
context:
space:
mode:
authorAurelien Jarno <aurelien@aurel32.net>2011-01-06 19:53:56 +0100
committerAurelien Jarno <aurelien@aurel32.net>2011-01-06 22:16:46 +0100
commit838fa72d0b721766616e94a0f7dc76b15146cd82 (patch)
tree796ffecf8cb5e4cfbe90ee68870a7502c0ec2da6 /fpu/softfloat.h
parent71df0eeb98a1ecff7770aa486faf08a8c1049745 (diff)
downloadqemu-838fa72d0b721766616e94a0f7dc76b15146cd82.tar.gz
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 'fpu/softfloat.h')
0 files changed, 0 insertions, 0 deletions