Forráskód Böngészése

* call SysResetFPU and SysInitFPU in InitThread for the time being

florian 8 hónapja
szülő
commit
28a9a44894
1 módosított fájl, 2 hozzáadás és 0 törlés
  1. 2 0
      rtl/inc/thread.inc

+ 2 - 0
rtl/inc/thread.inc

@@ -35,6 +35,8 @@ Var
     procedure InitThread(stklen:SizeUInt);
       begin
 {$ifndef FPUNONE}
+        SysInitFPU;
+        { the call to SysResetFPU should not be needed here, but SysInitFPU is not properly implemented for all CPUs yet }
         SysResetFPU;
 {$endif}
 {$ifndef HAS_MEMORYMANAGER}