On 1/14/20 12:13 AM, shihpo.hung@sifive.com 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 <richard.henderson@linaro.org>