mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-07 11:08:02 +02:00
* 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:
parent
ade1bad057
commit
fafee8b85b
@ -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}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user