JitArm64: fix ps_res

This commit is contained in:
Tillmann Karras 2017-05-03 08:01:28 +01:00
parent c54c49714d
commit 5c93c98c05
1 changed files with 2 additions and 1 deletions

View File

@ -169,7 +169,8 @@ void JitArm64::ps_res(UGeckoInstruction inst)
ARM64Reg VB = fpr.R(b, type);
ARM64Reg VD = fpr.RW(d, type);
m_float_emit.FRSQRTE(size, reg_encoder(VD), reg_encoder(VB));
// FIXME: implement the same LUT as in the interpreter
m_float_emit.FRECPE(size, reg_encoder(VD), reg_encoder(VB));
fpr.FixSinglePrecision(d);
}