mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-10-25 20:21:38 +02:00
* don't generate an extra indirection when loading vfp constants
git-svn-id: trunk@22010 -
This commit is contained in:
parent
8a684c1f10
commit
19ed835f2b
@ -933,9 +933,7 @@ unit cgcpu;
|
|||||||
((op in [A_LDF,A_STF,A_FLDS,A_FLDD,A_FSTS,A_FSTD]) and
|
((op in [A_LDF,A_STF,A_FLDS,A_FLDD,A_FSTS,A_FSTD]) and
|
||||||
((ref.offset<-1020) or
|
((ref.offset<-1020) or
|
||||||
(ref.offset>1020) or
|
(ref.offset>1020) or
|
||||||
((abs(ref.offset) mod 4)<>0) or
|
((abs(ref.offset) mod 4)<>0)
|
||||||
{ the usual pc relative symbol handling assumes possible offsets of +/- 4095 }
|
|
||||||
assigned(ref.symbol)
|
|
||||||
)
|
)
|
||||||
) then
|
) then
|
||||||
begin
|
begin
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user