1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-05-02 01:29:36 +00:00
BadFish/src
Alain SAVARD 6fed8ff22a Small Queen simplification
Moving a few lines from evaluate_threats to evaluate_pieces allows to
a) Remove a condition pos.count<QUEEN>(Them) == 1
b) use precalculated s instead of pos.square(Them)
c) do not check the condition at all in queenless endings

Passed STC
http://tests.stockfishchess.org/tests/view/5752e0410ebc59029919b1f4
LLR: 2.96 (-2.94,2.94) [-3.00,1.00]
Total: 67175 W: 12194 L: 12152 D: 42829

and LTC
http://tests.stockfishchess.org/tests/view/57587b140ebc59029919b2f4
LLR: 2.95 (-2.94,2.94) [-3.00,1.00]
Total: 20276 W: 2774 L: 2653 D: 14849

bench: 7907962
2016-06-10 06:53:07 +02:00
..
syzygy Fix syzygy DTZ bug 2016-06-07 15:06:26 +02:00
benchmark.cpp Fix incorrect draw detection 2016-04-18 00:13:16 +02:00
bitbase.cpp Update AUTHORS and copyright notice 2016-01-02 09:43:51 +00:00
bitboard.cpp Hide global visibility when not needed 2016-04-09 10:42:04 +02:00
bitboard.h Retire __popcnt64 intrinsic 2016-05-05 09:09:07 +02:00
endgame.cpp StateInfo is usually allocated on the stack by search() 2016-04-17 08:29:33 +02:00
endgame.h Update AUTHORS and copyright notice 2016-01-02 09:43:51 +00:00
evaluate.cpp Small Queen simplification 2016-06-10 06:53:07 +02:00
evaluate.h Update AUTHORS and copyright notice 2016-01-02 09:43:51 +00:00
main.cpp Update AUTHORS and copyright notice 2016-01-02 09:43:51 +00:00
Makefile Remove useless -mbmi flag in Makefile 2016-05-01 14:11:28 +02:00
material.cpp Update AUTHORS and copyright notice 2016-01-02 09:43:51 +00:00
material.h Avoid some redundant scaling function calls 2016-06-10 06:43:37 +02:00
misc.cpp Restore development version 2016-01-03 13:52:01 +00:00
misc.h Update AUTHORS and copyright notice 2016-01-02 09:43:51 +00:00
movegen.cpp Remove some pointless micro-optimizations 2016-04-23 02:04:28 +01:00
movegen.h Update AUTHORS and copyright notice 2016-01-02 09:43:51 +00:00
movepick.cpp Merge good and bad quiets 2016-05-10 18:15:16 +02:00
movepick.h Merge good and bad quiets 2016-05-10 18:15:16 +02:00
pawns.cpp Simplify doubled pawn 2016-05-26 12:33:44 +02:00
pawns.h Assorted cleanup of latest commits 2016-03-14 20:42:44 -07:00
position.cpp Teach check_blockers to check also non-king pieces 2016-05-28 14:52:21 +02:00
position.h Teach check_blockers to check also non-king pieces 2016-05-28 14:52:21 +02:00
psqt.cpp Double pawn simplification 2016-05-13 13:01:59 +02:00
search.cpp LMR reduction parameter tweak 2016-06-07 15:15:49 +02:00
search.h Add a second level of follow-up moves 2016-04-17 15:19:20 +01:00
thread.cpp Fix incorrect draw detection 2016-04-18 00:13:16 +02:00
thread.h StateInfo is usually allocated on the stack by search() 2016-04-17 08:29:33 +02:00
thread_win32.h Assorted English grammar changes 2016-01-16 21:34:29 +00:00
timeman.cpp StateInfo is usually allocated on the stack by search() 2016-04-17 08:29:33 +02:00
timeman.h Time management simplification 2016-01-29 00:47:07 +00:00
tt.cpp Update AUTHORS and copyright notice 2016-01-02 09:43:51 +00:00
tt.h Depth margin parameter-tweak in TT-save 2016-01-18 22:04:38 +00:00
types.h Retire __popcnt64 intrinsic 2016-05-05 09:09:07 +02:00
uci.cpp Fix incorrect draw detection 2016-04-18 00:13:16 +02:00
uci.h Update AUTHORS and copyright notice 2016-01-02 09:43:51 +00:00
ucioption.cpp Revert "Remove slowMover" 2016-02-28 13:25:05 +00:00