Selaa lähdekoodia

* Fix mul opsize

git-svn-id: trunk@8131 -
daniel 18 vuotta sitten
vanhempi
commit
5add416dab
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 2 2
      compiler/x86_64/nx64add.pas

+ 2 - 2
compiler/x86_64/nx64add.pas

@@ -80,9 +80,9 @@ interface
       { Also allocate RDX, since it is also modified by a mul (JM). }
       cg.getcpuregister(current_asmdata.CurrAsmList,NR_RDX);
       if use_ref then
-        emit_ref(A_MUL,S_L,ref)
+        emit_ref(A_MUL,S_Q,ref)
       else
-        emit_reg(A_MUL,S_L,reg);
+        emit_reg(A_MUL,S_Q,reg);
       if cs_check_overflow in current_settings.localswitches  then
        begin
          current_asmdata.getjumplabel(hl4);