Hi, This is a respin of "Extract XBurst Media eXtension Unit translation routines" v2: https://lists.gnu.org/archive/html/qemu-devel/2020-11/msg05889.html
But instead of an included C file (.c.inc) we now have an independent C unit. We gain faster recompilation time when hacking translate.c or mxu_translate.c, and we also gain in code maintainability. Review should be trivial, with almost no logical code change. Regards, Phil. Philippe Mathieu-Daudé (10): target/mips: Rewrite complex ifdef'ry target/mips: Remove XBurst Media eXtension Unit dead code target/mips: Remove unused CPUMIPSState* from MXU functions target/mips: Pass instruction opcode to decode_opc_mxu() target/mips: Extract decode_ase_mxu() from decode_opc_mxu() target/mips: Use OPC_MUL instead of OPC__MXU_MUL target/mips: Introduce mxu_translate_init() helper target/mips: Make mxu_translate_init() / decode_ase_mxu() proto public target/mips: Simplify 64-bit ifdef'ry of MXU code target/mips: Extract MXU code to new mxu_translate.c file target/mips/translate.h | 4 + target/mips/mxu_translate.c | 1625 +++++++++++++++++++ target/mips/translate.c | 2909 +---------------------------------- target/mips/meson.build | 1 + 4 files changed, 1645 insertions(+), 2894 deletions(-) create mode 100644 target/mips/mxu_translate.c -- 2.26.2