qemu-e2k/target-arm
Peter Crosthwaite b6348f29d0 target-arm/translate: Fix RRX operands
Instructions that both use the RRX second operand and update CS were
incorrect, as the Carry flag was updated too early. An example of such an
instruction would be:

ands r12,r13,RRX

Ands, because of the "s" flag will update the carry flag. But the RRX second
operand rotates through the C flag which should happen before the update.
Fixed the ordering of the two, the old carry is read by "r13,RRX" before being
updated.

Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Reported-by: Vinesh Peringat <vineshp@xilinx.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
2012-10-17 19:56:46 +02:00
..
arm-semi.c arm-semi: don't leak 1KB user string lock buffer upon TARGET_SYS_OPEN 2012-08-22 10:47:14 -05:00
cpu-qom.h target-arm: Convert cp15 crn=1 registers 2012-06-20 12:08:22 +00:00
cpu.c target-arm: Extend feature flags to 64 bits 2012-07-12 10:59:54 +00:00
cpu.h target-arm: Drop unused DECODE_CPREG_CRN macro 2012-10-05 15:04:45 +01:00
helper.c target-arm: final conversion to AREG0 free mode 2012-09-15 17:44:32 +00:00
helper.h target-arm: mark a few integer helpers const and pure 2012-10-05 15:04:45 +01:00
iwmmxt_helper.c target-arm: Don't overuse CPUState 2012-03-14 22:20:24 +01:00
machine.c target-arm: Add 64 bit PAR, TTBR0, TTBR1 for LPAE 2012-07-12 10:59:54 +00:00
Makefile.objs target-arm: final conversion to AREG0 free mode 2012-09-15 17:44:32 +00:00
neon_helper.c target-arm: Fix typos in comments 2012-08-10 14:37:28 +01:00
op_addsub.h Correct spelling of licensed 2011-07-23 11:26:12 -05:00
op_helper.c target-arm: convert sar, shl and shr helpers to TCG 2012-10-05 15:04:44 +01:00
translate.c target-arm/translate: Fix RRX operands 2012-10-17 19:56:46 +02:00