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

Philippe Mathieu-Daudé posted 9 patches 3 weeks, 6 days ago
target/mips/tcg/translate.h       |   3 +
target/mips/tcg/godson2.decode    |  27 +++
target/mips/tcg/loong-ext.decode  |  28 +++
target/mips/tcg/loong_translate.c | 271 ++++++++++++++++++++++++++++++
target/mips/tcg/translate.c       | 271 ++----------------------------
target/mips/tcg/meson.build       |   3 +
6 files changed, 348 insertions(+), 255 deletions(-)
create mode 100644 target/mips/tcg/godson2.decode
create mode 100644 target/mips/tcg/loong-ext.decode
create mode 100644 target/mips/tcg/loong_translate.c
[PATCH v3 0/9] target/mips: Convert Loongson LEXT opcodes to decodetree
Posted by Philippe Mathieu-Daudé 3 weeks, 6 days ago
Missing review: 1 & 9

Since v2:
- Extract decode_64bit_enabled()
- Remove unreachable 32-bit code

Since v1:
- Fixed '!is_double' check (rth)
- Rebased (removing tcg_temp_free calls)
- Simplified MULT[U].G (rth)
- Added R-b

Philippe Mathieu-Daudé (9):
  target/mips: Extract decode_64bit_enabled() helper
  target/mips: Simplify Loongson MULTU.G opcode
  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: Remove unreachable 32-bit code on 64-bit Loongson Ext

 target/mips/tcg/translate.h       |   3 +
 target/mips/tcg/godson2.decode    |  27 +++
 target/mips/tcg/loong-ext.decode  |  28 +++
 target/mips/tcg/loong_translate.c | 271 ++++++++++++++++++++++++++++++
 target/mips/tcg/translate.c       | 271 ++----------------------------
 target/mips/tcg/meson.build       |   3 +
 6 files changed, 348 insertions(+), 255 deletions(-)
 create mode 100644 target/mips/tcg/godson2.decode
 create mode 100644 target/mips/tcg/loong-ext.decode
 create mode 100644 target/mips/tcg/loong_translate.c

-- 
2.45.2


Re: [PATCH v3 0/9] target/mips: Convert Loongson LEXT opcodes to decodetree
Posted by Philippe Mathieu-Daudé 3 weeks, 6 days ago
On 26/10/24 14:53, Philippe Mathieu-Daudé wrote:

>   target/mips/tcg/translate.h       |   3 +
>   target/mips/tcg/godson2.decode    |  27 +++
>   target/mips/tcg/loong-ext.decode  |  28 +++
>   target/mips/tcg/loong_translate.c | 271 ++++++++++++++++++++++++++++++
>   target/mips/tcg/translate.c       | 271 ++----------------------------

Amusing diff-stat =)

>   target/mips/tcg/meson.build       |   3 +
>   6 files changed, 348 insertions(+), 255 deletions(-)


Re: [PATCH v3 0/9] target/mips: Convert Loongson LEXT opcodes to decodetree
Posted by Philippe Mathieu-Daudé 3 weeks, 2 days ago
On 26/10/24 14:53, Philippe Mathieu-Daudé wrote:

> Philippe Mathieu-Daudé (9):
>    target/mips: Extract decode_64bit_enabled() helper
>    target/mips: Simplify Loongson MULTU.G opcode
>    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: Remove unreachable 32-bit code on 64-bit Loongson Ext

Series queued.