[PATCH 08/45] target/riscv: Refactor some of the generic vector functionality

2023-03-10 Thread Lawrence Hunter
From: Nazar Kazakov Moves 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 commit without check duplication. Signed-off-by: Nazar Kazakov --- target/riscv/insn_trans/trans_rvv.c.inc | 28

[PATCH 08/45] target/riscv: Refactor some of the generic vector functionality

2023-03-10 Thread Lawrence Hunter
From: Kiran Ostrolenk This refactoring ensures these functions/macros can be used by both vector and vector-crypto helpers (latter implemented in proceeding commit). Also moves the checks out of `do_opiv{v,x,i}_gvec{,_shift}` functions and into the corresponding macros. This enables the function