qemu-e2k/target-arm
Aurelien Jarno 838fa72d0b 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>
2011-01-06 22:16:46 +01:00
..
cpu.h ARM: Expose vfp_get_fpscr() and vfp_set_fpscr() to C code 2010-12-03 15:09:39 +02:00
exec.h
helper.c target-arm: correct cp15 c1_sys reset value for arm1136 and cortex-a9 2010-12-27 21:21:17 +01:00
helpers.h
iwmmxt_helper.c
machine.c
neon_helper.c target-arm: Correct result in saturating cases for VQSHL of s8/16/32 2010-12-27 21:07:24 +01:00
op_addsub.h
op_helper.c
translate.c target-arm: fix SMMLA/SMMLS instructions 2011-01-06 22:16:46 +01:00