Ver código fonte

* look further forward in TX86AsmOptimizer.OptPass1_V_MOVAP

git-svn-id: trunk@43855 -
florian 5 anos atrás
pai
commit
7da6bac960
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      compiler/x86/aoptx86.pas

+ 1 - 1
compiler/x86/aoptx86.pas

@@ -1287,7 +1287,7 @@ unit aoptx86;
                 p:=hp1;
                 result:=true;
               end
-            else if GetNextInstruction(p,hp1) then
+            else if GetNextInstructionUsingReg(p,hp1,taicpu(p).oper[1]^.reg) then
               begin
                 if MatchInstruction(hp1,[taicpu(p).opcode],[S_NO]) and
                   MatchOpType(taicpu(hp1),top_reg,top_reg) and