jump to target if JumpIfFloatNotEqual comparison is unordered

A dcmpl or dcmpg followed by an ifneq should take the branch if an NaN
is involved.
This commit is contained in:
Joel Dice 2013-04-04 20:02:49 -06:00
parent b436bd460a
commit 8c1419fb89

View File

@ -251,6 +251,7 @@ void branchFloat(Context* c, lir::TernaryOperation op, lir::Constant* target) {
case lir::JumpIfFloatNotEqual:
conditional(c, 0x85, target);
conditional(c, 0x8a, target);
break;
case lir::JumpIfFloatLess: