Function fcmp [src]
Prototype
 pub fn fcmp( self: *WipFunction, fast: FastMathKind, cond: FloatCondition, lhs: Value, rhs: Value, name: []const u8, ) Allocator.Error!Value  Parameters
self: *WipFunctionfast: FastMathKindcond: FloatConditionlhs: Valuerhs: Valuename: []const u8 Source
 pub fn fcmp(
    self: *WipFunction,
    fast: FastMathKind,
    cond: FloatCondition,
    lhs: Value,
    rhs: Value,
    name: []const u8,
) Allocator.Error!Value {
    return self.cmpTag(switch (fast) {
        inline else => |fast_tag| switch (cond) {
            inline else => |cond_tag| @field(Instruction.Tag, "fcmp " ++ switch (fast_tag) {
                .normal => "",
                .fast => "fast ",
            } ++ @tagName(cond_tag)),
        },
    }, lhs, rhs, name);
}