mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-11 09:10:47 +02:00
* fixed writing of double constants on WinCE
git-svn-id: trunk@5416 -
This commit is contained in:
parent
efee92be40
commit
fbc197f27a
@ -66,7 +66,8 @@ interface
|
||||
location_reset(location,LOC_CREFERENCE,def_cgsize(resultdef));
|
||||
lastlabel:=nil;
|
||||
realait:=floattype2ait[tfloatdef(resultdef).floattype];
|
||||
hiloswapped:=current_settings.fputype in [fpu_fpa,fpu_fpa10,fpu_fpa11];
|
||||
hiloswapped:=(current_settings.fputype in [fpu_fpa,fpu_fpa10,fpu_fpa11]) and
|
||||
not(cs_fp_emulation in current_settings.moduleswitches);;
|
||||
{ const already used ? }
|
||||
if not assigned(lab_real) then
|
||||
begin
|
||||
|
@ -122,7 +122,8 @@ implementation
|
||||
lastlabel:=nil;
|
||||
realait:=floattype2ait[tfloatdef(resultdef).floattype];
|
||||
{$ifdef ARM}
|
||||
hiloswapped:=current_settings.fputype in [fpu_fpa,fpu_fpa10,fpu_fpa11];
|
||||
hiloswapped:=(current_settings.fputype in [fpu_fpa,fpu_fpa10,fpu_fpa11]) and
|
||||
not(cs_fp_emulation in current_settings.moduleswitches);
|
||||
{$endif ARM}
|
||||
{ const already used ? }
|
||||
if not assigned(lab_real) then
|
||||
|
@ -163,7 +163,8 @@ implementation
|
||||
list.concat(Tai_real_32bit.Create(ts32real(value)));
|
||||
s64real :
|
||||
{$ifdef ARM}
|
||||
if current_settings.fputype in [fpu_fpa,fpu_fpa10,fpu_fpa11] then
|
||||
if (current_settings.fputype in [fpu_fpa,fpu_fpa10,fpu_fpa11]) and
|
||||
not(cs_fp_emulation in current_settings.moduleswitches) then
|
||||
list.concat(Tai_real_64bit.Create_hiloswapped(ts64real(value)))
|
||||
else
|
||||
{$endif ARM}
|
||||
|
@ -1482,7 +1482,8 @@ end;
|
||||
s32real : p.concat(Tai_real_32bit.Create(value));
|
||||
s64real :
|
||||
{$ifdef ARM}
|
||||
if current_settings.fputype in [fpu_fpa,fpu_fpa10,fpu_fpa11] then
|
||||
if (current_settings.fputype in [fpu_fpa,fpu_fpa10,fpu_fpa11]) and
|
||||
not(cs_fp_emulation in current_settings.moduleswitches) then
|
||||
p.concat(Tai_real_64bit.Create_hiloswapped(value))
|
||||
else
|
||||
{$endif ARM}
|
||||
|
Loading…
Reference in New Issue
Block a user