mirror of
https://github.com/corda/corda.git
synced 2025-01-22 12:28:11 +00:00
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:
parent
b436bd460a
commit
8c1419fb89
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user