target/nios2: Drop CR_STATUS_EH from tb->flags

There's nothing about EH that affects translation,
so there's no need to include it in tb->flags.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220421151735.31996-47-richard.henderson@linaro.org>
This commit is contained in:
Richard Henderson 2022-04-21 08:17:17 -07:00
parent 7eed8e4003
commit d2293ebb04
1 changed files with 1 additions and 1 deletions

View File

@ -272,7 +272,7 @@ static inline void cpu_get_tb_cpu_state(CPUNios2State *env, target_ulong *pc,
{
*pc = env->pc;
*cs_base = 0;
*flags = env->ctrl[CR_STATUS] & (CR_STATUS_EH | CR_STATUS_U);
*flags = env->ctrl[CR_STATUS] & CR_STATUS_U;
}
#endif /* NIOS2_CPU_H */