When running 32bit cmp instructions on a TARGET_PPC without 64bit support,
we generate incorrect comparisons. This patch set fixes this issue.

v1 -> v2:

  - treat L bit as reserved on 32bit targets

Alex

Alexander Graf (2):
  PPC: Add 32bit instruction flag
  PPC: Introduce 32bit only cmp ops

 target-ppc/cpu.h            |    5 ++-
 target-ppc/translate.c      |   20 ++++++----
 target-ppc/translate_init.c |   88 +++++++++++++++++++++---------------------
 3 files changed, 60 insertions(+), 53 deletions(-)


Reply via email to