On 10/26/26 11:20, Philippe Mathieu-Daudé wrote:
The 3-bit register fields of MIPS16e and microMIPS 16-bit
encodings map to the same 8 GPRs. The map is duplicated,
and we want to re-use it for nanoMIPS. Rename as common
gpr3_m16() helper, using the decodetree !function signature
so both the legacy and the decodetree decoders can call it.

Signed-off-by: Philippe Mathieu-Daudé<[email protected]>
---
  target/mips/tcg/translate.h               |  1 +
  target/mips/tcg/translate.c               | 11 ++++
  target/mips/tcg/micromips_translate.c.inc | 61 ++++++++++-------------
  target/mips/tcg/mips16e_translate.c.inc   | 19 +++----
  4 files changed, 45 insertions(+), 47 deletions(-)

Reviewed-by: Richard Henderson <[email protected]>

r~

Reply via email to