aboutsummaryrefslogtreecommitdiff
path: root/cpu-exec.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpu-exec.c')
-rw-r--r--cpu-exec.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/cpu-exec.c b/cpu-exec.c
index ea18b73ff0..c3d99d4181 100644
--- a/cpu-exec.c
+++ b/cpu-exec.c
@@ -196,7 +196,9 @@ static inline TranslationBlock *tb_find_fast(void)
cs_base = 0;
pc = env->PC;
#elif defined(TARGET_M68K)
- flags = (env->fpcr & M68K_FPCR_PREC) | (env->sr & SR_S);
+ flags = (env->fpcr & M68K_FPCR_PREC) /* Bit 6 */
+ | (env->sr & SR_S) /* Bit 13 */
+ | ((env->macsr >> 4) & 0xf); /* Bits 0-3 */
cs_base = 0;
pc = env->pc;
#elif defined(TARGET_SH4)