Search found 957 matches

by Joost Buijs
Thu Sep 19, 2019 8:24 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Back To The Beginning
Replies: 35
Views: 4060

Re: Back To The Beginning

Besides some small stuff I have 2 big machines, one with i7-5960X and one with i7-6950X, they can both run stable at 4.4GHz., but when I do that the temperature at full load gets rather high (between 75 and 85 deg. C), something I don't like. Above 3.8 GHz. the temperature starts to rise quickly, us...
by Joost Buijs
Wed Sep 18, 2019 3:01 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Basic endgames
Replies: 33
Views: 3389

Re: Basic endgames

Henk wrote:
Wed Sep 18, 2019 1:28 pm
This should be a draw:

[d] 1Q6/8/K7/8/8/8/2pk4/8 w - -
Yes, this is a draw, but without table-bases it is not so easy for an engine to see. The queen can keep on giving checks from many different locations, so it will take quite some time before repetition detection kicks in.
by Joost Buijs
Tue Sep 17, 2019 1:53 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Basic endgames
Replies: 33
Views: 3389

Re: Basic endgames

Henk, Just tried what happens when I disable the hash-table and all other pruning, just plain a-b with 2 killers and history for move-ordering, and in quiescence at depth zero besides captures I generate direct checking moves, nothing else. On a single core with these conditions it takes about 3 min...
by Joost Buijs
Tue Sep 17, 2019 12:47 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Basic endgames
Replies: 33
Views: 3389

Re: Basic endgames

This is not difficult at all. Nightmare on 10 cores needs 12 ply and 11.4 msec to solve this. The IO probably takes the largest part of the time, console IO is rather slow on Windows 10.
by Joost Buijs
Sun Sep 15, 2019 4:34 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Crafty 25.3 MSVS 2019
Replies: 32
Views: 3599

Re: Crafty 25.3 MSVS 2019

You can also use:

_lzcnt_u64() and _tzcnt_u64() which are declared in <intrin.h>

uint64_t _lzcnt_u64 (uint64_t b);
uint64_t _tzcnt_u64 (uint64_t b);
by Joost Buijs
Thu Sep 12, 2019 6:19 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Back To The Beginning
Replies: 35
Views: 4060

Re: Back To The Beginning

Back in 1977 I started working on my first chess engine for the Intel 8080 and 8086, because compilers didn't exist for the Intel architecture there was no other option than to program in assembler. My memory of that time is not so good, but I still remember that my move-generator ran at 15 knps, ro...
by Joost Buijs
Wed Sep 11, 2019 11:36 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Back To The Beginning
Replies: 35
Views: 4060

Re: Back To The Beginning

When I had first written qperft (I was using a Pentium M at the time), I tried to speed it up by using assembler. To not waste time on non-time-ritical code, I started with the assembler output of the C compiler, and 'hand-optimized' the code of the time-critical loops. It turned out I could delete...
by Joost Buijs
Wed Sep 11, 2019 6:20 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Back To The Beginning
Replies: 35
Views: 4060

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 Joost Buijs
Mon Sep 09, 2019 5:09 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Back To The Beginning
Replies: 35
Views: 4060

Re: Back To The Beginning

AFAIK, movegeneration speed is a good chunk of the runtime in modern engines. Atleast in FabChess, it is about 25-30% of the time used, being on par with the evaluation function (IIRC). 25% to 30% of the time used by the move generation is quite a lot. Maybe it depends upon staged move generation o...
by Joost Buijs
Sun Sep 08, 2019 5:03 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Back To The Beginning
Replies: 35
Views: 4060

Re: Back To The Beginning

On my 6950X at 4GHz. I get on average 52 mnps without bulk counting and including updating/downdating hash, pawn-hash, material-hash, material-score and phase. The latest processors from Intel have a 15 to 20% higher IPC and a somewhat higher clock-frequency, so my guess is that I would get between...