mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-03 00:10:51 +02:00
* Disable range and overflow checking inside softfpu implementation
git-svn-id: trunk@46682 -
This commit is contained in:
parent
c73c98d995
commit
1e8aa99f81
@ -562,6 +562,17 @@ implementation
|
||||
|
||||
|
||||
{$if not(defined(fpc_softfpu_interface))}
|
||||
|
||||
{$ifdef FPC}
|
||||
{ disable range and overflow checking explicitly }
|
||||
{ This might be more essential for x80 and 128-bit
|
||||
floating point types and could, maybe be
|
||||
restricted to code handle flatx80 and float128 }
|
||||
{$push}
|
||||
{$R-}
|
||||
{$Q-}
|
||||
{$endif FPC}
|
||||
|
||||
(*****************************************************************************)
|
||||
(*----------------------------------------------------------------------------*)
|
||||
(* Primitive arithmetic functions, including multi-word arithmetic, and *)
|
||||
@ -9373,4 +9384,10 @@ end;
|
||||
|
||||
end.
|
||||
|
||||
{$ifdef FPC}
|
||||
{ restore context modified at implmentation start
|
||||
to possibly re-enable range and overflow checking explicitly}
|
||||
{$pop}
|
||||
{$endif FPC}
|
||||
|
||||
{$endif not(defined(fpc_softfpu_interface)) and not(defined(fpc_softfpu_implementation))}
|
||||
|
Loading…
Reference in New Issue
Block a user