mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
Use dynamical computation for condition codes
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
bc24a225af
commit
8393617c1a
5 changed files with 196 additions and 24 deletions
|
@ -660,6 +660,7 @@ void cpu_reset(CPUSPARCState *env)
|
|||
env->psret = 0;
|
||||
env->psrs = 1;
|
||||
env->psrps = 1;
|
||||
CC_OP = CC_OP_FLAGS;
|
||||
#ifdef TARGET_SPARC64
|
||||
env->pstate = PS_PRIV;
|
||||
env->hpstate = HS_PRIV;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue