1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-07-11 19:49:14 +00:00
BadFish/src
Marco Costalba 917944e9c5 Fix an assert in SMP case
SMP case is very tricky and raises an assert in stage_moves():

assert(stage == KILLERS_S1 || stage == QUIETS_1_S1 || stage == QUIETS_2_S1)

So rewrite the code to just return moves[] when we are sure
we are in quiet moves stages.

Also rename stage_moves to quiet_moves to reflect that.

No functional change (but needs testing in SMP case)
2013-11-17 10:24:25 +01:00
..
benchmark.cpp Add more depth/positions to bench 2013-09-29 09:43:10 +02:00
bitbase.cpp Use prefix operators wherever possible 2013-10-05 18:10:43 +02:00
bitboard.cpp Simplify squares_aligned() 2013-11-10 12:05:19 +01:00
bitboard.h Rename squares_aligned() 2013-11-10 17:14:46 +01:00
bitcount.h Use #ifndef instead of #if !defined 2013-07-24 19:49:17 +02:00
book.cpp Fix best move lookup bug 2013-09-27 09:04:24 +02:00
book.h Use #ifndef instead of #if !defined 2013-07-24 19:49:17 +02:00
endgame.cpp Retire mirror() 2013-10-24 20:40:26 +02:00
endgame.h Further smplify pawn endgames 2013-10-23 19:56:35 +02:00
evaluate.cpp Evaluate mobility of pinned pieces exactly 2013-11-10 11:52:38 +01:00
evaluate.h Futility pruning simplification 2013-11-09 10:17:27 +01:00
main.cpp Use a formula for chain membership bonus 2013-10-31 06:13:30 +01:00
Makefile Fix build on Mac OS X 2013-09-28 04:16:16 -07:00
material.cpp Remove RedundantMajor 2013-11-10 09:48:49 +01:00
material.h Use #ifndef instead of #if !defined 2013-07-24 19:49:17 +02:00
misc.cpp Use double everywhere 2013-10-05 18:12:52 +02:00
misc.h Streamline time computation 2013-08-03 18:30:43 +02:00
movegen.cpp Simplify generate<EVASIONS> 2013-11-11 19:53:19 +01:00
movegen.h Use prefix operators wherever possible 2013-10-05 18:10:43 +02:00
movepick.cpp Fix an assert in SMP case 2013-11-17 10:24:25 +01:00
movepick.h Fix an assert in SMP case 2013-11-17 10:24:25 +01:00
notation.cpp Restrict mobility of pinned pieces 2013-11-07 22:26:03 +01:00
notation.h Use #ifndef instead of #if !defined 2013-07-24 19:49:17 +02:00
pawns.cpp Remove opposed flag for doubled pawns 2013-11-10 17:21:59 +01:00
pawns.h Use a formula for chain membership bonus 2013-10-31 06:13:30 +01:00
platform.h Streamline time computation 2013-08-03 18:30:43 +02:00
position.cpp Rename squares_aligned() 2013-11-10 17:14:46 +01:00
position.h Restrict mobility of pinned pieces 2013-11-07 22:26:03 +01:00
psqtab.h Use #ifndef instead of #if !defined 2013-07-24 19:49:17 +02:00
rkiss.h Remove unuseful optimization in RKISS 2013-10-13 03:35:17 -07:00
search.cpp Fix an assert in SMP case 2013-11-17 10:24:25 +01:00
search.h Futility pruning simplification 2013-11-09 10:17:27 +01:00
thread.cpp Set timer to a fixed interval 2013-11-01 08:56:15 +01:00
thread.h Set timer to a fixed interval 2013-11-01 08:56:15 +01:00
timeman.cpp Fix divide by zero bug in late game 2013-10-27 08:03:58 +01:00
timeman.h Use double everywhere 2013-10-05 18:12:52 +02:00
tt.cpp Futility pruning simplification 2013-11-09 10:17:27 +01:00
tt.h Futility pruning simplification 2013-11-09 10:17:27 +01:00
types.h Retire mirror() 2013-10-24 20:40:26 +02:00
uci.cpp Restore development version 2013-08-21 08:41:47 +02:00
ucioption.cpp Increase slowmover and reduce instability 2013-10-08 21:24:21 +02:00
ucioption.h Use #ifndef instead of #if !defined 2013-07-24 19:49:17 +02:00