From 3da52018dc1b425ef425b565a1c3b863a255d1b1 Mon Sep 17 00:00:00 2001 From: magumagu Date: Wed, 11 Jun 2014 19:50:33 -0700 Subject: [PATCH] Interpreter: return single-precision results for ps_rsqrte. --- Source/Core/Core/PowerPC/Interpreter/Interpreter_Paired.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Core/Core/PowerPC/Interpreter/Interpreter_Paired.cpp b/Source/Core/Core/PowerPC/Interpreter/Interpreter_Paired.cpp index bfd8007ead..2a0bcec6d9 100644 --- a/Source/Core/Core/PowerPC/Interpreter/Interpreter_Paired.cpp +++ b/Source/Core/Core/PowerPC/Interpreter/Interpreter_Paired.cpp @@ -196,8 +196,8 @@ void Interpreter::ps_rsqrte(UGeckoInstruction _inst) SetFPException(FPSCR_VXSQRT); } - rPS0(_inst.FD) = ApproximateReciprocalSquareRoot(rPS0(_inst.FB)); - rPS1(_inst.FD) = ApproximateReciprocalSquareRoot(rPS1(_inst.FB)); + rPS0(_inst.FD) = ForceSingle(ApproximateReciprocalSquareRoot(rPS0(_inst.FB))); + rPS1(_inst.FD) = ForceSingle(ApproximateReciprocalSquareRoot(rPS1(_inst.FB))); UpdateFPRF(rPS0(_inst.FD)); if (_inst.Rc) Helper_UpdateCR1();