aboutsummaryrefslogtreecommitdiff
path: root/src/lj_asm.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lj_asm.c')
-rw-r--r--src/lj_asm.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lj_asm.c b/src/lj_asm.c
index f808dd4a..889ab668 100644
--- a/src/lj_asm.c
+++ b/src/lj_asm.c
@@ -3992,6 +3992,8 @@ static void asm_ir(ASMState *as, IRIns *ir)
3992 /* Miscellaneous ops. */ 3992 /* Miscellaneous ops. */
3993 case IR_LOOP: asm_loop(as); break; 3993 case IR_LOOP: asm_loop(as); break;
3994 case IR_NOP: case IR_XBAR: lua_assert(!ra_used(ir)); break; 3994 case IR_NOP: case IR_XBAR: lua_assert(!ra_used(ir)); break;
3995 case IR_USE:
3996 ra_alloc1(as, ir->op1, irt_isfp(ir->t) ? RSET_FPR : RSET_GPR); break;
3995 case IR_PHI: asm_phi(as, ir); break; 3997 case IR_PHI: asm_phi(as, ir); break;
3996 case IR_HIOP: asm_hiop(as, ir); break; 3998 case IR_HIOP: asm_hiop(as, ir); break;
3997 3999
@@ -4077,6 +4079,7 @@ static void asm_ir(ASMState *as, IRIns *ir)
4077 /* Overflow-checking arithmetic ops. Note: don't use LEA here! */ 4079 /* Overflow-checking arithmetic ops. Note: don't use LEA here! */
4078 case IR_ADDOV: asm_intarith(as, ir, XOg_ADD); break; 4080 case IR_ADDOV: asm_intarith(as, ir, XOg_ADD); break;
4079 case IR_SUBOV: asm_intarith(as, ir, XOg_SUB); break; 4081 case IR_SUBOV: asm_intarith(as, ir, XOg_SUB); break;
4082 case IR_MULOV: asm_intarith(as, ir, XOg_X_IMUL); break;
4080 4083
4081 /* Memory references. */ 4084 /* Memory references. */
4082 case IR_AREF: asm_aref(as, ir); break; 4085 case IR_AREF: asm_aref(as, ir); break;