On Thu, Aug 19, 2021 at 5:05 PM Richard Henderson <richard.hender...@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.fran...@wdc.com> > Signed-off-by: Richard Henderson <richard.hender...@linaro.org> > --- > target/riscv/translate.c | 101 ++++++++++++++++++++++++++++++++------- > 1 file changed, 83 insertions(+), 18 deletions(-) >
Reviewed-by: Bin Meng <bmeng...@gmail.com>