소스 검색

* 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}