mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 18:23:57 -06:00
target/rx: Store PSW.U in tb->flags
With this, we don't need movcond to determine which stack pointer is current. Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Yoshinori Sato <ysato@users.sourceforge.jp> Message-Id: <20220417165130.695085-3-richard.henderson@linaro.org>
This commit is contained in:
parent
4341631e4d
commit
3626a3fe37
2 changed files with 24 additions and 19 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue