Skip to content

Commit

Permalink
Merge pull request LuaJIT#85 from sindrom91/mul-fix
Browse files Browse the repository at this point in the history
Fix integer multiplication without guard.
  • Loading branch information
cbaylis authored Sep 1, 2016
2 parents a575c1c + ce289ef commit 263a49a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lj_asm_arm64.h
Original file line number Diff line number Diff line change
Expand Up @@ -1222,7 +1222,7 @@ static void asm_intmul(ASMState *as, IRIns *ir)
emit_dn(as, A64I_ASRx|A64F_IR(32), RID_TMP, dest);
emit_dnm(as, A64I_SMULL, dest, right, left);
} else {
emit_nm(as, A64I_MULx, dest, left);
emit_dnm(as, A64I_MULx, dest, left, right);
}
}

Expand Down

0 comments on commit 263a49a

Please sign in to comment.