summaryrefslogtreecommitdiffstats
path: root/target/rx/cpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'target/rx/cpu.h')
-rw-r--r--target/rx/cpu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/target/rx/cpu.h b/target/rx/cpu.h
index 1c267f83bf..5655dffeff 100644
--- a/target/rx/cpu.h
+++ b/target/rx/cpu.h
@@ -149,6 +149,7 @@ static inline void cpu_get_tb_cpu_state(CPURXState *env, target_ulong *pc,
*pc = env->pc;
*cs_base = 0;
*flags = FIELD_DP32(0, PSW, PM, env->psw_pm);
+ *flags = FIELD_DP32(*flags, PSW, U, env->psw_u);
}
static inline int cpu_mmu_index(CPURXState *env, bool ifetch)