Only try to use softfpu functions when fputype is fpu_soft

git-svn-id: trunk@45751 -
This commit is contained in:
pierre 2020-07-09 22:51:42 +00:00
parent cb41b22fdc
commit 96ac7f29f7

View File

@ -113,7 +113,7 @@ implementation
function tarmtypeconvnode.first_real_to_real: tnode;
begin
if not(FPUARM_HAS_VFP_DOUBLE in fpu_capabilities[current_settings.fputype]) and
if (current_settings.fputype=fpu_soft) and
not (target_info.system in systems_wince) then
begin
case tfloatdef(left.resultdef).floattype of