When running 32bit cmp instructions on a TARGET_PPC without 64bit support, we generate incorrect comparisons. This patch set fixes this issue.
Alex Alexander Graf (2): PPC: Add 32bit instruction flag PPC: Introduce 32bit only cmp ops target-ppc/cpu.h | 5 ++- target-ppc/translate.c | 48 +++++++++++++++++++---- target-ppc/translate_init.c | 88 +++++++++++++++++++++--------------------- 3 files changed, 88 insertions(+), 53 deletions(-)