2
0
Эх сурвалжийг харах

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

git-svn-id: trunk@15344 -
Jonas Maebe 15 жил өмнө
parent
commit
ffc9e07275

+ 1 - 1
compiler/i386/popt386.pas

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