* Fixed tcallnode.expectloc for x87 floating-point results

git-svn-id: trunk@19514 -
This commit is contained in:
sergei 2011-10-19 11:42:02 +00:00
parent f4023ef49e
commit 964eb8772a

View File

@ -1836,7 +1836,8 @@ implementation
realresdef:=tstoreddef(typedef);
if realresdef.is_intregable then
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
result:=LOC_MMREGISTER
else