mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-10 02:28:22 +02:00
* reset fpu on win64 as well, certain operations like ln use it
git-svn-id: trunk@6920 -
This commit is contained in:
parent
c127753bb8
commit
605e82489a
@ -595,11 +595,12 @@ const
|
||||
Procedure SysResetFPU;
|
||||
begin
|
||||
asm
|
||||
{$ifndef WIN64}
|
||||
{ Win64 uses the fpu for ln etc. so we've to reset it as well
|
||||
$ifndef WIN64}
|
||||
{ initialize fpu }
|
||||
fninit
|
||||
fwait
|
||||
{$endif WIN64}
|
||||
{ $endif WIN64}
|
||||
{$ifdef FPC_PIC}
|
||||
movq fpucw@GOTPCREL(%rip),%rax
|
||||
fldcw (%rax)
|
||||
|
Loading…
Reference in New Issue
Block a user