From 8393617c1a2a28e6e9efec2b517431c5d4aaab60 Mon Sep 17 00:00:00 2001 From: Blue Swirl Date: Sun, 10 May 2009 07:19:11 +0000 Subject: Use dynamical computation for condition codes Signed-off-by: Blue Swirl --- target-sparc/helper.c | 1 + 1 file changed, 1 insertion(+) (limited to 'target-sparc/helper.c') 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; -- cgit v1.2.3