Browse Source

* check for stup instead of stp

git-svn-id: trunk@44722 -
florian 5 years ago
parent
commit
c4b66c89f7
1 changed files with 2 additions and 2 deletions
  1. 2 2
      compiler/aarch64/cgcpu.pas

+ 2 - 2
compiler/aarch64/cgcpu.pas

@@ -689,8 +689,8 @@ implementation
           begin
           begin
             href:=ref;
             href:=ref;
             inc(href.offset,tcgsize2size[size]-1);
             inc(href.offset,tcgsize2size[size]-1);
-            if (tcgsize2size[size]>1) and (ref.alignment=1) and (simple_ref_type(A_STP,OS_8,PF_None,ref)=sr_simple) and
-              (simple_ref_type(A_STP,OS_8,PF_None,href)=sr_simple) then
+            if (tcgsize2size[size]>1) and (ref.alignment=1) and (simple_ref_type(A_STUR,OS_8,PF_None,ref)=sr_simple) and
+              (simple_ref_type(A_STUR,OS_8,PF_None,href)=sr_simple) then
               begin
               begin
                 href:=ref;
                 href:=ref;
                 for i:=0 to tcgsize2size[size]-1 do
                 for i:=0 to tcgsize2size[size]-1 do