On 3/24/23 07:30, LIU Zhiwei wrote:
Virt enabled state is not a constant. So we should put it into tb flags.
Thus we can use it like a constant condition at translation phase.

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        |  2 ++
  target/riscv/cpu_helper.c |  2 ++
  target/riscv/translate.c  | 10 +---------
  3 files changed, 5 insertions(+), 9 deletions(-)

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

r~

Reply via email to