Search found 16776 matches

by bob
Tue Sep 17, 2019 4:54 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Crafty 25.3 MSVS 2019
Replies: 29
Views: 1526

Re: Crafty 25.3 MSVS 2019

That's the big question. :) I'm not a windows user, and I am not doing these compiles. Can you give me any hints to pass on to Joshua as to what exactly is needed to indicate "this is a 64 bit application"???
by bob
Mon Sep 16, 2019 5:22 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Crafty 25.3 MSVS 2019
Replies: 29
Views: 1526

Re: Crafty 25.3 MSVS 2019

OK, we are still mucking around with this. Joshua is compiling using the latest MSVC stuff. Here's our problem (I don't have a windows box to try this on so am getting compile help.) We can access __popcnt() with no problems including intrin.h. but we can NOT access __popcnt64(). Apparently the comp...
by bob
Sun Sep 15, 2019 4:20 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Crafty 25.3 MSVS 2019
Replies: 29
Views: 1526

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: 29
Views: 1526

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: 1573

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: 1573

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: 29
Views: 1526

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: 29
Views: 1526

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: 1170

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: 1573

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...