* x86-64: removed some fwait instructions from fpc_frac_real, they shouldn't be necessary

git-svn-id: trunk@49626 -
This commit is contained in:
florian 2021-07-21 20:41:31 +00:00
parent ade1bad057
commit fafee8b85b

View File

@ -292,19 +292,17 @@ const
oldcw,newcw: word;
asm
fnstcw oldcw
fwait
movw oldcw,%cx
orw $0x0c3f,%cx
movw %cx,newcw
fldcw newcw
fwait
fldt d
frndint
fldt d
fsub %st(1),%st
fstp %st(1)
fnclex
fldcw oldcw
fwait
end;
{$endif FPC_SYSTEM_HAS_FRAC}