+ 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:
pierre 2012-02-19 19:00:21 +00:00
parent eda5511ef9
commit 9576664f20

View File

@ -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