mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-10 03:28:40 +02:00
+ Add ifdef USE_MIPS_STK2_ASM to disable assmebler code using alterante stack with r23 by default
git-svn-id: trunk@20377 -
This commit is contained in:
parent
eda5511ef9
commit
9576664f20
@ -82,6 +82,7 @@ function Sptr:Pointer;assembler;nostackframe;
|
||||
end;
|
||||
|
||||
|
||||
{$ifdef USE_MIPS_STK2_ASM}
|
||||
{$ifndef FPC_SYSTEM_HAS_MOVE}
|
||||
{$define FPC_SYSTEM_HAS_MOVE}
|
||||
procedure Move(const source;var dest;count:longint);[public, alias: 'FPC_MOVE'];assembler;
|
||||
@ -420,6 +421,7 @@ asm
|
||||
lw $14,-40($23)
|
||||
|
||||
end;
|
||||
{$endif def USE_MIPS_STK2_ASM}
|
||||
|
||||
function InterLockedDecrement (var Target: longint) : longint; assembler; nostackframe;
|
||||
asm
|
||||
|
Loading…
Reference in New Issue
Block a user