mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-09 21:48:35 +02:00
+ Add two new sotfpuu units with x80 or 128 bit support
git-svn-id: trunk@20204 -
This commit is contained in:
parent
f4a9b3d73b
commit
6e81fe6abc
2
.gitattributes
vendored
2
.gitattributes
vendored
@ -7445,6 +7445,8 @@ rtl/inc/readme -text
|
||||
rtl/inc/real2str.inc svneol=native#text/plain
|
||||
rtl/inc/resh.inc svneol=native#text/plain
|
||||
rtl/inc/rtti.inc svneol=native#text/plain
|
||||
rtl/inc/sfpu128.pp svneol=native#text/pascal
|
||||
rtl/inc/sfpux80.pp svneol=native#text/pascal
|
||||
rtl/inc/sockets.inc svneol=native#text/plain
|
||||
rtl/inc/socketsh.inc svneol=native#text/plain
|
||||
rtl/inc/sockovl.inc svneol=native#text/plain
|
||||
|
25
rtl/inc/sfpu128.pp
Normal file
25
rtl/inc/sfpu128.pp
Normal file
@ -0,0 +1,25 @@
|
||||
unit sfpu128;
|
||||
{$mode objfpc}
|
||||
|
||||
{ Overflow checking must be disabled,
|
||||
since some operations expect overflow!
|
||||
}
|
||||
{$Q-}
|
||||
{$goto on}
|
||||
|
||||
|
||||
{ define FPC_SOFTFLOAT_FLOATX80}
|
||||
{$define FPC_SOFTFLOAT_FLOAT128}
|
||||
|
||||
|
||||
{$define fpc_softfpu_interface}
|
||||
interface
|
||||
{$i softfpu.pp}
|
||||
|
||||
{$undef fpc_softfpu_interface}
|
||||
{$define fpc_softfpu_implementation}
|
||||
implementation
|
||||
|
||||
{$i softfpu.pp}
|
||||
|
||||
end.
|
25
rtl/inc/sfpux80.pp
Normal file
25
rtl/inc/sfpux80.pp
Normal file
@ -0,0 +1,25 @@
|
||||
unit sfpux80;
|
||||
{$mode objfpc}
|
||||
|
||||
{ Overflow checking must be disabled,
|
||||
since some operations expect overflow!
|
||||
}
|
||||
{$Q-}
|
||||
{$goto on}
|
||||
|
||||
|
||||
{$define FPC_SOFTFLOAT_FLOATX80}
|
||||
{ $define FPC_SOFTFLOAT_FLOAT128}
|
||||
|
||||
|
||||
{$define fpc_softfpu_interface}
|
||||
interface
|
||||
{$i softfpu.pp}
|
||||
|
||||
{$undef fpc_softfpu_interface}
|
||||
{$define fpc_softfpu_implementation}
|
||||
implementation
|
||||
|
||||
{$i softfpu.pp}
|
||||
|
||||
end.
|
Loading…
Reference in New Issue
Block a user