Explorar o código

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

git-svn-id: trunk@11244 -

Jonas Maebe %!s(int64=17) %!d(string=hai) anos
pai
achega
65aa64d4ed
Modificáronse 2 ficheiros con 2 adicións e 2 borrados
  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;