summaryrefslogtreecommitdiff
path: root/target/nios2
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2022-04-21 08:17:17 -0700
committerRichard Henderson <richard.henderson@linaro.org>2022-04-26 08:17:05 -0700
commitd2293ebb042b7ca77cdadd1ed6e5d07fcc7a510f (patch)
tree373b5b9644e7f5a563193f42ea6b32d4af08c9cb /target/nios2
parent7eed8e4003532c49dcd7639086a4895029151f41 (diff)
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>
Diffstat (limited to 'target/nios2')
-rw-r--r--target/nios2/cpu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/nios2/cpu.h b/target/nios2/cpu.h
index 4d63006ffe..477a661f17 100644
--- a/target/nios2/cpu.h
+++ b/target/nios2/cpu.h
@@ -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 */