mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-15 14:19:28 +02:00
* Properly set FPU control word for wince. It fixes testv8.pp
git-svn-id: trunk@5944 -
This commit is contained in:
parent
34b731b44c
commit
dfab1fbb7b
@ -1781,8 +1781,9 @@ end;
|
||||
initialization
|
||||
StackLength := CheckInitialStkLen(InitialStkLen);
|
||||
StackBottom := StackTop - StackLength;
|
||||
{ Enable FPU exceptions }
|
||||
_controlfp(1, $0008001F);
|
||||
{ Enable FPU exceptions, but disable INEXACT, UNDERFLOW, DENORMAL }
|
||||
{ FPU precision 64 bit, rounding to nearest, affine infinity }
|
||||
_controlfp($000C0003, $030F031F);
|
||||
{ some misc stuff }
|
||||
hprevinst:=0;
|
||||
if not IsLibrary then
|
||||
|
Loading…
Reference in New Issue
Block a user