From 082c81a1913555a2c867ae9d20a547e3187fef95 Mon Sep 17 00:00:00 2001 From: Jonas Maebe Date: Sun, 10 Aug 2014 19:40:03 +0000 Subject: [PATCH] * for now disable internal bsr/bsf for LLVM (can be implemented later based on llvm.ctlz/cttz intrinsics) git-svn-id: branches/hlcgllvm@28366 - --- compiler/options.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/options.pas b/compiler/options.pas index a183366d98..258695620e 100644 --- a/compiler/options.pas +++ b/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}