qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2 05/21] target/riscv: Add DisasExtend to gen_arith*


From: Bin Meng
Subject: Re: [PATCH v2 05/21] target/riscv: Add DisasExtend to gen_arith*
Date: Thu, 19 Aug 2021 10:42:08 +0800

On Wed, Aug 18, 2021 at 5:23 AM Richard Henderson
<richard.henderson@linaro.org> wrote:
>
> Most arithmetic does not require extending the inputs.
> Exceptions include division, comparison and minmax.
>
> Begin using ctx->w, which allows elimination of gen_addw,
> gen_subw, gen_mulw.
>
> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
> ---
>  target/riscv/translate.c                | 69 +++++++------------------
>  target/riscv/insn_trans/trans_rvb.c.inc | 30 +++++------
>  target/riscv/insn_trans/trans_rvi.c.inc | 39 ++++++++------
>  target/riscv/insn_trans/trans_rvm.c.inc | 16 +++---
>  4 files changed, 64 insertions(+), 90 deletions(-)
>

Reviewed-by: Bin Meng <bmeng.cn@gmail.com>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]