Browse Source

* call SysResetFPU and SysInitFPU in InitThread for the time being

florian 6 months ago
parent
commit
28a9a44894
1 changed files with 2 additions and 0 deletions
  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}