summaryrefslogtreecommitdiff
path: root/src/lj_asm_ppc.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lj_asm_ppc.h')
-rw-r--r--src/lj_asm_ppc.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lj_asm_ppc.h b/src/lj_asm_ppc.h
index ec22e260..5d538fc8 100644
--- a/src/lj_asm_ppc.h
+++ b/src/lj_asm_ppc.h
@@ -1856,7 +1856,7 @@ static void asm_gc_check(ASMState *as)
1856 asm_gencall(as, ci, args); 1856 asm_gencall(as, ci, args);
1857 emit_tai(as, PPCI_ADDI, ra_releasetmp(as, ASMREF_TMP1), RID_JGL, -32768); 1857 emit_tai(as, PPCI_ADDI, ra_releasetmp(as, ASMREF_TMP1), RID_JGL, -32768);
1858 tmp = ra_releasetmp(as, ASMREF_TMP2); 1858 tmp = ra_releasetmp(as, ASMREF_TMP2);
1859 emit_loadi(as, tmp, (int32_t)as->gcsteps); 1859 emit_loadi(as, tmp, as->gcsteps);
1860 /* Jump around GC step if GC total < GC threshold. */ 1860 /* Jump around GC step if GC total < GC threshold. */
1861 emit_condbranch(as, PPCI_BC|PPCF_Y, CC_LT, l_end); 1861 emit_condbranch(as, PPCI_BC|PPCF_Y, CC_LT, l_end);
1862 emit_ab(as, PPCI_CMPLW, RID_TMP, tmp); 1862 emit_ab(as, PPCI_CMPLW, RID_TMP, tmp);
@@ -1966,6 +1966,7 @@ static void asm_ir(ASMState *as, IRIns *ir)
1966 ra_alloc1(as, ir->op1, irt_isfp(ir->t) ? RSET_FPR : RSET_GPR); break; 1966 ra_alloc1(as, ir->op1, irt_isfp(ir->t) ? RSET_FPR : RSET_GPR); break;
1967 case IR_PHI: asm_phi(as, ir); break; 1967 case IR_PHI: asm_phi(as, ir); break;
1968 case IR_HIOP: asm_hiop(as, ir); break; 1968 case IR_HIOP: asm_hiop(as, ir); break;
1969 case IR_GCSTEP: asm_gcstep(as, ir); break;
1969 1970
1970 /* Guarded assertions. */ 1971 /* Guarded assertions. */
1971 case IR_EQ: case IR_NE: 1972 case IR_EQ: case IR_NE: