mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-20 07:19:27 +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,
|
||||
ncon,ncal,
|
||||
ncgutil,
|
||||
cpubase,aasmcpu,
|
||||
cpubase,cpuinfo,aasmcpu,
|
||||
rgobj,tgobj,cgobj,hlcgobj,cgutils,globtype,cgcpu;
|
||||
|
||||
|
||||
@ -61,7 +61,8 @@ implementation
|
||||
{ In case we are in emulation mode, we must
|
||||
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
|
||||
result := inherited first_int_to_real;
|
||||
exit;
|
||||
|
Loading…
Reference in New Issue
Block a user