diff options
Diffstat (limited to 'src/lj_asm_mips.h')
-rw-r--r-- | src/lj_asm_mips.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lj_asm_mips.h b/src/lj_asm_mips.h index a3a4da6c..b42f9f9a 100644 --- a/src/lj_asm_mips.h +++ b/src/lj_asm_mips.h | |||
@@ -1673,7 +1673,7 @@ static void asm_gc_check(ASMState *as) | |||
1673 | asm_gencall(as, ci, args); | 1673 | asm_gencall(as, ci, args); |
1674 | emit_tsi(as, MIPSI_ADDIU, ra_releasetmp(as, ASMREF_TMP1), RID_JGL, -32768); | 1674 | emit_tsi(as, MIPSI_ADDIU, ra_releasetmp(as, ASMREF_TMP1), RID_JGL, -32768); |
1675 | tmp = ra_releasetmp(as, ASMREF_TMP2); | 1675 | tmp = ra_releasetmp(as, ASMREF_TMP2); |
1676 | emit_loadi(as, tmp, (int32_t)as->gcsteps); | 1676 | emit_loadi(as, tmp, as->gcsteps); |
1677 | /* Jump around GC step if GC total < GC threshold. */ | 1677 | /* Jump around GC step if GC total < GC threshold. */ |
1678 | emit_branch(as, MIPSI_BNE, RID_TMP, RID_ZERO, l_end); | 1678 | emit_branch(as, MIPSI_BNE, RID_TMP, RID_ZERO, l_end); |
1679 | emit_dst(as, MIPSI_SLTU, RID_TMP, RID_TMP, tmp); | 1679 | emit_dst(as, MIPSI_SLTU, RID_TMP, RID_TMP, tmp); |
@@ -1770,6 +1770,7 @@ static void asm_ir(ASMState *as, IRIns *ir) | |||
1770 | ra_alloc1(as, ir->op1, irt_isfp(ir->t) ? RSET_FPR : RSET_GPR); break; | 1770 | ra_alloc1(as, ir->op1, irt_isfp(ir->t) ? RSET_FPR : RSET_GPR); break; |
1771 | case IR_PHI: asm_phi(as, ir); break; | 1771 | case IR_PHI: asm_phi(as, ir); break; |
1772 | case IR_HIOP: asm_hiop(as, ir); break; | 1772 | case IR_HIOP: asm_hiop(as, ir); break; |
1773 | case IR_GCSTEP: asm_gcstep(as, ir); break; | ||
1773 | 1774 | ||
1774 | /* Guarded assertions. */ | 1775 | /* Guarded assertions. */ |
1775 | case IR_EQ: case IR_NE: asm_compeq(as, ir); break; | 1776 | case IR_EQ: case IR_NE: asm_compeq(as, ir); break; |