On 3/24/23 07:30, LIU Zhiwei wrote:
Once we mistook the vstart directly from the env->vstart. As env->vstart is not
a constant, we should record it in the tb flags if we want to use
it in translation.

Reported-by: Richard Henderson<richard.hender...@linaro.org>
Signed-off-by: LIU Zhiwei<zhiwei_...@linux.alibaba.com>
Reviewed-by: Weiwei Li<liwei...@iscas.ac.cn>
---
  target/riscv/cpu.h                      | 21 +++++++++++----------
  target/riscv/cpu_helper.c               |  1 +
  target/riscv/insn_trans/trans_rvv.c.inc | 14 +++++++-------
  target/riscv/translate.c                |  4 ++--
  4 files changed, 21 insertions(+), 19 deletions(-)

Reviewed-by: Richard Henderson <richard.hender...@linaro.org>

r~

Reply via email to