The current patch series aims to isolate common code from translation-related code. This isolation is required to disable TCG at build time, and the final system still work.
This patch series is still WIP, so comments are welcome Bruno Larsen (billionai) (4): target/ppc: move opcode table logic to translate.c target/ppc: isolated SPR read/write callbacks target/ppc: Move SPR generation to separate file target/ppc: isolated cpu init from translation logic .../ppc/{translate_init.c.inc => cpu_init.c} | 5414 +---------------- target/ppc/internal.h | 114 + target/ppc/meson.build | 2 + target/ppc/spr_common.c | 2943 +++++++++ target/ppc/spr_tcg.c.inc | 1002 +++ target/ppc/spr_tcg.h | 132 + target/ppc/translate.c | 446 +- 7 files changed, 4863 insertions(+), 5190 deletions(-) rename target/ppc/{translate_init.c.inc => cpu_init.c} (50%) create mode 100644 target/ppc/spr_common.c create mode 100644 target/ppc/spr_tcg.c.inc create mode 100644 target/ppc/spr_tcg.h -- 2.17.1