|
From: | ShihPo Hung |
Subject: | Re: [PATCH v2 1/3] target/riscv: Fix tb->flags FS status |
Date: | Wed, 15 Jan 2020 14:16:00 +0800 |
On 1/14/20 12:13 AM, address@hidden wrote:
> if (riscv_cpu_fp_enabled(env)) {
> - *flags |= TB_FLAGS_MSTATUS_FS;
> + *flags |= env->mstatus & MSTATUS_FS;
> }
Note that riscv_cpu_fp_enabled is *also* testing env->mstatus, and that this
assignment can be made unconditional.
Otherwise,
Reviewed-by: Richard Henderson <address@hidden>
[Prev in Thread] | Current Thread | [Next in Thread] |