Browse Source

* Fix mul opsize

git-svn-id: trunk@8131 -
daniel 18 years ago
parent
commit
5add416dab
1 changed files with 2 additions and 2 deletions
  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). }
       { Also allocate RDX, since it is also modified by a mul (JM). }
       cg.getcpuregister(current_asmdata.CurrAsmList,NR_RDX);
       cg.getcpuregister(current_asmdata.CurrAsmList,NR_RDX);
       if use_ref then
       if use_ref then
-        emit_ref(A_MUL,S_L,ref)
+        emit_ref(A_MUL,S_Q,ref)
       else
       else
-        emit_reg(A_MUL,S_L,reg);
+        emit_reg(A_MUL,S_Q,reg);
       if cs_check_overflow in current_settings.localswitches  then
       if cs_check_overflow in current_settings.localswitches  then
        begin
        begin
          current_asmdata.getjumplabel(hl4);
          current_asmdata.getjumplabel(hl4);