소스 검색

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

git-svn-id: trunk@26789 -
florian 11 년 전
부모
커밋
84f7f5f934
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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}