mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-22 18:17:02 +08:00
Use intrinsic in pop_1st_bit() under MSVC 64 bits
Around 1% speedup when compiled with MSVC 64 No functional change. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
@@ -77,9 +77,8 @@ typedef unsigned __int64 uint64_t;
|
||||
#define IS_64BIT
|
||||
#endif
|
||||
|
||||
// Automatic detection for use of bsfq asm-instruction under Windows.
|
||||
// Works only in 64-bit mode. Does not work with MSVC.
|
||||
#if defined(_WIN64) && defined(__INTEL_COMPILER)
|
||||
// Automatic detection for use of bsfq asm-instruction under Windows
|
||||
#if defined(_WIN64)
|
||||
#define USE_BSFQ
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user