projects
/
qemu
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use dynamical computation for condition codes
[qemu]
/
target-sparc
/
helper.c
diff --git
a/target-sparc/helper.c
b/target-sparc/helper.c
index
2ecafd1
..
8ad82a9
100644
(file)
--- a/
target-sparc/helper.c
+++ b/
target-sparc/helper.c
@@
-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;