You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem is that -DUSE_BSFQ is used even in 32 bit case, while it should be used only for 64 bit as written in the Makefile:
bsfq = yes/no --- -DUSE_BSFQ --- Use bsfq x86_64 asm-instruction (only with GCC and ICC 64-bit)
If standard make command is used (withouth additional flags) this should not happen because bsfq flag in Makefile is enabled only for 64 bit architectures.
Syed confirmed on the same forum thread that SF compiles just fine and this is a feature request and not a bug report. He was not clear in his first post.
The supposed feature is to introduce platform specific code to support hardware bitscan on 32 bit under MSVC. This is not a feature because sofwtare bitscan is very fast anyhow and we should avoid to introduce unnecessary platform specific code.
Syed Fahad reported in Talkchess that SF does not compile on MSVC 2013 32-bit, because _BitScanForward64 etc. are missing:
http://talkchess.com/forum/viewtopic.php?t=54798
Checking from the MSVC documentation, this intrinsic is not supported in 32-bit mode:
http://msdn.microsoft.com/en-us/library/wfd9z0bb.aspx
The text was updated successfully, but these errors were encountered: