Browse Source

* ifdef cmov optimization, as i8086 has no cpu_capabilities

git-svn-id: trunk@36150 -
florian 8 years ago
parent
commit
74b338266d
1 changed files with 2 additions and 0 deletions
  1. 2 0
      compiler/x86/aoptx86.pas

+ 2 - 0
compiler/x86/aoptx86.pas

@@ -1485,6 +1485,7 @@ unit aoptx86;
                   end;
                   end;
               end;
               end;
           end;
           end;
+{$ifndef i8086}
         if CPUX86_HAS_CMOV in cpu_capabilities[current_settings.cputype] then
         if CPUX86_HAS_CMOV in cpu_capabilities[current_settings.cputype] then
           begin
           begin
              { check for
              { check for
@@ -1615,6 +1616,7 @@ unit aoptx86;
                     end;
                     end;
                end;
                end;
           end;
           end;
+{$endif i8086}
       end;
       end;