mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-27 08:15:33 +01:00
Merge pull request #485 from magumagu/packed-fp-reciprocal
Interpreter: return single-precision results for ps_rsqrte.
This commit is contained in:
commit
9f22b2378d
@ -196,8 +196,8 @@ void Interpreter::ps_rsqrte(UGeckoInstruction _inst)
|
|||||||
SetFPException(FPSCR_VXSQRT);
|
SetFPException(FPSCR_VXSQRT);
|
||||||
}
|
}
|
||||||
|
|
||||||
rPS0(_inst.FD) = ApproximateReciprocalSquareRoot(rPS0(_inst.FB));
|
rPS0(_inst.FD) = ForceSingle(ApproximateReciprocalSquareRoot(rPS0(_inst.FB)));
|
||||||
rPS1(_inst.FD) = ApproximateReciprocalSquareRoot(rPS1(_inst.FB));
|
rPS1(_inst.FD) = ForceSingle(ApproximateReciprocalSquareRoot(rPS1(_inst.FB)));
|
||||||
|
|
||||||
UpdateFPRF(rPS0(_inst.FD));
|
UpdateFPRF(rPS0(_inst.FD));
|
||||||
if (_inst.Rc) Helper_UpdateCR1();
|
if (_inst.Rc) Helper_UpdateCR1();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user