Re: [PATCH 08/17] target/riscv: Use gpr_{src, dst} for word shift operations

2021-07-14 Thread Alistair Francis
On Fri, Jul 9, 2021 at 2:35 PM Richard Henderson wrote: > > For trans_sllw, we can just use gen_shiftw. The others use > various tricks to reduce the tcg operation count. > > Signed-off-by: Richard Henderson Reviewed-by: Alistair Francis Alistair > --- > target/riscv/insn_trans/trans_rvi.c.

[PATCH 08/17] target/riscv: Use gpr_{src, dst} for word shift operations

2021-07-08 Thread Richard Henderson
For trans_sllw, we can just use gen_shiftw. The others use various tricks to reduce the tcg operation count. Signed-off-by: Richard Henderson --- target/riscv/insn_trans/trans_rvi.c.inc | 82 ++--- 1 file changed, 31 insertions(+), 51 deletions(-) diff --git a/target/riscv/