summaryrefslogtreecommitdiff
path: root/mediumlevelilinstruction.cpp
diff options
context:
space:
mode:
authorRusty Wagner <rusty@vector35.com>2018-01-16 16:25:30 -0500
committerPeter LaFosse <peter@vector35.com>2018-03-23 17:10:06 -0400
commit95a3c711722901c347ddbfa922734ed15f04d62f (patch)
treede0d68ef6f1784a68e03ffed6fe499e06e8f789e /mediumlevelilinstruction.cpp
parentd788badbbd0744a623da4fd97aaa539d2726a00b (diff)
Add classes and groups for semantic flags resolution
Diffstat (limited to 'mediumlevelilinstruction.cpp')
-rw-r--r--mediumlevelilinstruction.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/mediumlevelilinstruction.cpp b/mediumlevelilinstruction.cpp
index a01a0747..d4eecfe9 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);