target/mips: Convert LSA/DLSA and part of the Rel6 removed opcodes
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest13 patches 15 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/13 | !fixup "target/mips/translate: Add declarations for generic code"target/ target/ | +9 | 1 reply | |
| 2/13 | target/mips: Extract LSA/DLSA translation generatorstarget/ target/ target/ +1 more | +67 | 1 reply | |
| 3/13 | target/mips: Introduce decodetree helpers for MSA LSA/DLSA opcodestarget/ target/ target/ +3 more | +49 | 2 replies | |
| 4/13 | target/mips: Introduce decodetree helpers for Release6 LSA/DLSA opcodestarget/ target/ target/ +3 more | +82 | 1 reply | |
| 5/13 | target/mips: Remove now unreachable LSA/DLSA opcodes codetarget/ | +5 | 1 reply | |
| 6/13 | target/mips: Convert Rel6 Special2 opcode to decodetreetarget/ target/ target/ | +9 | 1 reply | |
| 7/13 | target/mips: Convert Rel6 COP1X opcode to decodetreetarget/ target/ | +2 | 1 reply | |
| 8/13 | target/mips: Convert Rel6 CACHE/PREF opcodes to decodetreetarget/ target/ | +3 | 1 reply | |
| 9/13 | target/mips: Convert Rel6 LWL/LWR/SWL/SWR opcodes to decodetreetarget/ target/ | +6 | 1 reply | |
| 10/13 | target/mips: Convert Rel6 LWLE/LWRE/SWLE/SWRE opcodes to decodetreetarget/ target/ | +5 | 1 reply | |
| 11/13 | target/mips: Convert Rel6 LDL/LDR/SDL/SDR opcodes to decodetreetarget/ target/ | +7 | 1 reply | |
| 12/13 | target/mips: Convert Rel6 LLD/SCD opcodes to decodetreetarget/ target/ | +3 | 1 reply | |
| 13/13 | target/mips: Convert Rel6 LL/SC opcodes to decodetreetarget/ target/ | +2 | 1 reply |
Reviews trailers per patch
11 of 13 patches have a Reviewed-by or Acked-by.
| Patch | Richard Henderson |
|---|---|
| 1/13 | |
| 2/13 | R-b |
| 3/13 | R-b |
| 4/13 | |
| 5/13 | R-b |
| 6/13 | R-b |
| 7/13 | R-b |
| 8/13 | R-b |
| 9/13 | R-b |
| 10/13 | R-b |
| 11/13 | R-b |
| 12/13 | R-b |
| 13/13 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 00/13] target/mips: Convert LSA/DLSA and part of the Rel6 removed opcodes
Complete the MSA conversion with the LSA/DLSA opcodes, which are shared with the Release 6.
Keep going converting the removed opcodes.
We now have 2 decoders on 32-bit, and 4 on 64-bit.
Extensions are decoded first, then ISA.
I might introduce a macro to have a generic decode() function to hide the 32/64 check, to keep the main decode_opc() loop easy to review.
Series available here:
https://gitlab.com/philmd/qemu/-/tree/mips_decodetree_lsa_r6
Regards,
Phil.
Philippe Mathieu-Daudé (13):
!fixup "target/mips/translate: Add declarations for generic code" target/mips: Extract LSA/DLSA translation generators target/mips: Introduce decodetree helpers for MSA LSA/DLSA opcodes target/mips: Introduce decodetree helpers for Release6 LSA/DLSA
opcodes
target/mips: Remove now unreachable LSA/DLSA opcodes code target/mips: Convert Rel6 Special2 opcode to decodetree target/mips: Convert Rel6 COP1X opcode to decodetree target/mips: Convert Rel6 CACHE/PREF opcodes to decodetree target/mips: Convert Rel6 LWL/LWR/SWL/SWR opcodes to decodetree target/mips: Convert Rel6 LWLE/LWRE/SWLE/SWRE opcodes to decodetree target/mips: Convert Rel6 LDL/LDR/SDL/SDR opcodes to decodetree target/mips: Convert Rel6 LLD/SCD opcodes to decodetree target/mips: Convert Rel6 LL/SC opcodes to decodetree
target/mips/translate.h | 21 +++++- target/mips/isa-mips32r6.decode | 36 ++++++++++ target/mips/isa-mips64r6.decode | 26 +++++++ target/mips/mod-msa32.decode | 4 ++ target/mips/mod-msa64.decode | 17 +++++ target/mips/isa-mips_rel6_translate.c | 40 +++++++++++ target/mips/mod-msa_translate.c | 15 ++++ target/mips/translate.c | 98 +++++++-------------------- target/mips/translate_addr_const.c | 54 +++++++++++++++ target/mips/meson.build | 9 +++ 10 files changed, 245 insertions(+), 75 deletions(-) create mode 100644 target/mips/isa-mips32r6.decode create mode 100644 target/mips/isa-mips64r6.decode create mode 100644 target/mips/mod-msa64.decode create mode 100644 target/mips/isa-mips_rel6_translate.c create mode 100644 target/mips/translate_addr_const.c
Signature · 1 line
2.26.2