Explorar o código

* patch by J. Gareth Moreton: improve MovAndTest2Test optimization, resolves #39156

git-svn-id: trunk@49580 -
florian %!s(int64=4) %!d(string=hai) anos
pai
achega
ea47cb313d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      compiler/x86/aoptx86.pas

+ 1 - 1
compiler/x86/aoptx86.pas

@@ -2239,7 +2239,7 @@ unit aoptx86;
                   MatchOperand(taicpu(hp1).oper[1]^,taicpu(hp2).oper[1]^) and
                   MatchOperand(taicpu(hp2).oper[0]^,taicpu(hp2).oper[1]^) and
                   GetNextInstruction(hp2,hp3) and
-                  MatchInstruction(hp3,A_Jcc,A_Setcc,[S_NO]) and
+                  MatchInstruction(hp3,A_Jcc,A_Setcc,[]) and
                   (taicpu(hp3).condition in [C_E,C_NE]) then
                   begin
                     TransferUsedRegs(TmpUsedRegs);