Browse Source

* using ymm registers for copying data is always useful, regardless of alignment

git-svn-id: trunk@47313 -
florian 4 years ago
parent
commit
37e934ffbd
1 changed files with 1 additions and 1 deletions
  1. 1 1
      compiler/x86/cgx86.pas

+ 1 - 1
compiler/x86/cgx86.pas

@@ -2952,7 +2952,7 @@ unit cgx86;
         copy_avx:
         copy_avx:
           begin
           begin
             hlist:=TAsmList.create;
             hlist:=TAsmList.create;
-            while (len>=32) and (srcref.alignment>=32) and (dstref.alignment>=32) do
+            while len>=32 do
               begin
               begin
                 r0:=getmmregister(list,OS_M256);
                 r0:=getmmregister(list,OS_M256);
                 a_loadmm_ref_reg(list,OS_M256,OS_M256,srcref,r0,nil);
                 a_loadmm_ref_reg(list,OS_M256,OS_M256,srcref,r0,nil);