[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 3/6] target/mips: Convert Loongson DIV.G opcodes to decodetre
From: |
Richard Henderson |
Subject: |
Re: [PATCH 3/6] target/mips: Convert Loongson DIV.G opcodes to decodetree |
Date: |
Thu, 21 Jan 2021 09:56:02 -1000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 |
On 1/12/21 11:55 AM, Philippe Mathieu-Daudé wrote:
> DIV.G and DDIV.G are very similar. Provide gen_lext_DIV_G() a
> 'is_double' argument so it can generate DIV.G (divide 32-bit
> signed integers).
>
> With this commit we explicit the template used to generate
> opcode for 32/64-bit word variants. Next commits will be less
> verbose by providing both variants at once.
>
> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
> ---
> target/mips/godson2.decode | 1 +
> target/mips/loong-ext.decode | 1 +
> target/mips/loong_translate.c | 28 ++++++++++++++++++++++------
> target/mips/translate.c | 26 --------------------------
> 4 files changed, 24 insertions(+), 32 deletions(-)
With the double-extend pasto fixed,
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
r~
- [PATCH 0/6] target/mips: Convert Loongson LEXT opcodes to decodetree, Philippe Mathieu-Daudé, 2021/01/12
- [PATCH 1/6] target/mips: Re-introduce OPC_ADDUH_QB_DSP and OPC_MUL_PH_DSP, Philippe Mathieu-Daudé, 2021/01/12
- [PATCH 2/6] target/mips: Convert Loongson DDIV.G opcodes to decodetree, Philippe Mathieu-Daudé, 2021/01/12
- [PATCH 4/6] target/mips: Convert Loongson [D]DIVU.G opcodes to decodetree, Philippe Mathieu-Daudé, 2021/01/12
- [PATCH 3/6] target/mips: Convert Loongson DIV.G opcodes to decodetree, Philippe Mathieu-Daudé, 2021/01/12
- [PATCH 5/6] target/mips: Convert Loongson [D]MOD[U].G opcodes to decodetree, Philippe Mathieu-Daudé, 2021/01/12
- [PATCH 6/6] target/mips: Convert Loongson [D]MULT[U].G opcodes to decodetree, Philippe Mathieu-Daudé, 2021/01/12
- Re: [PATCH 0/6] target/mips: Convert Loongson LEXT opcodes to decodetree, Jiaxun Yang, 2021/01/12
- Re: [PATCH 0/6] target/mips: Convert Loongson LEXT opcodes to decodetree, Richard Henderson, 2021/01/21