Selaa lähdekoodia

* popcnt has a separate cpuid flag so we should separate it from sse

git-svn-id: trunk@26789 -
florian 11 vuotta sitten
vanhempi
commit
84f7f5f934
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      compiler/x86/nx86inl.pas

+ 1 - 1
compiler/x86/nx86inl.pas

@@ -234,7 +234,7 @@ implementation
      function tx86inlinenode.first_popcnt: tnode;
        begin
          Result:=nil;
-         if (current_settings.fputype<fpu_sse42)
+         if not(CPUX86_HAS_POPCNT in cpu_capabilities[current_settings.cputype])
 {$ifdef i386}
            or is_64bit(left.resultdef)
 {$endif i386}