]> git.sesse.net Git - stockfish/commit - src/movegen.cpp
Merge all move generators
authorbmc4 <bmc4@cin.ufpe.br>
Fri, 2 Apr 2021 12:30:14 +0000 (09:30 -0300)
committerStéphane Nicolet <cassio@free.fr>
Thu, 15 Apr 2021 08:53:51 +0000 (10:53 +0200)
commit79bb28281ce5e9b40b2662915a96e9072ddad82e
tree712d8b919bf97b4484396bb112afda2d38fad4ad
parent3dfda1b28e14d1f3c2422fed5f203e305f58af28
Merge all move generators

Merging `generate<EVASIONS>` and `generate<QUIET_CHECKS>` into `generate_all()`.

STC:
LLR: 2.94 (-2.94,2.94) {-1.00,0.20}
Total: 161800 W: 14585 L: 14624 D: 132591
Ptnml(0-2): 577, 11681, 56451, 11586, 605
https://tests.stockfishchess.org/tests/view/606532732b2df919fd5f026d

LTC:
LLR: 2.98 (-2.94,2.94) {-0.70,0.20}
Total: 188504 W: 6906 L: 6961 D: 174637
Ptnml(0-2): 87, 6272, 81610, 6175, 108
https://tests.stockfishchess.org/tests/view/6065b0772b2df919fd5f02ae

------------

Verified for correctness of `EVASIONS` by running perft:
```
./stockfish b3nch 16 1 6 default perft          (replace 3 by e in b3nch)
Nodes searched  : 71608931810
```

Also tested for correctness on Chess960 with a similar code shown here:
https://github.com/official-stockfish/Stockfish/pull/3418#issuecomment-816630295

```
./stockfish b3nch 16 1 6 fischer.txt perft
Nodes searched  : 506736009395
```

------------

Closes https://github.com/official-stockfish/Stockfish/pull/3418

No functional change
src/movegen.cpp