Re: [PATCH v3 06/19] target/riscv: Refactor translation of vector-widening instruction

2023-04-28 Thread Weiwei Li
On 2023/4/28 22:47, Lawrence Hunter wrote: From: Dickon Hood Zvbb (implemented in later commit) has a widening instruction, which requires an extra check on the enabled extensions. Refactor GEN_OPIVX_WIDEN_TRANS() to take a check function to avoid reimplementing it. Signed-off-by: Dickon Ho

[PATCH v3 06/19] target/riscv: Refactor translation of vector-widening instruction

2023-04-28 Thread Lawrence Hunter
From: Dickon Hood Zvbb (implemented in later commit) has a widening instruction, which requires an extra check on the enabled extensions. Refactor GEN_OPIVX_WIDEN_TRANS() to take a check function to avoid reimplementing it. Signed-off-by: Dickon Hood Reviewed-by: Richard Henderson --- target