Browse Source

* for now disable internal bsr/bsf for LLVM (can be implemented later
based on llvm.ctlz/cttz intrinsics)

git-svn-id: branches/hlcgllvm@28366 -

Jonas Maebe 11 years ago
parent
commit
082c81a191
1 changed files with 1 additions and 1 deletions
  1. 1 1
      compiler/options.pas

+ 1 - 1
compiler/options.pas

@@ -3576,7 +3576,7 @@ if (target_info.abi = abi_eabihf) then
 {$endif ARM}
 
 { inline bsf/bsr implementation }
-{$if defined(i386) or defined(x86_64)}
+{$if not defined(llvm) and (defined(i386) or defined(x86_64))}
   def_system_macro('FPC_HAS_INTERNAL_BSF');
   def_system_macro('FPC_HAS_INTERNAL_BSR');
 {$endif}