Ver código fonte

m68k: include CMPI in the CMP to TST optimization

git-svn-id: trunk@32842 -
Károly Balogh 9 anos atrás
pai
commit
2b3bd71735
1 arquivos alterados com 1 adições e 1 exclusões
  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