]> xenbits.xensource.com Git - qemu-xen-4.4-testing.git/commit
mtfsf: fix FPSCR_VX and FPSCR_FEX computation
authoraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>
Mon, 10 Mar 2008 00:09:28 +0000 (00:09 +0000)
committeraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>
Mon, 10 Mar 2008 00:09:28 +0000 (00:09 +0000)
commit5567025f5352b7177f7040f40c200c6a66aa1cd2
tree2ea66a4b71ce89f955980529585459dcbbc1a4ff
parent0badc1ee0e6ab8622b2f9b4ebc3c5ab96f0b58d0
mtfsf: fix FPSCR_VX and FPSCR_FEX computation

The patch below fixes the computation of FPSCR_VX and FPSCR_FEX when
using the mtfsf instruction. As stated in the PowerPC manual the mtfsf
instruction can't alter those bit, and thus it should always be
computed.

Acked by Jocelyn Mayer.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4034 c046a42c-6fe2-441c-8c8c-71466251a162
target-ppc/op_helper.c