* reset fpu after sse detection

git-svn-id: trunk@2626 -
This commit is contained in:
florian 2006-02-19 13:54:10 +00:00
parent 99cbf815eb
commit 0a21ae4b05

View File

@ -957,6 +957,11 @@ procedure fpc_cpucodeinit;
sse_check:=false;
has_sse_support:=sse_support;
has_mmx_support:=mmx_support;
{ reset FPU }
asm
fninit
fldcw fpucw
end;
setup_fastmove;
end;