mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-27 12:50:30 +02:00
* forgotten commit
git-svn-id: trunk@9334 -
This commit is contained in:
parent
fb8bbd5ff0
commit
d08abbca46
@ -1054,18 +1054,6 @@ end;
|
||||
Math
|
||||
****************************************************************************}
|
||||
|
||||
{$define FPC_SYSTEM_HAS_ABS_LONGINT}
|
||||
function abs(l:longint):longint; assembler;nostackframe;{$ifdef SYSTEMINLINE}inline;{$endif}
|
||||
asm
|
||||
{$ifndef REGCALL}
|
||||
movl l,%eax
|
||||
{$endif}
|
||||
cltd
|
||||
xorl %edx,%eax
|
||||
subl %edx,%eax
|
||||
end;
|
||||
|
||||
|
||||
{$define FPC_SYSTEM_HAS_SQR_LONGINT}
|
||||
function sqr(l:longint):longint;assembler;nostackframe;{$ifdef SYSTEMINLINE}inline;{$endif}
|
||||
asm
|
||||
|
Loading…
Reference in New Issue
Block a user