* fixed clearing fpscr "exception happened" flags

git-svn-id: trunk@14313 -
This commit is contained in:
Jonas Maebe 2009-12-03 20:21:27 +00:00
parent 3bd7f55f92
commit 36ebb6a980

View File

@ -33,7 +33,8 @@ begin
Else
Res:=207; {coprocessor error}
end;
SigContext^.uc_mcontext^.__fs.__fpscr := SigContext^.uc_mcontext^.__fs.__fpscr and not($1fff);
{ clear "exception happened" flags }
SigContext^.uc_mcontext^.__fs.__fpscr := SigContext^.uc_mcontext^.__fs.__fpscr and not($df);
end;
SIGBUS:
res:=214;