Преглед изворни кода

Add some missing instructions to spilling_get_operation_type method

git-svn-id: trunk@22760 -
pierre пре 12 година
родитељ
комит
b104d9c9e6
1 измењених фајлова са 7 додато и 1 уклоњено
  1. 7 1
      compiler/m68k/aasmcpu.pas

+ 7 - 1
compiler/m68k/aasmcpu.pas

@@ -514,12 +514,18 @@ type
         case opcode of
           A_MOVE, A_MOVEQ, A_ADD, A_ADDQ, A_ADDX, A_SUB, A_SUBQ, A_SUBX,
           A_AND, A_LSR, A_LSL, A_ASR, A_ASL, A_EOR, A_EORI, A_OR,
-          A_MULS, A_MULU:
+          A_MULS, A_MULU, A_DIVS, A_DIVU, A_DIVSL, A_DIVUL:
             if opnr=1 then begin
               result:=operand_write;
             end else begin
               result:=operand_read;
             end;
+          A_DBRA:
+            if opnr=1 then begin
+              result:=operand_readwrite;
+            end else begin
+              result:=operand_read;
+            end;
           A_TST,A_CMP,A_CMPI:
             result:=operand_read;
           A_CLR, A_SXX: