On 3/23/23 22:59, 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<[email protected]> Signed-off-by: LIU Zhiwei<[email protected]> --- 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 <[email protected]> r~
