mirror of
https://github.com/corda/corda.git
synced 2025-02-02 01:08:09 +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:
|
case lir::JumpIfFloatNotEqual:
|
||||||
conditional(c, 0x85, target);
|
conditional(c, 0x85, target);
|
||||||
|
conditional(c, 0x8a, target);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case lir::JumpIfFloatLess:
|
case lir::JumpIfFloatLess:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user