qemu-e2k/target-arm
Richard Henderson e77f083292 target-arm: Fix sbc_CC carry
While T0+~T1+CF = T0-T1+CF-1 is true for the low 32-bits,
it does not produce the correct carry-out to bit 33.  Do
exactly what the manual says.

Using the ~T1 makes the add and subtract code paths nearly
identical, so have sbc_CC use adc_CC.

Cc: Peter Maydell <peter.maydell@linaro.org>
Reported-by: Laurent Desnogues <laurent.desnogues@gmail.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2013-02-25 14:32:36 -06:00
..
arm-semi.c
cpu-qom.h target-arm: Update ARMCPU to QOM realizefn 2013-02-16 14:50:56 +01:00
cpu.c cpu: Add CPUArchState pointer to CPUState 2013-02-16 14:51:00 +01:00
cpu.h target-arm: Update ARMCPU to QOM realizefn 2013-02-16 14:50:56 +01:00
helper.c target-arm: Use mul[us]2 and add2 in umlal et al 2013-02-23 17:25:29 +00:00
helper.h target-arm: Implement sbc_cc inline 2013-02-23 17:25:29 +00:00
iwmmxt_helper.c
machine.c
Makefile.objs
neon_helper.c
op_addsub.h
op_helper.c target-arm: Implement sbc_cc inline 2013-02-23 17:25:29 +00:00
translate.c target-arm: Fix sbc_CC carry 2013-02-25 14:32:36 -06:00