浏览代码

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

J. Gareth "Curious Kit" Moreton 1 年之前
父节点
当前提交
d0c7838eec
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      compiler/x86/aoptx86.pas

+ 1 - 0
compiler/x86/aoptx86.pas

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