mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-15 18:29:09 +02:00
Also handle fpu_soft
git-svn-id: trunk@23178 -
This commit is contained in:
parent
080034982f
commit
2a610e74b7
@ -46,7 +46,7 @@ implementation
|
|||||||
cgbase,pass_1,pass_2,procinfo,
|
cgbase,pass_1,pass_2,procinfo,
|
||||||
ncon,ncal,
|
ncon,ncal,
|
||||||
ncgutil,
|
ncgutil,
|
||||||
cpubase,aasmcpu,
|
cpubase,cpuinfo,aasmcpu,
|
||||||
rgobj,tgobj,cgobj,hlcgobj,cgutils,globtype,cgcpu;
|
rgobj,tgobj,cgobj,hlcgobj,cgutils,globtype,cgcpu;
|
||||||
|
|
||||||
|
|
||||||
@ -61,7 +61,8 @@ implementation
|
|||||||
{ In case we are in emulation mode, we must
|
{ In case we are in emulation mode, we must
|
||||||
always call the helpers
|
always call the helpers
|
||||||
}
|
}
|
||||||
if (cs_fp_emulation in current_settings.moduleswitches) then
|
if (cs_fp_emulation in current_settings.moduleswitches)
|
||||||
|
or (current_settings.fputype=fpu_soft) then
|
||||||
begin
|
begin
|
||||||
result := inherited first_int_to_real;
|
result := inherited first_int_to_real;
|
||||||
exit;
|
exit;
|
||||||
|
Loading…
Reference in New Issue
Block a user