[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v3 00/10] target/mips: Extract MXU code to new mxu_translate.c fi
From: |
Philippe Mathieu-Daudé |
Subject: |
[PATCH v3 00/10] target/mips: Extract MXU code to new mxu_translate.c file |
Date: |
Mon, 22 Feb 2021 23:38:51 +0100 |
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
- [PATCH v3 00/10] target/mips: Extract MXU code to new mxu_translate.c file,
Philippe Mathieu-Daudé <=
- [PATCH v3 01/10] target/mips: Rewrite complex ifdef'ry, Philippe Mathieu-Daudé, 2021/02/22
- [PATCH v3 02/10] target/mips: Remove XBurst Media eXtension Unit dead code, Philippe Mathieu-Daudé, 2021/02/22
- [PATCH v3 03/10] target/mips: Remove unused CPUMIPSState* from MXU functions, Philippe Mathieu-Daudé, 2021/02/22
- [PATCH v3 04/10] target/mips: Pass instruction opcode to decode_opc_mxu(), Philippe Mathieu-Daudé, 2021/02/22
- [PATCH v3 05/10] target/mips: Extract decode_ase_mxu() from decode_opc_mxu(), Philippe Mathieu-Daudé, 2021/02/22