Re: [PATCH v3 05/19] target/riscv: Move vector translation checks

2023-04-28 Thread Weiwei Li
On 2023/4/28 22:47, Lawrence Hunter wrote: From: Nazar Kazakov Move the checks out of `do_opiv{v,x,i}_gvec{,_shift}` functions and into the corresponding macros. This enables the functions to be reused in proceeding commits without check duplication. Signed-off-by: Nazar Kazakov Reviewed-by

[PATCH v3 05/19] target/riscv: Move vector translation checks

2023-04-28 Thread Lawrence Hunter
From: Nazar Kazakov Move the checks out of `do_opiv{v,x,i}_gvec{,_shift}` functions and into the corresponding macros. This enables the functions to be reused in proceeding commits without check duplication. Signed-off-by: Nazar Kazakov Reviewed-by: Richard Henderson --- target/riscv/insn_tra