Browse Source

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

J. Gareth "Curious Kit" Moreton 1 năm trước cách đây
mục cha
commit
d0c7838eec
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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;