mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-21 02:32:51 +02:00
LOC_FPUREGISTER is not used for func_getretloc ig using fpu_soft
git-svn-id: trunk@23175 -
This commit is contained in:
parent
76ba2ea6c7
commit
548a687a17
@ -197,7 +197,8 @@ unit cpupara;
|
||||
|
||||
paraloc:=result.add_location;
|
||||
{ Return in FPU register? }
|
||||
if not(cs_fp_emulation in current_settings.moduleswitches) and (result.def.typ=floatdef) then
|
||||
if not (cs_fp_emulation in current_settings.moduleswitches) and
|
||||
not (current_settings.fputype=fpu_soft) and (result.def.typ=floatdef) then
|
||||
begin
|
||||
paraloc^.loc:=LOC_FPUREGISTER;
|
||||
paraloc^.register:=NR_FPU_RESULT_REG;
|
||||
|
Loading…
Reference in New Issue
Block a user