Re: [PATCH v5 13/24] target/riscv: Use extracts for sraiw and srliw

2021-08-24 Thread Alistair Francis
On Tue, Aug 24, 2021 at 6:05 AM Richard Henderson wrote: > > These operations can be done in one instruction on some hosts. > > Signed-off-by: Richard Henderson Reviewed-by: Alistair Francis Alistair > --- > target/riscv/insn_trans/trans_rvi.c.inc | 14 -- > 1 file changed, 12 in

Re: [PATCH v5 13/24] target/riscv: Use extracts for sraiw and srliw

2021-08-24 Thread Bin Meng
On Tue, Aug 24, 2021 at 4:05 AM Richard Henderson wrote: > > These operations can be done in one instruction on some hosts. > > Signed-off-by: Richard Henderson > --- > target/riscv/insn_trans/trans_rvi.c.inc | 14 -- > 1 file changed, 12 insertions(+), 2 deletions(-) > Reviewed-by:

[PATCH v5 13/24] target/riscv: Use extracts for sraiw and srliw

2021-08-23 Thread Richard Henderson
These operations can be done in one instruction on some hosts. Signed-off-by: Richard Henderson --- target/riscv/insn_trans/trans_rvi.c.inc | 14 -- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/target/riscv/insn_trans/trans_rvi.c.inc b/target/riscv/insn_trans/trans