Browse Source

* do not generate prefetchnt instructions on the i8086

git-svn-id: branches/i8086@24003 -
nickysn 12 years ago
parent
commit
8d75441b6e
1 changed files with 2 additions and 2 deletions
  1. 2 2
      compiler/x86/nx86inl.pas

+ 2 - 2
compiler/x86/nx86inl.pas

@@ -413,9 +413,9 @@ implementation
          ref : treference;
          ref : treference;
          r : tregister;
          r : tregister;
        begin
        begin
-{$ifdef i386}
+{$if defined(i386) or defined(i8086)}
          if current_settings.cputype>=cpu_Pentium3 then
          if current_settings.cputype>=cpu_Pentium3 then
-{$endif i386}
+{$endif i386 or i8086}
            begin
            begin
              secondpass(left);
              secondpass(left);
              case left.location.loc of
              case left.location.loc of