qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 0/6] target/mips: Convert Loongson LEXT opcodes to decodetree


From: Philippe Mathieu-Daudé
Subject: [PATCH 0/6] target/mips: Convert Loongson LEXT opcodes to decodetree
Date: Tue, 12 Jan 2021 22:54:58 +0100

Loongson is next step in the "MIPS decodetree conversion" epic.
Start with the simplest extension.

The diffstat addition comes from the TCG functions expanded.
The code is easier to review now.
IMO this is also a good template to show how easy a decodetree
conversion can be (and how nice the .decode file is to review) :P

Please review,

Phil.

Based-on: <20210112184156.2014305-1-f4bug@amsat.org>
          "decodetree: Allow 'dot' in opcode names"

Philippe Mathieu-Daudé (6):
  target/mips: Re-introduce OPC_ADDUH_QB_DSP and OPC_MUL_PH_DSP
  target/mips: Convert Loongson DDIV.G opcodes to decodetree
  target/mips: Convert Loongson DIV.G opcodes to decodetree
  target/mips: Convert Loongson [D]DIVU.G opcodes to decodetree
  target/mips: Convert Loongson [D]MOD[U].G opcodes to decodetree
  target/mips: Convert Loongson [D]MULT[U].G opcodes to decodetree

 target/mips/translate.h       |   1 +
 target/mips/godson2.decode    |  29 +++
 target/mips/loong-ext.decode  |  30 +++
 target/mips/loong_translate.c | 334 ++++++++++++++++++++++++++++++++++
 target/mips/translate.c       | 287 ++---------------------------
 target/mips/meson.build       |   3 +
 6 files changed, 409 insertions(+), 275 deletions(-)
 create mode 100644 target/mips/godson2.decode
 create mode 100644 target/mips/loong-ext.decode
 create mode 100644 target/mips/loong_translate.c

-- 
2.26.2




reply via email to

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