Re: [Qemu-devel] [PATCH v2 3/3] target-ppc: Fix SUBFE carry

2013-02-25 Thread Peter Maydell
On 25 February 2013 19:01, Richard Henderson wrote: > While ~T0+T1+CF = T1-T0+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. > > Cc: Alexander Graf > Signed-off-by: Richard Henderson Not a PPC expert but this looks li

[Qemu-devel] [PATCH v2 3/3] target-ppc: Fix SUBFE carry

2013-02-25 Thread Richard Henderson
While ~T0+T1+CF = T1-T0+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. Cc: Alexander Graf Signed-off-by: Richard Henderson --- target-ppc/translate.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --