82179000869e6ce526ec082b07a276618bd62980 — emersion 1 year, 2 months ago cf499df
Asm: fix imul
1 files changed, 2 insertions(+), 1 deletions(-)

M asm.ml
M asm.ml => asm.ml +2 -1
@@ 118,7 118,8 @@ | Spilled n ->
              let tmp = operand (Reg Register.tmp1) in
              emit l (movq (operand opd2) tmp);
-             emit_wl (imulq (operand opd1) tmp)
+             emit_wl (imulq (operand opd1) tmp);
+             emit_wl (movq tmp (operand opd2))
          );
          lin g destl
        | Embinop (Mdiv, opd1, opd2, destl) ->