Bläddra i källkod

* call SysResetFPU and SysInitFPU in InitThread for the time being

florian 8 månader sedan
förälder
incheckning
28a9a44894
1 ändrade filer med 2 tillägg och 0 borttagningar
  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}