1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-04-30 08:43:09 +00:00
BadFish/src
Marco Costalba 6560e4cc5b Be clear about not LMR the ttMove
Currently a ttMove is reduced with ss->reduction = DEPTH_ZERO,
so it is actually not reduced (as it should be), but the
trick works just becuase it happens that ttMove is the first
to be tried and

reduction(depth, 1)

Always returns zero. So explicitly forbid reduction of ttMove
in the LMR condition. This is much clear and self-documented.

No functional change.
2013-02-03 11:14:21 +01:00
..
benchmark.cpp Big renaming in thread stuff 2013-01-16 20:00:05 +01:00
bitbase.cpp Don't push on the stack 200KB in one go 2012-09-30 11:35:14 +02:00
bitboard.cpp Use self-describing constants instead of numbers 2012-10-21 11:16:21 +02:00
bitboard.h Micro-optimize pop_lsb() for 64bit case 2012-11-02 12:11:49 +01:00
bitcount.h Fix POPCNT support on mingw 64 2012-10-06 13:01:44 +02:00
book.cpp Have fun with union in book.cpp 2013-01-06 12:06:19 +01:00
book.h Have fun with union in book.cpp 2013-01-06 12:06:19 +01:00
endgame.cpp Retire Position::in_check() 2012-12-25 17:59:35 +01:00
endgame.h Have fun with union in book.cpp 2013-01-06 12:06:19 +01:00
evaluate.cpp Revert "Simplify Evaluation" 2013-02-02 06:44:04 +01:00
evaluate.h Revert evaluation cache 2012-12-27 13:57:17 +01:00
main.cpp Terminate threads before to exit main() 2012-08-29 19:11:44 +02:00
Makefile Fix an idiotic icc warning 2013-01-20 17:36:24 +01:00
material.cpp Introduce namespace Material 2012-12-16 12:58:39 +01:00
material.h Introduce namespace Material 2012-12-16 12:58:39 +01:00
misc.cpp Rearrange prefetch code 2012-10-08 11:43:47 +02:00
misc.h Get rid of struct Time 2012-09-04 09:38:51 +02:00
movegen.cpp Retire generate_king_moves() 2013-01-26 22:43:58 +01:00
movegen.h Fix a couple of extra spaces 2012-12-25 18:48:41 +01:00
movepick.cpp Templetize score_xxx() functions 2013-02-03 10:11:12 +01:00
movepick.h Templetize score_xxx() functions 2013-02-03 10:11:12 +01:00
notation.cpp Clarify SAN disambiguation in case of a pinned piece 2013-01-12 13:21:14 +01:00
notation.h Fix MSVC 2012 64bits warnings 2012-09-14 09:57:13 +02:00
pawns.cpp Introduce namespace Pawns 2012-12-22 11:38:36 +01:00
pawns.h Introduce namespace Pawns 2012-12-22 11:38:36 +01:00
platform.h Fix compatibility with old Windows 95 and 98 2012-10-20 10:48:26 +02:00
position.cpp Revert "Extend full 3 fold detection to PvNodes" 2013-02-02 06:41:05 +01:00
position.h Revert "Extend full 3 fold detection to PvNodes" 2013-02-02 06:41:05 +01:00
psqtab.h Use self-describing constants instead of numbers 2012-10-21 11:16:21 +02:00
rkiss.h Allow to pass a 'seed' to RKISS 2012-12-31 11:59:53 +01:00
search.cpp Be clear about not LMR the ttMove 2013-02-03 11:14:21 +01:00
search.h Handle UCI command "mate in x moves" 2012-12-30 14:43:23 +01:00
thread.cpp Unify History and Gains under a single Stats class 2013-02-02 17:45:09 +01:00
thread.h Clarify slavesMask usage 2013-01-26 14:38:51 +01:00
timeman.cpp Complete the renaming in Search::LimitsType 2012-03-31 09:16:09 +01:00
timeman.h Use UCI names in Search::LimitsType 2012-03-27 14:26:58 +01:00
tt.cpp Revert evaluation cache 2012-12-27 13:57:17 +01:00
tt.h Have fun with union in book.cpp 2013-01-06 12:06:19 +01:00
types.h Teach file_to_char() about upper/lower case 2013-01-04 14:45:04 +01:00
uci.cpp Big renaming in thread stuff 2013-01-16 20:00:05 +01:00
ucioption.cpp Don't use do_sleep flag 2013-01-14 00:02:32 +01:00
ucioption.h Introduce namespace UCI 2012-08-18 12:26:22 +01:00