target/sparc/win_helper: Perform comparison pass against qemu

Ensure code and formatting are consistent with qemu
This commit is contained in:
Lioncash 2018-03-12 12:46:56 -04:00
parent 0215431990
commit 83b35aa797
No known key found for this signature in database
GPG Key ID: 4E3C3CC1031BA9C7

View File

@ -71,7 +71,6 @@ void cpu_put_psr_raw(CPUSPARCState *env, target_ulong val)
#if !defined(TARGET_SPARC64)
env->psref = (val & PSR_EF) ? 1 : 0;
env->psrpil = (val & PSR_PIL) >> 8;
env->psrs = (val & PSR_S) ? 1 : 0;
env->psrps = (val & PSR_PS) ? 1 : 0;
env->psret = (val & PSR_ET) ? 1 : 0;
@ -82,6 +81,7 @@ void cpu_put_psr_raw(CPUSPARCState *env, target_ulong val)
#endif
}
/* Called with BQL held */
void cpu_put_psr(CPUSPARCState *env, target_ulong val)
{
cpu_put_psr_raw(env, val);