Search found 16774 matches

by bob
Sun Sep 15, 2019 4:20 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Crafty 25.3 MSVS 2019
Replies: 25
Views: 1210

Re: Crafty 25.3 MSVS 2019

Mike:

Still working on this. Send me the email you are using and I will send the source code once I finish this cleanup...
by bob
Sat Sep 14, 2019 6:04 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Crafty 25.3 MSVS 2019
Replies: 25
Views: 1210

Re: Crafty 25.3 MSVS 2019

For MSVC (_MSC_VER defined) you want: _BitScanForward64, _BitScanReverse64 for LSB, MSB: https://docs.microsoft.com/en-us/cpp/intrinsics/bitscanforward-bitscanforward64?view=vs-2019 Those seem to be ugly, returning the result through a pointer passed as an argument. Not so good for me as ALL of my ...
by bob
Thu Sep 12, 2019 4:40 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Back To The Beginning
Replies: 31
Views: 1437

Re: Back To The Beginning

most know I am a long-time assembly language user on dozens of architectures. The biggest gains I found in asm programming, thinking about the x86 stuff came from (1) accessing low-level hardware such as BSF/BSR before compiler intrinsics existed. (2) knowing more about the program's execution envir...
by bob
Thu Sep 12, 2019 4:24 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Back To The Beginning
Replies: 31
Views: 1437

Re: Back To The Beginning

thought I would reply out of interest. On my 2 year old MacBook, 2.2ghz i7 circa 2017 I see this number for perf 6 from start position: White(1): perft 6 total moves=119060324 time=3.11 White(1): Here's the next one: White(1): perft 7 total moves=3195901860 time=82.65 My perft was never optimized f...
by bob
Thu Sep 12, 2019 4:06 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Crafty 25.3 MSVS 2019
Replies: 25
Views: 1210

Re: Crafty 25.3 MSVS 2019

Thanks. Have made the changes and sent to Joshua to confirm under microsoft compiler.
by bob
Thu Sep 12, 2019 3:02 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Crafty 25.3 MSVS 2019
Replies: 25
Views: 1210

Re: Crafty 25.3 MSVS 2019

while Joshua and I try to get 25.3 cleaned up for windows, here is a windows question. In gcc (linux / macos) or clang (macOS) we have three bit manipulation intrinsics: # define PopCnt(v) __builtin_popcountll(v) # define LSB(v) __builtin_ctzll(v) # define MSB(v) (63 - __builtin_clzll(v)) For window...
by bob
Wed Sep 11, 2019 7:21 pm
Forum: Computer Chess Club: General Topics
Topic: Father versus Deepblue in the ocean. September 04/2019.. Open letter to Garry Kasparov
Replies: 24
Views: 1095

Re: Father versus Deepblue in the ocean. September 04/2019.. Open letter to Garry Kasparov

September 04, 2019 Open letter to Garry Kasparov. Deep blue was a part of a crucial moment in the history of mankind. The great and great Gary Kasparov faced the power of the machine and economic corporations. The role played by the world champion was extraordinary. Today I wonder if the valuation ...
by bob
Wed Sep 11, 2019 3:39 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Back To The Beginning
Replies: 31
Views: 1437

Re: Back To The Beginning

thought I would reply out of interest. On my 2 year old MacBook, 2.2ghz i7 circa 2017 I see this number for perf 6 from start position: White(1): perft 6 total moves=119060324 time=3.11 White(1): Here's the next one: White(1): perft 7 total moves=3195901860 time=82.65 My perft was never optimized fo...
by bob
Tue Sep 10, 2019 9:48 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Crafty 25.3 MSVS 2019
Replies: 25
Views: 1210

Re: Crafty 25.3 MSVS 2019

It looks like that typedef is backward. IE typedef bool uint8_t; was probably intended. No idea since I didn't write that code...

let me know how you want me to send the source and I'll send you a .zip to try...
by bob
Tue Sep 10, 2019 4:08 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Crafty 25.3 MSVS 2019
Replies: 25
Views: 1210

Re: Crafty 25.3 MSVS 2019

OK, a few notes. (1) the stdatomic.h error requires the definition of _cplusplus which I assume is a windows thing. Note that this changed since I went to the new syzygy support code that Ronald pointed me to. If that is defined, then it includes atomic.h which I assume (again) is a windows thing......