summaryrefslogtreecommitdiff
path: root/lang/c
diff options
context:
space:
mode:
Diffstat (limited to 'lang/c')
-rw-r--r--lang/c/pseudoc.cpp25
1 files changed, 25 insertions, 0 deletions
diff --git a/lang/c/pseudoc.cpp b/lang/c/pseudoc.cpp
index dc37100e..81401b55 100644
--- a/lang/c/pseudoc.cpp
+++ b/lang/c/pseudoc.cpp
@@ -2490,6 +2490,31 @@ void PseudoCFunction::GetExprTextInternal(const HighLevelILInstruction& instr, H
}();
break;
+ case HLIL_MINS:
+ case HLIL_MINU:
+ AppendTwoOperandFunction("min", instr, tokens, settings, false);
+ if (statement)
+ tokens.AppendSemicolon();
+ break;
+
+ case HLIL_MAXS:
+ case HLIL_MAXU:
+ AppendTwoOperandFunction("max", instr, tokens, settings, false);
+ if (statement)
+ tokens.AppendSemicolon();
+ break;
+
+ case HLIL_ABS:
+ [&]() {
+ tokens.Append(OperationToken, "abs");
+ tokens.AppendOpenParen();
+ GetExprTextInternal(instr.GetSourceExpr<HLIL_ABS>(), tokens, settings);
+ tokens.AppendCloseParen();
+ if (statement)
+ tokens.AppendSemicolon();
+ }();
+ break;
+
case HLIL_FLOAT_CONV:
[&]() {
const auto srcExpr = instr.GetSourceExpr<HLIL_FLOAT_CONV>();