qemu-riscv
[Top][All Lists]
Advanced

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

Re: [PATCH v3 5/5] target/riscv: Clear vstart_qe_zero flag


From: Richard Henderson
Subject: Re: [PATCH v3 5/5] target/riscv: Clear vstart_qe_zero flag
Date: Tue, 20 Feb 2024 10:22:08 -1000
User-agent: Mozilla Thunderbird

On 2/20/24 09:26, Daniel Henrique Barboza wrote:
From: Ivan Klokov <ivan.klokov@syntacore.com>

The vstart_qe_zero flag is set at the beginning of the translation
phase from the env->vstart variable. During the execution phase, some
instructions may change env->vstart, but the flag remains the same as
at the start of the block. With some combinations of instructions this
causes an illegal instruction exception. This patch simultaneously
updates flag and env->vstart and to avoid inconsistency.

It does not update env->vstart.  With the commit message fixed,

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


r~



reply via email to

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