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

2021-08-18 Thread Alistair Francis
On Wed, Aug 18, 2021 at 7:23 AM Richard Henderson 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 Revie

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

2021-08-18 Thread Bin Meng
On Wed, Aug 18, 2021 at 5:23 AM Richard Henderson 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 > ---

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

2021-08-17 Thread Richard Henderson
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 --- target/riscv/translate.c| 69 +++-- t