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

This commit is contained in:
Chronos Ouroboros 2019-06-14 06:58:43 -03:00 committed by Christoph Oelckers
parent 2d1c7ba17c
commit 1b106d109d
1 changed files with 17 additions and 2 deletions

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);
}
}
}
}