target/ppc/cpu.h | 24 +++++ target/ppc/cpu_init.c | 45 ++++++++- target/ppc/helper.h | 5 + target/ppc/helper_regs.c | 44 ++++++++ target/ppc/helper_regs.h | 1 + target/ppc/machine.c | 25 ++++- target/ppc/misc_helper.c | 43 ++++++++ target/ppc/power8-pmu-regs.c.inc | 5 + target/ppc/power8-pmu.c | 17 +++- target/ppc/power8-pmu.h | 11 +- target/ppc/spr_common.h | 1 + target/ppc/translate.c | 133 +++++++++++++++++++++++-- target/ppc/translate/branch-impl.c.inc | 2 +- 13 files changed, 337 insertions(+), 19 deletions(-)