瀏覽代碼

* i8086 has no cpu_capabilites

git-svn-id: trunk@26791 -
florian 11 年之前
父節點
當前提交
1882ab8d5a
共有 1 個文件被更改,包括 6 次插入1 次删除
  1. 6 1
      compiler/x86/nx86inl.pas

+ 6 - 1
compiler/x86/nx86inl.pas

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