summaryrefslogtreecommitdiff
path: root/target-sparc/helper.c
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2009-05-10 07:19:11 +0000
committerBlue Swirl <blauwirbel@gmail.com>2009-05-10 07:19:11 +0000
commit8393617c1a2a28e6e9efec2b517431c5d4aaab60 (patch)
tree3314fd8eecf1cba4480f2be6f927eca54608355e /target-sparc/helper.c
parentbc24a225af2464dc30f88d6f930779cbf0e22b67 (diff)
downloadqemu-8393617c1a2a28e6e9efec2b517431c5d4aaab60.tar.gz
Use dynamical computation for condition codes
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'target-sparc/helper.c')
-rw-r--r--target-sparc/helper.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/target-sparc/helper.c b/target-sparc/helper.c
index 2ecafd1aff..8ad82a9456 100644
--- 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;