diff options
Diffstat (limited to 'src/lj_asm_arm.h')
-rw-r--r-- | src/lj_asm_arm.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lj_asm_arm.h b/src/lj_asm_arm.h index 9da618ce..20c5d40a 100644 --- a/src/lj_asm_arm.h +++ b/src/lj_asm_arm.h | |||
@@ -516,7 +516,7 @@ static void asm_href(ASMState *as, IRIns *ir, IROp merge) | |||
516 | int destused = ra_used(ir); | 516 | int destused = ra_used(ir); |
517 | Reg dest = ra_dest(as, ir, allow); | 517 | Reg dest = ra_dest(as, ir, allow); |
518 | Reg tab = ra_alloc1(as, ir->op1, rset_clear(allow, dest)); | 518 | Reg tab = ra_alloc1(as, ir->op1, rset_clear(allow, dest)); |
519 | Reg key = 0, keyhi = 0, keynumhi = RID_NONE, tmp = RID_LR; | 519 | Reg key = 0, keyhi = 0, keynumhi = RID_NONE, tmp = RID_TMP; |
520 | IRRef refkey = ir->op2; | 520 | IRRef refkey = ir->op2; |
521 | IRIns *irkey = IR(refkey); | 521 | IRIns *irkey = IR(refkey); |
522 | IRType1 kt = irkey->t; | 522 | IRType1 kt = irkey->t; |
@@ -1213,7 +1213,7 @@ static void asm_fpmin_max(ASMState *as, IRIns *ir, int cc) | |||
1213 | ra_evictset(as, drop); | 1213 | ra_evictset(as, drop); |
1214 | ra_destpair(as, ir); | 1214 | ra_destpair(as, ir); |
1215 | emit_dm(as, ARMF_CC(ARMI_MOV, cc), RID_RETHI, RID_R3); | 1215 | emit_dm(as, ARMF_CC(ARMI_MOV, cc), RID_RETHI, RID_R3); |
1216 | emit_dm(as, ARMF_CC(ARMI_MOV, cc), RID_RET, RID_R2); | 1216 | emit_dm(as, ARMF_CC(ARMI_MOV, cc), RID_RETLO, RID_R2); |
1217 | emit_call(as, (void *)ci->func); | 1217 | emit_call(as, (void *)ci->func); |
1218 | for (r = RID_R0; r <= RID_R3; r++) | 1218 | for (r = RID_R0; r <= RID_R3; r++) |
1219 | ra_leftov(as, r, args[r-RID_R0]); | 1219 | ra_leftov(as, r, args[r-RID_R0]); |
@@ -1407,7 +1407,7 @@ static void asm_hiop(ASMState *as, IRIns *ir) | |||
1407 | case IR_CALLS: | 1407 | case IR_CALLS: |
1408 | case IR_CALLXS: | 1408 | case IR_CALLXS: |
1409 | if (!uselo) | 1409 | if (!uselo) |
1410 | ra_allocref(as, ir->op1, RID2RSET(RID_RET)); /* Mark lo op as used. */ | 1410 | ra_allocref(as, ir->op1, RID2RSET(RID_RETLO)); /* Mark lo op as used. */ |
1411 | break; | 1411 | break; |
1412 | case IR_ASTORE: case IR_HSTORE: case IR_USTORE: | 1412 | case IR_ASTORE: case IR_HSTORE: case IR_USTORE: |
1413 | case IR_TOSTR: case IR_CNEWI: | 1413 | case IR_TOSTR: case IR_CNEWI: |