ir_variable *z = in_var(z_type, "z");
MAKE_SIG(x_type, avail, 3, x, y, z);
- ir_expression *min3 = min(x, min(y,z));
+ ir_expression *min3 = min2(x, min2(y,z));
body.emit(ret(min3));
return sig;
ir_variable *z = in_var(z_type, "z");
MAKE_SIG(x_type, avail, 3, x, y, z);
- ir_expression *max3 = max(x, max(y,z));
+ ir_expression *max3 = max2(x, max2(y,z));
body.emit(ret(max3));
return sig;
ir_variable *z = in_var(z_type, "z");
MAKE_SIG(x_type, avail, 3, x, y, z);
- ir_expression *mid3 = max(min(x, y), max(min(x, z), min(y, z)));
+ ir_expression *mid3 = max2(min2(x, y), max2(min2(x, z), min2(y, z)));
body.emit(ret(mid3));
return sig;
return expr(ir_binop_sub, a, b);
}
-ir_expression *min(operand a, operand b)
+ir_expression *min2(operand a, operand b)
{
return expr(ir_binop_min, a, b);
}
-ir_expression *max(operand a, operand b)
+ir_expression *max2(operand a, operand b)
{
return expr(ir_binop_max, a, b);
}
ir_expression *f2b(operand a);
ir_expression *b2f(operand a);
-ir_expression *min(operand a, operand b);
-ir_expression *max(operand a, operand b);
+ir_expression *min2(operand a, operand b);
+ir_expression *max2(operand a, operand b);
ir_expression *fma(operand a, operand b, operand c);
ir_expression *lrp(operand x, operand y, operand a);