浏览代码

* only don't perform the complex mul->lea optimizations for the Pentium3

git-svn-id: trunk@15344 -
Jonas Maebe 15 年之前
父节点
当前提交
ffc9e07275
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      compiler/i386/popt386.pas

+ 1 - 1
compiler/i386/popt386.pas

@@ -168,7 +168,7 @@ begin
                     else if
                      ((taicpu(p).ops <= 2) or
                       (taicpu(p).oper[2]^.typ = Top_Reg)) and
-                     (current_settings.optimizecputype < cpu_Pentium2) and
+                     (current_settings.optimizecputype <> cpu_Pentium3) and
                      (taicpu(p).oper[0]^.val <= 12) and
                      not(cs_opt_size in current_settings.optimizerswitches) and
                      (not(GetNextInstruction(p, hp1)) or