[PATCH v2 0/6] target/mips: Convert nanoMIPS LSA opcode to decodetree

Philippe Mathieu-Daudé posted 6 patches 1 week, 3 days ago
target/mips/tcg/translate.h               |  4 ++++
target/mips/tcg/micromips16.decode        |  9 +++++++++
target/mips/tcg/micromips32.decode        | 17 ++++++++++++++++
target/mips/tcg/msa.decode                |  3 ++-
target/mips/tcg/nanomips16.decode         |  8 ++++++++
target/mips/tcg/nanomips32.decode         | 14 +++++++++++++
target/mips/tcg/rel6.decode               |  4 +++-
target/mips/tcg/micromips_translate.c     | 24 +++++++++++++++++++++++
target/mips/tcg/nanomips_translate.c      | 21 ++++++++++++++++++++
target/mips/tcg/rel6_translate.c          |  5 +++++
target/mips/tcg/translate_addr_const.c    |  4 ++--
target/mips/tcg/micromips_translate.c.inc | 11 ++++++-----
target/mips/tcg/nanomips_translate.c.inc  | 16 +++++++--------
target/mips/tcg/meson.build               |  6 ++++++
14 files changed, 128 insertions(+), 18 deletions(-)
create mode 100644 target/mips/tcg/micromips16.decode
create mode 100644 target/mips/tcg/micromips32.decode
create mode 100644 target/mips/tcg/nanomips16.decode
create mode 100644 target/mips/tcg/nanomips32.decode
create mode 100644 target/mips/tcg/micromips_translate.c
create mode 100644 target/mips/tcg/nanomips_translate.c
[PATCH v2 0/6] target/mips: Convert nanoMIPS LSA opcode to decodetree
Posted by Philippe Mathieu-Daudé 1 week, 3 days ago
Prepare buildsys to decode micro/nanoMIPS opcodes using
the decodetree script.
Simplify gen_lsa/dsa() and convert micro/nanoMIPS LSA
opcode to decodetree.

Philippe Mathieu-Daudé (6):
  target/mips: Introduce decode tree bindings for microMIPS ISA
  target/mips: Introduce decode tree bindings for nanoMIPS ISA
  target/mips: Have gen_[d]lsa() callers add 1 to shift amount argument
  target/mips: Decode LSA shift amount using decodetree function
  target/mips: Convert microMIPS LSA opcode to decodetree
  target/mips: Convert nanoMIPS LSA opcode to decodetree

 target/mips/tcg/translate.h               |  4 ++++
 target/mips/tcg/micromips16.decode        |  9 +++++++++
 target/mips/tcg/micromips32.decode        | 17 ++++++++++++++++
 target/mips/tcg/msa.decode                |  3 ++-
 target/mips/tcg/nanomips16.decode         |  8 ++++++++
 target/mips/tcg/nanomips32.decode         | 14 +++++++++++++
 target/mips/tcg/rel6.decode               |  4 +++-
 target/mips/tcg/micromips_translate.c     | 24 +++++++++++++++++++++++
 target/mips/tcg/nanomips_translate.c      | 21 ++++++++++++++++++++
 target/mips/tcg/rel6_translate.c          |  5 +++++
 target/mips/tcg/translate_addr_const.c    |  4 ++--
 target/mips/tcg/micromips_translate.c.inc | 11 ++++++-----
 target/mips/tcg/nanomips_translate.c.inc  | 16 +++++++--------
 target/mips/tcg/meson.build               |  6 ++++++
 14 files changed, 128 insertions(+), 18 deletions(-)
 create mode 100644 target/mips/tcg/micromips16.decode
 create mode 100644 target/mips/tcg/micromips32.decode
 create mode 100644 target/mips/tcg/nanomips16.decode
 create mode 100644 target/mips/tcg/nanomips32.decode
 create mode 100644 target/mips/tcg/micromips_translate.c
 create mode 100644 target/mips/tcg/nanomips_translate.c

-- 
2.45.2


Re: [PATCH v2 0/6] target/mips: Convert nanoMIPS LSA opcode to decodetree
Posted by Philippe Mathieu-Daudé 1 week, 1 day ago
On 12/11/24 17:20, Philippe Mathieu-Daudé wrote:

> Philippe Mathieu-Daudé (6):
>    target/mips: Introduce decode tree bindings for microMIPS ISA
>    target/mips: Introduce decode tree bindings for nanoMIPS ISA
>    target/mips: Have gen_[d]lsa() callers add 1 to shift amount argument
>    target/mips: Decode LSA shift amount using decodetree function
>    target/mips: Convert microMIPS LSA opcode to decodetree
>    target/mips: Convert nanoMIPS LSA opcode to decodetree
Thanks, series queued to mips-next tree.