mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-25 00:29:25 +02:00
* Fixed tcallnode.expectloc for x87 floating-point results
git-svn-id: trunk@19514 -
This commit is contained in:
parent
f4023ef49e
commit
964eb8772a
@ -1836,7 +1836,8 @@ implementation
|
|||||||
realresdef:=tstoreddef(typedef);
|
realresdef:=tstoreddef(typedef);
|
||||||
if realresdef.is_intregable then
|
if realresdef.is_intregable then
|
||||||
result:=LOC_REGISTER
|
result:=LOC_REGISTER
|
||||||
else if realresdef.is_fpuregable then
|
else if (realresdef.typ=floatdef) and
|
||||||
|
not(cs_fp_emulation in current_settings.moduleswitches) then
|
||||||
if use_vectorfpu(realresdef) then
|
if use_vectorfpu(realresdef) then
|
||||||
result:=LOC_MMREGISTER
|
result:=LOC_MMREGISTER
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user