mirror of https://github.com/RPCS3/rpcs3.git
SPU LLVM: Improve approximate FCMGT
This commit is contained in:
parent
b341113ad8
commit
a9162a3f57
|
@ -7279,8 +7279,7 @@ public:
|
||||||
|
|
||||||
if (g_cfg.core.spu_approx_xfloat)
|
if (g_cfg.core.spu_approx_xfloat)
|
||||||
{
|
{
|
||||||
const auto ca = eval(clamp_positive_smax(a));
|
set_vr(op.rt, sext<s32[4]>(fcmp_uno(a > b) & (bitcast<s32[4]>(a) > bitcast<s32[4]>(b))));
|
||||||
set_vr(op.rt, sext<s32[4]>(fcmp_ord(ca > b)));
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue