Browse Source

* x86_64: do not use copy_mm in g_concatcopy for 8 byte sized copies

florian 3 years ago
parent
commit
ee3b5f5a62
1 changed files with 1 additions and 1 deletions
  1. 1 1
      compiler/x86/cgx86.pas

+ 1 - 1
compiler/x86/cgx86.pas

@@ -2831,7 +2831,7 @@ unit cgx86;
 {$endif i8086}
 {$endif i8086}
       if (cs_mmx in current_settings.localswitches) and
       if (cs_mmx in current_settings.localswitches) and
          not(pi_uses_fpu in current_procinfo.flags) and
          not(pi_uses_fpu in current_procinfo.flags) and
-         ((len=8) or (len=16) or (len=24) or (len=32)) then
+         ({$ifdef i386}(len=8) or {$endif i386}(len=16) or (len=24) or (len=32)) then
         cm:=copy_mmx
         cm:=copy_mmx
       else
       else
         if len>helpsize then
         if len>helpsize then