On 2/21/24 11:31, Daniel Henrique Barboza wrote:
At this moment the global is used only in do_vsetvl(). Do a direct env load in do_vsetvl() to read 'vl' and remove the global.Suggested-by: Richard Henderson<[email protected]> Signed-off-by: Daniel Henrique Barboza<[email protected]> --- target/riscv/insn_trans/trans_rvv.c.inc | 2 +- target/riscv/translate.c | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-)
Reviewed-by: Richard Henderson <[email protected]> r~
