Pārlūkot izejas kodu

m68k: include CMPI in the CMP to TST optimization

git-svn-id: trunk@32842 -
Károly Balogh 9 gadi atpakaļ
vecāks
revīzija
2b3bd71735
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      compiler/m68k/aoptcpu.pas

+ 1 - 1
compiler/m68k/aoptcpu.pas

@@ -124,7 +124,7 @@ unit aoptcpu;
                     result:=true;
                   end;
               { CMP #0,<ea> equals to TST <ea>, just shorter and TST is more flexible anyway }
-              A_CMP:
+              A_CMP,A_CMPI:
                 if (taicpu(p).oper[0]^.typ = top_const) and
                    (taicpu(p).oper[0]^.val = 0) then
                   begin