aboutsummaryrefslogtreecommitdiff
path: root/target-sparc/cpu.h
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2005-02-22 19:08:57 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2005-02-22 19:08:57 +0000
commitafc7df11480cfbfe45e6c3db2af9d8c670ec69d9 (patch)
treeb4b6c588062bd0ef71fe50f8c3b3a068b9beb0cc /target-sparc/cpu.h
parent713c45faf81f9a68ca589ce37d7e1dee6c2127a2 (diff)
PSR.PS fix (Blue Swirl)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1307 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-sparc/cpu.h')
-rw-r--r--target-sparc/cpu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/target-sparc/cpu.h b/target-sparc/cpu.h
index 4170b5733d..b07e2afcf4 100644
--- a/target-sparc/cpu.h
+++ b/target-sparc/cpu.h
@@ -172,7 +172,7 @@ double cpu_put_fp64(uint64_t mant, uint16_t exp);
(env->psref? PSR_EF : 0) | \
(env->psrpil << 8) | \
(env->psrs? PSR_S : 0) | \
- (env->psrs? PSR_PS : 0) | \
+ (env->psrps? PSR_PS : 0) | \
(env->psret? PSR_ET : 0) | env->cwp)
#ifndef NO_CPU_IO_DEFS