Browse Source

--- Merging r21509 into '.':
U compiler/arm/aasmcpu.pas

# revisions: 21509
r21509 | florian | 2012-06-06 21:44:53 +0200 (Wed, 06 Jun 2012) | 5 lines
Changed paths:
M /trunk/compiler/arm/aasmcpu.pas

* patch by Nico Erfurth: Handle BIC properly in taicpu.spilling_get_operation_type
BIC was handled as a read only operation, which caused it to overwrite
live register content sometimes.

git-svn-id: branches/fixes_2_6@22522 -

marco 13 years ago
parent
commit
a0f959be2a
1 changed files with 2 additions and 2 deletions
  1. 2 2
      compiler/arm/aasmcpu.pas

+ 2 - 2
compiler/arm/aasmcpu.pas

@@ -642,7 +642,7 @@ implementation
     function taicpu.spilling_get_operation_type(opnr: longint): topertype;
       begin
         case opcode of
-          A_ADC,A_ADD,A_AND,
+          A_ADC,A_ADD,A_AND,A_BIC,
           A_EOR,A_CLZ,
           A_LDR,A_LDRB,A_LDRBT,A_LDRH,A_LDRSB,
           A_LDRSH,A_LDRT,
@@ -671,7 +671,7 @@ implementation
               result:=operand_write
             else
               result:=operand_read;
-          A_BIC,A_BKPT,A_B,A_BL,A_BLX,A_BX,
+          A_BKPT,A_B,A_BL,A_BLX,A_BX,
           A_CMN,A_CMP,A_TEQ,A_TST,
           A_CMF,A_CMFE,A_WFS,A_CNF,
           A_FCMPS,A_FCMPD,A_FCMPES,A_FCMPED,A_FCMPEZS,A_FCMPEZD,