Browse Source

* x86: CheckMovMov2MovMov2 now sets "Force New Iteration" if it optimises

J. Gareth "Curious Kit" Moreton 1 year ago
parent
commit
d0c7838eec
1 changed files with 1 additions and 0 deletions
  1. 1 0
      compiler/x86/aoptx86.pas

+ 1 - 0
compiler/x86/aoptx86.pas

@@ -3028,6 +3028,7 @@ unit aoptx86;
             DebugMsg(SPeepholeOptimization + 'MovMov2MovMov 2',p);
             taicpu(hp1).loadReg(0,taicpu(p).oper[1]^.reg);
             Result := True;
+            Include(OptsToCheck, aoc_ForceNewIteration);
           end;
       end;