Pārlūkot izejas kodu

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

git-svn-id: trunk@11244 -

Jonas Maebe 17 gadi atpakaļ
vecāks
revīzija
65aa64d4ed
2 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  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;