mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-20 19:29:26 +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;
|
||||
asm
|
||||
push bp
|
||||
mov bp, sp
|
||||
push ax
|
||||
fnstcw [bp - 2]
|
||||
pop ax
|
||||
mov sp, bp
|
||||
pop bp
|
||||
push ax
|
||||
mov bx, sp
|
||||
fnstcw word ptr ss:[bx]
|
||||
pop ax
|
||||
end;
|
||||
|
||||
{****************************************************************************
|
||||
|
Loading…
Reference in New Issue
Block a user