qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2 4/4] target/riscv: Add a tb flags field for vstart


From: Richard Henderson
Subject: Re: [PATCH v2 4/4] target/riscv: Add a tb flags field for vstart
Date: Fri, 24 Mar 2023 10:08:10 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0

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.henderson@linaro.org>
Signed-off-by: LIU Zhiwei<zhiwei_liu@linux.alibaba.com>
Reviewed-by: Weiwei Li<liweiwei@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.henderson@linaro.org>

r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]