target/mips: Convert nanoMIPS LSA opcode to decodetree
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest16 patches 10 repliesIn review
- v26 patches 8 repliesSuperseded
- v12 patches 4 repliesSuperseded
Changes in v3 from the cover letter
- Fix translator_ld() calls
- Add support for 48-bit nanoMIPS opcodes
- Convert Load Immediate opcode
---
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/16 | target/mips: Extract gen_base_index_addr() helpertarget/ target/ | +14 | 0 replies | |
| 2/16 | target/mips: Extract generic gen_lx() helpertarget/ target/ | +20 | 0 replies | |
| 3/16 | target/mips: Convert Octeon LX instructions to decodetreetarget/ target/ target/ | +21 | 0 replies | |
| 4/16 | target/mips: Call translator_ld() in translate_insn() calleestarget/ target/ target/ +1 more | +17 | 1 reply | |
| 5/16 | target/mips: Have gen_[d]lsa() callers add 1 to shift amount argumenttarget/ target/ target/ +2 more | +8 | 0 replies | |
| 6/16 | target/mips: Decode LSA shift amount using decodetree functiontarget/ target/ target/ +1 more | +14 | 0 replies | |
| 7/16 | target/mips: Introduce decode tree bindings for MIPS16e ASEtarget/ target/ target/ +3 more | +45 | 1 reply | |
| 8/16 | target/mips: Introduce decode tree bindings for microMIPS ISAtarget/ target/ target/ +3 more | +50 | 1 reply | |
| 9/16 | scripts/decodetree: Add support for 48-bit instructionsscripts/ | +4 | 1 reply | |
| 10/16 | target/mips: Introduce decode tree bindings for nanoMIPS ISAtarget/ target/ target/ +4 more | +62 | 1 reply | |
| 11/16 | target/mips: Convert microMIPS LSA opcode to decodetreetarget/ target/ target/ | +18 | 0 replies | |
| 12/16 | target/mips: Convert nanoMIPS LSA opcode to decodetreetarget/ target/ target/ | +13 | 0 replies | |
| 13/16 | target/mips: Add gen_li() helpertarget/ target/ target/ | +23 | 1 reply | |
| 14/16 | target/mips: Convert microMIPS LI opcode to decodetreetarget/ target/ target/ | +29 | 1 reply | |
| 15/16 | target/mips: Convert MIPS16e LI opcodes to decodetreetarget/ target/ target/ +1 more | +31 | 1 reply | |
| 16/16 | target/mips: Convert nanoMIPS LI opcodes to decodetreetarget/ target/ target/ +1 more | +37 | 1 reply |
Reviews trailers per patch
11 of 16 patches have a Reviewed-by or Acked-by.
| Patch | Richard Henderson | Pavel Dovgalyuk |
|---|---|---|
| 1/16 | R-b | |
| 2/16 | R-b | |
| 3/16 | R-b | R-b |
| 4/16 | R-b | |
| 5/16 | R-b | |
| 6/16 | R-b | |
| 7/16 | ||
| 8/16 | ||
| 9/16 | R-b | |
| 10/16 | ||
| 11/16 | R-b | |
| 12/16 | R-b | |
| 13/16 | R-b | |
| 14/16 | R-b | |
| 15/16 | ||
| 16/16 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v3 00/16] target/mips: Convert nanoMIPS LSA opcode to decodetree
Since v2:
- Fix translator_ld() calls
- Add support for 48-bit nanoMIPS opcodes
- Convert Load Immediate opcode
---
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é (16):
target/mips: Extract gen_base_index_addr() helper target/mips: Extract generic gen_lx() helper
target/mips: Convert Octeon LX instructions to decodetree target/mips: Call translator_ld() in translate_insn() callees target/mips: Have gen_[d]lsa() callers add 1 to shift amount argument target/mips: Decode LSA shift amount using decodetree function target/mips: Introduce decode tree bindings for MIPS16e ASE target/mips: Introduce decode tree bindings for microMIPS ISA scripts/decodetree: Add support for 48-bit instructions target/mips: Introduce decode tree bindings for nanoMIPS ISA target/mips: Convert microMIPS LSA opcode to decodetree target/mips: Convert nanoMIPS LSA opcode to decodetree target/mips: Add gen_li() helper
target/mips: Convert microMIPS LI opcode to decodetree target/mips: Convert MIPS16e LI opcodes to decodetree target/mips: Convert nanoMIPS LI opcodes to decodetree
target/mips/tcg/translate.h | 10 +++ target/mips/tcg/micromips16.decode | 20 ++++++ target/mips/tcg/micromips32.decode | 19 +++++ target/mips/tcg/mips16e_16.decode | 17 +++++ target/mips/tcg/mips16e_32.decode | 18 +++++ target/mips/tcg/msa.decode | 3 +- target/mips/tcg/nanomips16.decode | 16 +++++ target/mips/tcg/nanomips32.decode | 14 ++++ target/mips/tcg/nanomips48.decode | 16 +++++ target/mips/tcg/octeon.decode | 8 +++ target/mips/tcg/rel6.decode | 4 +- target/mips/tcg/comput_translate.c | 21 ++++++ target/mips/tcg/micromips_translate.c | 43 ++++++++++++ target/mips/tcg/mips16e_translate.c | 28 ++++++++ target/mips/tcg/nanomips_translate.c | 43 ++++++++++++ target/mips/tcg/octeon_translate.c | 12 ++++ target/mips/tcg/rel6_translate.c | 5 ++ target/mips/tcg/translate.c | 84 +++++++++-------------- target/mips/tcg/translate_addr_const.c | 4 +- target/mips/tcg/micromips_translate.c.inc | 29 ++++---- target/mips/tcg/mips16e_translate.c.inc | 24 +++---- target/mips/tcg/nanomips_translate.c.inc | 54 +++++++-------- scripts/decodetree.py | 4 ++ target/mips/tcg/meson.build | 11 +++ 24 files changed, 392 insertions(+), 115 deletions(-) create mode 100644 target/mips/tcg/micromips16.decode create mode 100644 target/mips/tcg/micromips32.decode create mode 100644 target/mips/tcg/mips16e_16.decode create mode 100644 target/mips/tcg/mips16e_32.decode create mode 100644 target/mips/tcg/nanomips16.decode create mode 100644 target/mips/tcg/nanomips32.decode create mode 100644 target/mips/tcg/nanomips48.decode create mode 100644 target/mips/tcg/comput_translate.c create mode 100644 target/mips/tcg/micromips_translate.c create mode 100644 target/mips/tcg/mips16e_translate.c create mode 100644 target/mips/tcg/nanomips_translate.c
Signature · 1 line
2.45.2