Re: E8400 CHESS ENGINE PERMANENT LADDER
Posted: Thu Mar 05, 2020 7:57 pm
Pull request #2569 - Fully specialize Bitboard attacks_bb and attacks_from. This remove un…
Fully specialize Bitboard attacks_bb and attacks_from. This remove unused attacks_bb<KIGHT> and attacks_bb<KING>
template instantiation.
AV 1.0.3470
Filename: SF 200303-8f78-E493.zip
Size: 4.0 MB
https://www.file-up.org/ug7upyco4v3g
OuaisBla commented .
Commit Specialization_attacks_bb (Fully specialize Bitboard attacks_bb and attacks_from. This remove unused
attacks_bb and attacks_bb template instantiation.)
Info Fully specialize Bitboard attacks_bb and attacks_from. This remove unused attacks_bb and attacks_bb
template instantiation.
Submitter OuaisBla
TC 10+0.1
SPRT elo0: -1.50 alpha: 0.05 elo1: 0.50 beta: 0.05 (logistic)
LLR 2.95 [-2.94,2.94] (accepted)
Elo 2.26 [-0.68,5.16] (95%)
LOS 93.5%
Games 19536 [w:19.5%, l:18.8%, d:61.7%]
Link /tests/view/5e5ddf13e42a5c3b3ca2e06f
https://tests.stockfishchess.org/tests/ ... 3b3ca2e06f
To explain a bit more, the attacks_bb and attacks_bb function are instianted by the pos.attack_from and
pos.attack_from method respectively. The base code rely on conditional operation to exclude the calls leaving the
choice to the compiler to exclude it or not in its binary.
The specialized template versions of attack_bb and pos. attack_from don't create the above functions at all and
make the life easier for the compiler to make possibly better inlining decision.
Positive fishtest result and binary size change on my PC.
Base binary size: 558 Ko (572 095 octets)
New binary size: 557 Ko (570 553 octets)
Build using Cygwin and make ARCH=x86-64 COMP=gcc all
@OuaisBla
Fully specialize Bitboard attacks_bb and attacks_from. This remove un…
8f7836a
Details
id 5e5ddf13e42a5c3b3ca2e06f
new_tag Specialization_attacks_bb (Fully specialize Bitboard attacks_bb and attacks_f)
new_signature 4923286
new_options Hash=16
resolved_new 8f7836ac46ae2ff8895d4824f96dc3eeafa5c447
base_tag master (Small cleanups)
base_signature 4923286
base_options
=16
resolved_base c6839a26155c18dbb7700175971fe01c5a67b01c
sprt elo0: -1.50 alpha: 0.05 elo1: 0.50 beta: 0.05 state: accepted (logistic)
num_games 250000
tc 10+0.1
threads 1
book noob_3moves.epd
book_depth 8
Fully specialize Bitboard attacks_bb and attacks_from. This remove un…
…used attacks_bb<KIGHT> and attacks_bb<KING> template instantiation.
Specialization_attacks_bb, P.R.#2569. OuaisBla committed on 20-03-03. 1 parent c6839a2 commit 8f7836a
src code page
https://github.com/OuaisBla/Stockfish/c ... eeafa5c447
MD5 Hash
7D67CF16F11C6F29C4779FE40AE86015 benchmark.cpp
73DB3F8776A21155C03CEC6A722B1258 bitbase.cpp
681A742F40E2ED563C1D576F2740F9AB bitboard.cpp
05B7C6227794DF8487C76395A2116229 bitboard.h
00862519E886829CBD5BA7A25E71F187 endgame.cpp
CD08F0F040ABEA3CA4E5216047BAF3A1 endgame.h
CDADB0D65ED1A2424545BCBFD14FC163 evaluate.cpp
F6518C55759A2210CB8ADF4317DBCCC2 evaluate.h
46E0D929B015AB0CD3E99F41253F6AA6 main.cpp
32D64B05A4B2266609690921A5D4A3C8 Makefile
DABC202C23A8BA875018EA1769912C22 material.cpp
D0252E530091B71DC540A9A8EB3ABD0C material.h
B0AF79E1550BA442300FD8E7991D66E9 misc.cpp
DF04A7C999EF95267CBE1D2FC9EDCCA2 misc.h
E5875D882309E5EC4F71A127A26688FE movegen.cpp
A32B107E1578E6A4D09B656DA5FA2B80 movegen.h
DABE42624D4040760E4ABA2C33F6FA64 movepick.cpp
A792C23A8AACB32E1D430D80853B9FC7 movepick.h
EBC53C6328A95F8DBBBE4202AAE7444E pawns.cpp
078056898F526BECFF74CEF0D4C3F237 pawns.h
F149636932154D8DE3E019BC61C1A71F position.cpp
67597FBA1BFB825A4F72750DEC23ABA0 position.h
919EC74D9AEB8FBF168F0BD79797D60D psqt.cpp
AA038A35E60F4FAF2003506D0332C156 search.cpp
7AB329BE89832A2E2FB9C5C1457EB6EE search.h
D9327278A5685121102AFDEAAE399190 thread.cpp
831613A444BBA36F2C617A00C78A007D thread.h
20B8E29AEA0FB1E24502852210411187 thread_win32_osx.h
FFC62C1AB2D0FCEFCFDE07EFAFA39025 timeman.cpp
FF0EFB49F2C67352CD7153335EEB6A9B timeman.h
166855546FBD0CBF34E6B66BC252D2D4 tt.cpp
C32AB4C85FCF6AE9ABAE27C5785367F4 tt.h
5CCCFE83BEB72483C25C00DAFA732F13 types.h
E3283F1031A878A585D8C094C0612520 uci.cpp
017176566B76B7C7D350C21D80F82EB0 uci.h
2F5458DC35A9AF447F4D6136B5ACA98B ucioption.cpp
MD5 DIGEST
E493A43BB19E9A3CFF7B3EFDAB755479
Fully specialize Bitboard attacks_bb and attacks_from. This remove unused attacks_bb<KIGHT> and attacks_bb<KING>
template instantiation.
AV 1.0.3470
Filename: SF 200303-8f78-E493.zip
Size: 4.0 MB
https://www.file-up.org/ug7upyco4v3g
OuaisBla commented .
Commit Specialization_attacks_bb (Fully specialize Bitboard attacks_bb and attacks_from. This remove unused
attacks_bb and attacks_bb template instantiation.)
Info Fully specialize Bitboard attacks_bb and attacks_from. This remove unused attacks_bb and attacks_bb
template instantiation.
Submitter OuaisBla
TC 10+0.1
SPRT elo0: -1.50 alpha: 0.05 elo1: 0.50 beta: 0.05 (logistic)
LLR 2.95 [-2.94,2.94] (accepted)
Elo 2.26 [-0.68,5.16] (95%)
LOS 93.5%
Games 19536 [w:19.5%, l:18.8%, d:61.7%]
Link /tests/view/5e5ddf13e42a5c3b3ca2e06f
https://tests.stockfishchess.org/tests/ ... 3b3ca2e06f
To explain a bit more, the attacks_bb and attacks_bb function are instianted by the pos.attack_from and
pos.attack_from method respectively. The base code rely on conditional operation to exclude the calls leaving the
choice to the compiler to exclude it or not in its binary.
The specialized template versions of attack_bb and pos. attack_from don't create the above functions at all and
make the life easier for the compiler to make possibly better inlining decision.
Positive fishtest result and binary size change on my PC.
Base binary size: 558 Ko (572 095 octets)
New binary size: 557 Ko (570 553 octets)
Build using Cygwin and make ARCH=x86-64 COMP=gcc all
@OuaisBla
Fully specialize Bitboard attacks_bb and attacks_from. This remove un…
8f7836a
Details
id 5e5ddf13e42a5c3b3ca2e06f
new_tag Specialization_attacks_bb (Fully specialize Bitboard attacks_bb and attacks_f)
new_signature 4923286
new_options Hash=16
resolved_new 8f7836ac46ae2ff8895d4824f96dc3eeafa5c447
base_tag master (Small cleanups)
base_signature 4923286
base_options
=16
resolved_base c6839a26155c18dbb7700175971fe01c5a67b01c
sprt elo0: -1.50 alpha: 0.05 elo1: 0.50 beta: 0.05 state: accepted (logistic)
num_games 250000
tc 10+0.1
threads 1
book noob_3moves.epd
book_depth 8
Fully specialize Bitboard attacks_bb and attacks_from. This remove un…
…used attacks_bb<KIGHT> and attacks_bb<KING> template instantiation.
Specialization_attacks_bb, P.R.#2569. OuaisBla committed on 20-03-03. 1 parent c6839a2 commit 8f7836a
src code page
https://github.com/OuaisBla/Stockfish/c ... eeafa5c447
MD5 Hash
7D67CF16F11C6F29C4779FE40AE86015 benchmark.cpp
73DB3F8776A21155C03CEC6A722B1258 bitbase.cpp
681A742F40E2ED563C1D576F2740F9AB bitboard.cpp
05B7C6227794DF8487C76395A2116229 bitboard.h
00862519E886829CBD5BA7A25E71F187 endgame.cpp
CD08F0F040ABEA3CA4E5216047BAF3A1 endgame.h
CDADB0D65ED1A2424545BCBFD14FC163 evaluate.cpp
F6518C55759A2210CB8ADF4317DBCCC2 evaluate.h
46E0D929B015AB0CD3E99F41253F6AA6 main.cpp
32D64B05A4B2266609690921A5D4A3C8 Makefile
DABC202C23A8BA875018EA1769912C22 material.cpp
D0252E530091B71DC540A9A8EB3ABD0C material.h
B0AF79E1550BA442300FD8E7991D66E9 misc.cpp
DF04A7C999EF95267CBE1D2FC9EDCCA2 misc.h
E5875D882309E5EC4F71A127A26688FE movegen.cpp
A32B107E1578E6A4D09B656DA5FA2B80 movegen.h
DABE42624D4040760E4ABA2C33F6FA64 movepick.cpp
A792C23A8AACB32E1D430D80853B9FC7 movepick.h
EBC53C6328A95F8DBBBE4202AAE7444E pawns.cpp
078056898F526BECFF74CEF0D4C3F237 pawns.h
F149636932154D8DE3E019BC61C1A71F position.cpp
67597FBA1BFB825A4F72750DEC23ABA0 position.h
919EC74D9AEB8FBF168F0BD79797D60D psqt.cpp
AA038A35E60F4FAF2003506D0332C156 search.cpp
7AB329BE89832A2E2FB9C5C1457EB6EE search.h
D9327278A5685121102AFDEAAE399190 thread.cpp
831613A444BBA36F2C617A00C78A007D thread.h
20B8E29AEA0FB1E24502852210411187 thread_win32_osx.h
FFC62C1AB2D0FCEFCFDE07EFAFA39025 timeman.cpp
FF0EFB49F2C67352CD7153335EEB6A9B timeman.h
166855546FBD0CBF34E6B66BC252D2D4 tt.cpp
C32AB4C85FCF6AE9ABAE27C5785367F4 tt.h
5CCCFE83BEB72483C25C00DAFA732F13 types.h
E3283F1031A878A585D8C094C0612520 uci.cpp
017176566B76B7C7D350C21D80F82EB0 uci.h
2F5458DC35A9AF447F4D6136B5ACA98B ucioption.cpp
MD5 DIGEST
E493A43BB19E9A3CFF7B3EFDAB755479