Reported by Laurent for ARM, I made the exact same mistake for PPC. The patch set is at
git://github.com/rth7680/qemu.git fix-carry Please apply asap. r~ Peter Crosthwaite (1): arm/translate.c: Fix adc_CC/sbc_CC implementation Richard Henderson (2): target-arm: Fix sbc_CC carry target-ppc: Fix SUBFE carry target-arm/translate.c | 10 +++++----- target-ppc/translate.c | 9 +++++---- 2 files changed, 10 insertions(+), 9 deletions(-) -- 1.8.1.2