summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kvm/fpu.S
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@linux-m68k.org>2010-08-21 11:43:20 +0000
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2010-09-02 14:07:32 +1000
commit05d77ac90c0d260ae18decd70507dc4f5b71a2cb (patch)
tree84cca10e89f60d8530d9951e8e20931329154ef2 /arch/powerpc/kvm/fpu.S
parent872e439a45ed4a4bd499bc55cb0dffa74027f749 (diff)
downloadop-kernel-dev-05d77ac90c0d260ae18decd70507dc4f5b71a2cb.zip
op-kernel-dev-05d77ac90c0d260ae18decd70507dc4f5b71a2cb.tar.gz
powerpc: Remove fpscr use from [kvm_]cvt_{fd,df}
Neither lfs nor stfs touch the fpscr, so remove the restore/save of it around them. Signed-off-by: Andreas Schwab <schwab@linux-m68k.org> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/kvm/fpu.S')
-rw-r--r--arch/powerpc/kvm/fpu.S8
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/powerpc/kvm/fpu.S b/arch/powerpc/kvm/fpu.S
index cb34bbe..bf68d59 100644
--- a/arch/powerpc/kvm/fpu.S
+++ b/arch/powerpc/kvm/fpu.S
@@ -273,19 +273,11 @@ FPD_THREE_IN(fnmsub)
FPD_THREE_IN(fnmadd)
_GLOBAL(kvm_cvt_fd)
- lfd 0,0(r5) /* load up fpscr value */
- MTFSF_L(0)
lfs 0,0(r3)
stfd 0,0(r4)
- mffs 0
- stfd 0,0(r5) /* save new fpscr value */
blr
_GLOBAL(kvm_cvt_df)
- lfd 0,0(r5) /* load up fpscr value */
- MTFSF_L(0)
lfd 0,0(r3)
stfs 0,0(r4)
- mffs 0
- stfd 0,0(r5) /* save new fpscr value */
blr
OpenPOWER on IntegriCloud