[Top][All Lists]

[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


This is a respin of "Extract XBurst Media eXtension Unit
translation routines" v2:

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.



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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]