diff options
| author | Rusty Wagner <rusty@vector35.com> | 2018-01-16 16:25:30 -0500 |
|---|---|---|
| committer | Rusty Wagner <rusty@vector35.com> | 2018-01-16 16:25:30 -0500 |
| commit | 6430776b3de5ee6eb922a9356080ad07d5a92856 (patch) | |
| tree | 42ea42bfc8f01cfc55037c1f100ee1ebdacd0fa2 /mediumlevelilinstruction.cpp | |
| parent | d8b25d611e29ade2aca70fc2a06ec8f93ae778f1 (diff) | |
Add classes and groups for semantic flags resolution
Diffstat (limited to 'mediumlevelilinstruction.cpp')
| -rw-r--r-- | mediumlevelilinstruction.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/mediumlevelilinstruction.cpp b/mediumlevelilinstruction.cpp index c3b4014f..e911c298 100644 --- a/mediumlevelilinstruction.cpp +++ b/mediumlevelilinstruction.cpp @@ -1331,6 +1331,7 @@ void MediumLevelILInstruction::VisitExprs(const std::function<bool(const MediumL case MLIL_FCMP_LE: case MLIL_FCMP_GE: case MLIL_FCMP_GT: + case MLIL_FCMP_O: case MLIL_FCMP_UO: AsTwoOperand().GetLeftExpr().VisitExprs(func); AsTwoOperand().GetRightExpr().VisitExprs(func); @@ -1561,6 +1562,7 @@ ExprId MediumLevelILInstruction::CopyTo(MediumLevelILFunction* dest, case MLIL_FCMP_LE: case MLIL_FCMP_GE: case MLIL_FCMP_GT: + case MLIL_FCMP_O: case MLIL_FCMP_UO: return dest->AddExprWithLocation(operation, *this, size, subExprHandler(AsTwoOperand().GetLeftExpr()), subExprHandler(AsTwoOperand().GetRightExpr())); @@ -2706,6 +2708,12 @@ ExprId MediumLevelILFunction::FloatCompareGreaterThan(size_t size, ExprId a, Exp } +ExprId MediumLevelILFunction::FloatCompareOrdered(size_t size, ExprId a, ExprId b, const ILSourceLocation& loc) +{ + return AddExprWithLocation(MLIL_FCMP_O, loc, size, a, b); +} + + ExprId MediumLevelILFunction::FloatCompareUnordered(size_t size, ExprId a, ExprId b, const ILSourceLocation& loc) { return AddExprWithLocation(MLIL_FCMP_UO, loc, size, a, b); |
