mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-04 19:10:18 +02:00
* Get8087CW: Make sure that high bits of result are clear.
git-svn-id: trunk@19465 -
This commit is contained in:
parent
9df8be501a
commit
369725f2c4
@ -51,7 +51,8 @@ FPC_ABSMASK_DOUBLE:
|
|||||||
tmp: word;
|
tmp: word;
|
||||||
asm
|
asm
|
||||||
fnstcw tmp
|
fnstcw tmp
|
||||||
movq tmp,%rax
|
movw tmp,%ax
|
||||||
|
andl $0xffff,%eax { clears bits 32-63 }
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user