瀏覽代碼

* call SysResetFPU and SysInitFPU in InitThread for the time being

florian 8 月之前
父節點
當前提交
28a9a44894
共有 1 個文件被更改,包括 2 次插入0 次删除
  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}