فهرست منبع

Only try to use softfpu functions when fputype is fpu_soft

git-svn-id: trunk@45751 -
pierre 5 سال پیش
والد
کامیت
96ac7f29f7
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      compiler/arm/narmcnv.pas

+ 2 - 2
compiler/arm/narmcnv.pas

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