mirror of
https://github.com/yuzu-emu/unicorn
synced 2024-11-24 12:18:07 +00:00
target/sparc/win_helper: Perform comparison pass against qemu
Ensure code and formatting are consistent with qemu
This commit is contained in:
parent
0215431990
commit
83b35aa797
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,6 @@ void cpu_put_psr_raw(CPUSPARCState *env, target_ulong val)
|
||||||
#if !defined(TARGET_SPARC64)
|
#if !defined(TARGET_SPARC64)
|
||||||
env->psref = (val & PSR_EF) ? 1 : 0;
|
env->psref = (val & PSR_EF) ? 1 : 0;
|
||||||
env->psrpil = (val & PSR_PIL) >> 8;
|
env->psrpil = (val & PSR_PIL) >> 8;
|
||||||
|
|
||||||
env->psrs = (val & PSR_S) ? 1 : 0;
|
env->psrs = (val & PSR_S) ? 1 : 0;
|
||||||
env->psrps = (val & PSR_PS) ? 1 : 0;
|
env->psrps = (val & PSR_PS) ? 1 : 0;
|
||||||
env->psret = (val & PSR_ET) ? 1 : 0;
|
env->psret = (val & PSR_ET) ? 1 : 0;
|
||||||
|
@ -82,6 +81,7 @@ void cpu_put_psr_raw(CPUSPARCState *env, target_ulong val)
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Called with BQL held */
|
||||||
void cpu_put_psr(CPUSPARCState *env, target_ulong val)
|
void cpu_put_psr(CPUSPARCState *env, target_ulong val)
|
||||||
{
|
{
|
||||||
cpu_put_psr_raw(env, val);
|
cpu_put_psr_raw(env, val);
|
||||||
|
|
Loading…
Reference in a new issue