Browse Source

* don't generate an extra indirection when loading vfp constants

git-svn-id: trunk@22010 -
florian 13 năm trước cách đây
mục cha
commit
19ed835f2b
1 tập tin đã thay đổi với 1 bổ sung3 xóa
  1. 1 3
      compiler/arm/cgcpu.pas

+ 1 - 3
compiler/arm/cgcpu.pas

@@ -933,9 +933,7 @@ unit cgcpu;
            ((op in [A_LDF,A_STF,A_FLDS,A_FLDD,A_FSTS,A_FSTD]) and
             ((ref.offset<-1020) or
              (ref.offset>1020) or
-             ((abs(ref.offset) mod 4)<>0) or
-             { the usual pc relative symbol handling assumes possible offsets of +/- 4095 }
-             assigned(ref.symbol)
+             ((abs(ref.offset) mod 4)<>0)
             )
            ) then
           begin