[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v3 04/21] target/riscv: Introduce DisasExtend and new helpers
From: |
Bin Meng |
Subject: |
Re: [PATCH v3 04/21] target/riscv: Introduce DisasExtend and new helpers |
Date: |
Thu, 19 Aug 2021 19:01:59 +0800 |
On Thu, Aug 19, 2021 at 5:05 PM Richard Henderson
<richard.henderson@linaro.org> wrote:
>
> Introduce get_gpr, dest_gpr, temp_new -- new helpers that do not force
> tcg globals into temps, returning a constant 0 for $zero as source and
> a new temp for $zero as destination.
>
> Introduce ctx->w for simplifying word operations, such as addw.
>
> Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
> ---
> target/riscv/translate.c | 101 ++++++++++++++++++++++++++++++++-------
> 1 file changed, 83 insertions(+), 18 deletions(-)
>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
- [PATCH v3 00/21] target/riscv: Use tcg_constant_*, Richard Henderson, 2021/08/19
- [PATCH v3 01/21] target/riscv: Use tcg_constant_*, Richard Henderson, 2021/08/19
- [PATCH v3 02/21] target/riscv: Clean up division helpers, Richard Henderson, 2021/08/19
- [PATCH v3 04/21] target/riscv: Introduce DisasExtend and new helpers, Richard Henderson, 2021/08/19
- Re: [PATCH v3 04/21] target/riscv: Introduce DisasExtend and new helpers,
Bin Meng <=
- [PATCH v3 03/21] target/riscv: Add DisasContext to gen_get_gpr, gen_set_gpr, Richard Henderson, 2021/08/19
- [PATCH v3 06/21] target/riscv: Remove gen_arith_div*, Richard Henderson, 2021/08/19
- [PATCH v3 07/21] target/riscv: Use gen_arith for mulh and mulhu, Richard Henderson, 2021/08/19
- [PATCH v3 05/21] target/riscv: Add DisasExtend to gen_arith*, Richard Henderson, 2021/08/19
- [PATCH v3 08/21] target/riscv: Move gen_* helpers for RVM, Richard Henderson, 2021/08/19
- [PATCH v3 09/21] target/riscv: Move gen_* helpers for RVB, Richard Henderson, 2021/08/19
- [PATCH v3 10/21] target/riscv: Add DisasExtend to gen_unary, Richard Henderson, 2021/08/19
- [PATCH v3 12/21] target/riscv: Add gen_greviw, Richard Henderson, 2021/08/19
- [PATCH v3 13/21] target/riscv: Use get_gpr in branches, Richard Henderson, 2021/08/19