Interpreter: return single-precision results for ps_rsqrte.
This commit is contained in:
parent
5a66ded081
commit
3da52018dc
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue