Sfoglia il codice sorgente

* take care of limited offsets of stf/ldf, resolves issue #23620

git-svn-id: trunk@31572 -
florian 10 anni fa
parent
commit
4d349c9c71
1 ha cambiato i file con 3 aggiunte e 1 eliminazioni
  1. 3 1
      compiler/arm/aasmcpu.pas

+ 3 - 1
compiler/arm/aasmcpu.pas

@@ -920,7 +920,9 @@ implementation
                (tai(hp).typ=ait_instruction) and
                ((taicpu(hp).opcode=A_FLDS) or
                 (taicpu(hp).opcode=A_FLDD) or
-                (taicpu(hp).opcode=A_VLDR)) then
+                (taicpu(hp).opcode=A_VLDR) or
+                (taicpu(hp).opcode=A_LDF) or
+                (taicpu(hp).opcode=A_STF)) then
               limit:=254;
         end;