mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-12 05:06:03 +02:00
* return float values in fpu registers only in non emulation mode
git-svn-id: trunk@5429 -
This commit is contained in:
parent
28c5578976
commit
2b7fb31a9e
@ -208,7 +208,7 @@ unit cpupara;
|
||||
exit;
|
||||
end;
|
||||
{ Return in FPU register? }
|
||||
if p.returndef.typ=floatdef then
|
||||
if not(cs_fp_emulation in current_settings.moduleswitches) and (p.returndef.typ=floatdef) then
|
||||
begin
|
||||
p.funcretloc[side].loc:=LOC_FPUREGISTER;
|
||||
p.funcretloc[side].register:=NR_FPU_RESULT_REG;
|
||||
|
Loading…
Reference in New Issue
Block a user