Re: [PATCH v4 11/21] target/riscv: Add DisasExtend to gen_unary

2021-08-22 Thread Alistair Francis
On Sat, Aug 21, 2021 at 3:50 AM Richard Henderson wrote: > > Use ctx->w for ctpopw, which is the only one that can > re-use the generic algorithm for the narrow operation. > > Signed-off-by: Richard Henderson Reviewed-by: Alistair Francis Alistair > --- > target/riscv/translate.c

[PATCH v4 11/21] target/riscv: Add DisasExtend to gen_unary

2021-08-20 Thread Richard Henderson
Use ctx->w for ctpopw, which is the only one that can re-use the generic algorithm for the narrow operation. Signed-off-by: Richard Henderson --- target/riscv/translate.c| 14 ++ target/riscv/insn_trans/trans_rvb.c.inc | 24 +--- 2 files changed, 1