target/ppc: convert to TranslatorOps
commitb0c2d5213a14f8b9d44096ee879a5d7f10fbc505
authorEmilio G. Cota <cota@braap.org>
Thu, 15 Feb 2018 19:51:49 +0000 (15 14:51 -0500)
committerDavid Gibson <david@gibson.dropbear.id.au>
Fri, 16 Feb 2018 01:14:39 +0000 (16 12:14 +1100)
treeb389f9ba2f6531169ce11e3d3bc34cab2b3855ca
parentb6bac4bc7016531405d117cfc1bf64145799e164
target/ppc: convert to TranslatorOps

A few changes worth noting:

- Didn't migrate ctx->exception to DISAS_* since the exception field is
  in many cases architecturally relevant.

- Moved the cross-page check from the end of translate_insn to tb_start.

- Removed the exit(1) after a TCG temp leak; changed the fprintf there to
  qemu_log.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Emilio G. Cota <cota@braap.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
target/ppc/translate.c