Revert FM(a*re_accurate) shortcut to relaxed

This commit is contained in:
RipleyTom 2024-02-13 18:07:26 +01:00 committed by Elad.Ash
parent 50b1402d66
commit af33c0c69f

View File

@ -5620,6 +5620,10 @@ public:
const auto [a, b] = get_vrs<f32[4]>(op.ra, op.rb);
// This causes issues in LBP 1(first platform on first temple level doesn't come down when grabbed)
// Presumably 1/x might result in Zero/NaN when a/x doesn't
if (g_cfg.core.spu_xfloat_accuracy == xfloat_accuracy::relaxed)
{
auto full_fm_accurate = [&](const auto& a, const auto& div)
{
const auto div_result = a / div;
@ -5647,6 +5651,7 @@ public:
erase_stores(one, a);
return;
}
}
set_vr(op.rt, fm(a, b));
}