소스 검색

* fixed ClearExceptions (clear pending exceptions instead of all config
bits)

git-svn-id: trunk@11244 -

Jonas Maebe 17 년 전
부모
커밋
65aa64d4ed
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      rtl/powerpc/mathu.inc
  2. 1 1
      rtl/powerpc64/mathu.inc

+ 1 - 1
rtl/powerpc/mathu.inc

@@ -117,6 +117,6 @@ end;
 procedure ClearExceptions(RaisePending: Boolean = true);
 begin
   { RaisePending has no effect on PPC, always raises them at the correct location }
-  setFPSCR(getFPSCR and (not AllConfigBits));
+  setFPSCR(getFPSCR and (not ExceptionsPendingMask));
 end;
 

+ 1 - 1
rtl/powerpc64/mathu.inc

@@ -117,6 +117,6 @@ end;
 procedure ClearExceptions(RaisePending: Boolean = true);
 begin
   { RaisePending has no effect on PPC, always raises them at the correct location }
-  setFPSCR(getFPSCR and (not AllConfigBits));
+  setFPSCR(getFPSCR and (not ExceptionsPendingMask));
 end;