PSR.PS fix (Blue Swirl)
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Tue, 22 Feb 2005 19:08:57 +0000 (19:08 +0000)
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Tue, 22 Feb 2005 19:08:57 +0000 (19:08 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1307 c046a42c-6fe2-441c-8c8c-71466251a162

target-sparc/cpu.h

index 4170b57..b07e2af 100644 (file)
@@ -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