Browse Source

+ patch by Bernd to add the push/pop mnemonic for arm/thumb-2, resolves #22041

git-svn-id: trunk@21310 -
florian 13 years ago
parent
commit
b2813abec2
4 changed files with 10 additions and 0 deletions
  1. 2 0
      compiler/arm/armatt.inc
  2. 2 0
      compiler/arm/armatts.inc
  3. 4 0
      compiler/arm/armins.dat
  4. 2 0
      compiler/arm/armop.inc

+ 2 - 0
compiler/arm/armatt.inc

@@ -273,6 +273,8 @@
 'asr',
 'lsr',
 'lsl',
+'pop',
+'push',
 'ror',
 'sdiv',
 'udiv',

+ 2 - 0
compiler/arm/armatts.inc

@@ -293,5 +293,7 @@ attsufNONE,
 attsufNONE,
 attsufNONE,
 attsufNONE,
+attsufNONE,
+attsufNONE,
 attsufNONE
 );

+ 4 - 0
compiler/arm/armins.dat

@@ -708,6 +708,10 @@ reg32,reg32,reg32,reg32  \x16\x00\x80\x90		 ARM7
 
 [LSLcc]
 
+[POP]
+
+[PUSH]
+
 [RORcc]
 
 [SDIVcc]

+ 2 - 0
compiler/arm/armop.inc

@@ -273,6 +273,8 @@ A_YIELD,
 A_ASR,
 A_LSR,
 A_LSL,
+A_POP,
+A_PUSH,
 A_ROR,
 A_SDIV,
 A_UDIV,