Browse Source

+ Add ifdef USE_MIPS_STK2_ASM to disable assmebler code using alterante stack with r23 by default

git-svn-id: trunk@20377 -
pierre 13 years ago
parent
commit
9576664f20
1 changed files with 2 additions and 0 deletions
  1. 2 0
      rtl/mips/mips.inc

+ 2 - 0
rtl/mips/mips.inc

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