Re: [Qemu-devel] [PATCH] target-arm: Set carry flag correctly for Thumb2 ORNS

2011-03-06 Thread Aurelien Jarno
On Wed, Mar 02, 2011 at 05:34:08PM +, Peter Maydell wrote: > The code for Thumb2 ORNS (or negated and set flags) was trashing > a TCG input register which was needed later for use in calculating > flags, with the effect that the carry flag was always set with > the wrong sense. Fix this by usin

[Qemu-devel] [PATCH] target-arm: Set carry flag correctly for Thumb2 ORNS

2011-03-02 Thread Peter Maydell
The code for Thumb2 ORNS (or negated and set flags) was trashing a TCG input register which was needed later for use in calculating flags, with the effect that the carry flag was always set with the wrong sense. Fix this by using a TCG temporary instead. Signed-off-by: Peter Maydell --- target-a