Fixed "if (!(lhs ~== rhs))" breaking with vectors.

This commit is contained in:
Chronos Ouroboros 2019-06-14 06:58:43 -03:00 committed by drfrag
parent a7bcd8ff52
commit 65a3322166

View file

@ -135,8 +135,23 @@ private:
cc.movsd(epsilonXmm, epsilon);
cc.ucomisd(epsilonXmm, tmp);
if (check) cc.ja(fail);
else cc.jna(fail);
if (check)
{
cc.jp(success);
if (i == (N - 1))
{
cc.ja(fail);
}
else
{
cc.jna(success);
}
}
else
{
cc.jp(fail);
cc.jna(fail);
}
}
}
}