mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-12 14:29:14 +02:00
* optimized the i8086 version of Get8087CW
git-svn-id: trunk@27221 -
This commit is contained in:
parent
62f8792cb5
commit
47aed8b01f
@ -33,13 +33,10 @@
|
|||||||
|
|
||||||
function Get8087CW:word;assembler;
|
function Get8087CW:word;assembler;
|
||||||
asm
|
asm
|
||||||
push bp
|
|
||||||
mov bp, sp
|
|
||||||
push ax
|
push ax
|
||||||
fnstcw [bp - 2]
|
mov bx, sp
|
||||||
|
fnstcw word ptr ss:[bx]
|
||||||
pop ax
|
pop ax
|
||||||
mov sp, bp
|
|
||||||
pop bp
|
|
||||||
end;
|
end;
|
||||||
|
|
||||||
{****************************************************************************
|
{****************************************************************************
|
||||||
|
Loading…
Reference in New Issue
Block a user