rtl/m68k: Added mathu(h).inc with dummy implementations of SetExceptionMask and GetExceptionMask

git-svn-id: trunk@22729 -
This commit is contained in:
svenbarth 2012-10-18 20:10:48 +00:00
parent 07c3cff61d
commit 6034866050
3 changed files with 52 additions and 0 deletions

2
.gitattributes vendored
View File

@ -7935,6 +7935,8 @@ rtl/m68k/lowmath.inc svneol=native#text/plain
rtl/m68k/m68k.inc svneol=native#text/plain
rtl/m68k/makefile.cpu svneol=native#text/plain
rtl/m68k/math.inc svneol=native#text/plain
rtl/m68k/mathu.inc svneol=native#text/plain
rtl/m68k/mathuh.inc svneol=native#text/plain
rtl/m68k/readme -text
rtl/m68k/set.inc svneol=native#text/plain
rtl/m68k/setjump.inc svneol=native#text/plain

26
rtl/m68k/mathu.inc Normal file
View File

@ -0,0 +1,26 @@
{
This file is part of the Free Pascal run time library.
Copyright (c) 2012 by Sven Barth
member of the Free Pascal development team
See the file COPYING.FPC, included in this distribution,
for details about the copyright.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
**********************************************************************}
{$warning TODO}
function GetExceptionMask: TFPUExceptionMask;
begin
Result := [];
end;
function SetExceptionMask(const Mask: TFPUExceptionMask): TFPUExceptionMask;
begin
{ TODO }
end;

24
rtl/m68k/mathuh.inc Normal file
View File

@ -0,0 +1,24 @@
{
This file is part of the Free Pascal run time library.
Copyright (c) 2012 by Sven Barth
member of the Free Pascal development team
See the file COPYING.FPC, included in this distribution,
for details about the copyright.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
**********************************************************************}
{$warning TODO}
type
TFPUException = (exInvalidOp, exDenormalized, exZeroDivide,
exOverflow, exUnderflow, exPrecision);
TFPUExceptionMask = set of TFPUException;
function GetExceptionMask: TFPUExceptionMask;
function SetExceptionMask(const Mask: TFPUExceptionMask): TFPUExceptionMask;