diff options
| author | gingerBill <bill@gingerbill.org> | 2023-07-24 14:01:10 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2023-07-24 14:01:10 +0100 |
| commit | e2593a68838a038dce55719ca3e4e8604dbc43d3 (patch) | |
| tree | 5313789a6126d5e5ea1fe79e354e86bffbe59eaa /src/tilde_expr.cpp | |
| parent | 00a44d1ddb37736284ff3154d11587c0cf4c73af (diff) | |
Update Tilde for testing reg spill stuff
Diffstat (limited to 'src/tilde_expr.cpp')
| -rw-r--r-- | src/tilde_expr.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tilde_expr.cpp b/src/tilde_expr.cpp index 822c637ca..07e60f1a6 100644 --- a/src/tilde_expr.cpp +++ b/src/tilde_expr.cpp @@ -547,7 +547,7 @@ gb_internal cgValue cg_emit_comp(cgProcedure *p, TokenKind op_kind, cgValue left case Token_Gt: res = tb_inst_cmp_igt(p->func, lhs, rhs, is_signed); break; case Token_GtEq: res = tb_inst_cmp_ige(p->func, lhs, rhs, is_signed); break; case Token_Lt: res = tb_inst_cmp_ilt(p->func, lhs, rhs, is_signed); break; - case Token_LtEq: res = tb_inst_cmp_ige(p->func, lhs, rhs, is_signed); break; + case Token_LtEq: res = tb_inst_cmp_ile(p->func, lhs, rhs, is_signed); break; } GB_ASSERT(res != nullptr); @@ -562,7 +562,7 @@ gb_internal cgValue cg_emit_comp(cgProcedure *p, TokenKind op_kind, cgValue left case Token_Gt: res = tb_inst_cmp_fgt(p->func, lhs, rhs); break; case Token_GtEq: res = tb_inst_cmp_fge(p->func, lhs, rhs); break; case Token_Lt: res = tb_inst_cmp_flt(p->func, lhs, rhs); break; - case Token_LtEq: res = tb_inst_cmp_fge(p->func, lhs, rhs); break; + case Token_LtEq: res = tb_inst_cmp_fle(p->func, lhs, rhs); break; } GB_ASSERT(res != nullptr); return cg_value(res, t_bool); |