Commit Graph

  • 12b0517d1b Fix build under gcc Marco Costalba 2009-10-25 10:22:03 +01:00
  • b38685625a Add threat evaluation Marco Costalba 2009-10-25 08:16:34 +01:00
  • 73da3a431c Micro optimize mobility calculation Marco Costalba 2009-10-23 11:24:53 +01:00
  • b50921fd5c Unify capture and promotion tests Marco Costalba 2009-10-21 11:41:24 +01:00
  • a72c55283d Don't prune TT move in qsearch even if SEE < 0 Marco Costalba 2009-10-20 16:14:57 +01:00
  • cf4df0327a Pick best moves one per cycle instead of sorting Marco Costalba 2009-10-20 11:38:20 +01:00
  • 51c3af9dd0 Avoid a needless locking in sp_search() Marco Costalba 2009-10-19 07:44:06 +01:00
  • f0b0a3b135 Similarize pruning code in search() and sp_search() Joona Kiiski 2009-10-17 08:42:42 +03:00
  • 4dd7fccfd1 Use an homegrown insertion sort instead of std::sort() Marco Costalba 2009-10-15 13:08:39 +02:00
  • c1ea5ed6f7 Do not prune the move if we are still under mate Marco Costalba 2009-10-14 09:18:16 +01:00
  • 53f882ff1a Minor improvement in eval of unstoppable pawns promoting one ply apart. Tord Romstad 2009-10-15 12:39:55 +02:00
  • d8e7ce1863 Fix a crash when reaching PLY_MAX in a check position Marco Costalba 2009-10-12 15:19:29 +01:00
  • 181d34e5a0 Add a new rule on promoting pawns in evaluate_passed_pawns() Marco Costalba 2009-10-12 08:38:21 +02:00
  • 2655f93c32 Fix x-ray attack from behind in evaluate_passed_pawns() Marco Costalba 2009-10-11 18:30:35 +02:00
  • ab4d26f9bd Small cleanup and in evaluate_passed_pawns() Marco Costalba 2009-10-11 11:12:53 +02:00
  • d6b04c2798 Revert "Use std::stable_sort() instead of std::sort()" Marco Costalba 2009-10-11 10:35:41 +02:00
  • e2e249eabd Use std::stable_sort() instead of std::sort() Marco Costalba 2009-10-10 15:29:43 +01:00
  • ed19a9f909 Unroll color loops in evaluate_passed_pawns() Marco Costalba 2009-10-10 10:31:43 +01:00
  • eddfd46a10 Use piece_list to scan the pawns in evaluate_pawns() Marco Costalba 2009-10-10 08:52:34 +02:00
  • a806d7c3d6 Fix pieceList initialization in Position::clear() Marco Costalba 2009-10-10 09:48:02 +01:00
  • ccdb634b77 Unroll color loops in get_pawn_info Marco Costalba 2009-10-09 12:30:43 +01:00
  • 564ed5b38c Small micro-optimization in get_pawn_info() Marco Costalba 2009-10-09 11:29:11 +01:00
  • f05d059b17 Restore pliesFromNull counter Marco Costalba 2009-10-09 10:08:42 +01:00
  • 06a5b602dc Fix an off-by-one bug in extract_pv() Marco Costalba 2009-10-09 10:04:55 +01:00
  • d892063cd3 Rewrite previous patch using only one counter Marco Costalba 2009-10-09 04:35:11 +01:00
  • 64d6ba2e98 Do not claim repetition after null move Marco Costalba 2009-10-07 09:03:17 +01:00
  • 5a5dc6fa10 Restore development version Marco Costalba 2009-10-07 09:21:50 +01:00
  • 8ee0842c81 Stockfish 1.5.1 sf_1.5.1 Marco Costalba 2009-10-07 09:18:45 +01:00
  • e59ff49a55 Fix the polling frequency when pondering Marco Costalba 2009-10-08 09:09:19 +01:00
  • 225dcfeeb7 Use slightly lower polling frequency in the last few seconds. Tord Romstad 2009-10-08 08:55:25 +02:00
  • 8dd01fda12 Minor change to time management code, to make sure we don't lose on time at the last move before the time control when there is very little time left. Tord Romstad 2009-10-07 18:27:00 +02:00
  • 18cd83a380 Display fail high/fail low in search log file. Tord Romstad 2009-10-06 12:51:15 +02:00
  • fd2b3df770 Fix bogus comment in extract_pv() Marco Costalba 2009-10-06 11:15:05 +01:00
  • da948cc94e Fix use of an initialized SearchStack Marco Costalba 2009-10-06 10:10:42 +02:00
  • e49b21eacb Remove a redundant assignment in PawnInfo c'tor Marco Costalba 2009-10-06 09:18:15 +01:00
  • 60bc30275d Small code reformat in TranspositionTable::extract_pv() Marco Costalba 2009-10-05 12:00:35 +01:00
  • 32dfaa56b0 Fixed an embarassing Chess960 bug found by Alexander Schmidt. Tord Romstad 2009-10-05 16:46:18 +02:00
  • 3701a8e57d Restore development version Marco Costalba 2009-10-05 07:15:13 +01:00
  • aaa07fb161 Stockfish 1.5 sf_1.5 Marco Costalba 2009-10-04 07:01:24 +01:00
  • 1361ba75cb Small touches to increased mobility patch Marco Costalba 2009-10-03 13:25:51 +02:00
  • da9c423989 Move a comment where it belongs in SEE Marco Costalba 2009-10-02 08:33:26 +01:00
  • 3713bb26ef Don't increase mobility if attacked piece is defended by a pawn Marco Costalba 2009-09-30 16:04:51 +01:00
  • cff9ff2198 Count two times number of attacked pieces in mobility Marco Costalba 2009-09-28 23:16:08 +02:00
  • a6c6037813 Optimize futilityValue calculation Marco Costalba 2009-09-30 14:38:40 +02:00
  • e677185567 Store pawn attacks in PawnInfo Marco Costalba 2009-09-30 08:07:46 +01:00
  • 237dd331d5 Fixed a couple of typos in a comment. Tord Romstad 2009-09-30 09:53:29 +02:00
  • 98c8a83bb8 Fix a MSVC warning in search.cpp Marco Costalba 2009-09-29 16:48:24 +01:00
  • 73be819426 Temporarily removed the unfinished UCI_Elo code in preparation for the release of the public Stockfish 1.5. Tord Romstad 2009-09-29 13:40:00 +02:00
  • 2940abdac8 Print RootMoveList startup scoring Marco Costalba 2009-09-29 10:14:09 +01:00
  • fa0bffeafa Retire compute_weight() in evaluation.cpp Marco Costalba 2009-09-28 12:27:05 +01:00
  • d56345c9ae Unroll color loops in evaluate Marco Costalba 2009-09-28 10:46:55 +01:00
  • 60e23693f0 Change back file mode of misc.cpp Marco Costalba 2009-09-27 07:58:28 +01:00
  • 91f0c08789 Update piece list iteration also in evaluate_pieces() Marco Costalba 2009-09-26 07:14:12 +02:00
  • 6bf22f354f Retire faked Windows version of gettimeofday() Marco Costalba 2009-09-26 06:25:16 +02:00
  • 48b74142ef Micro optimization of generate_piece_moves() Marco Costalba 2009-09-23 21:45:32 +01:00
  • dcb323bf0d Retire kingSquare[] array Marco Costalba 2009-09-23 17:47:03 +01:00
  • 44cb792c76 Reorder data layout and optimize access patern Marco Costalba 2009-09-23 17:11:29 +01:00
  • e68e135771 Fix a couple of Intel compiler warnings Marco Costalba 2009-09-23 15:06:55 +02:00
  • 46141b078c Fix a piece_of_color_and_type() / pieceS_of_color_and_type() typo Marco Costalba 2009-09-23 14:55:44 +02:00
  • 02fd34a5e8 Rename generate_piece_moves() in generate_piece_evasions() Marco Costalba 2009-09-23 11:29:10 +01:00
  • 20cac227bb Retire generate_pawn_captures() Marco Costalba 2009-09-23 11:18:04 +01:00
  • 4346445be3 Retire generate_pawn_blocking_evasions() Marco Costalba 2009-09-23 10:47:11 +01:00
  • 21850536d5 Standardize generate_pawn_blocking_evasions() Marco Costalba 2009-09-23 09:40:33 +01:00
  • 0179a32cf5 Code style and subtle fix in move_is_legal() Marco Costalba 2009-09-21 18:07:11 +01:00
  • 8487069058 Simplify move legality check for uncommon cases Marco Costalba 2009-09-21 11:54:25 +01:00
  • 43ca5c926d Enable functionality of previous patch Marco Costalba 2009-09-21 10:58:25 +01:00
  • aed542d74c When generating checks add possibly under-promotions Marco Costalba 2009-09-21 10:00:33 +01:00
  • aaffcf973e Fix a bug in generate_piece_checks() Marco Costalba 2009-09-21 08:47:47 +01:00
  • 746bcb348f Small micro optimization in generate_evasions() Marco Costalba 2009-09-21 07:55:26 +01:00
  • a7cb05b1eb Change evaluation GrainSize from 4 to 8 Marco Costalba 2009-09-20 20:13:24 +01:00
  • 9741694fca Save static evaluation also for failed low nodes Marco Costalba 2009-09-18 10:32:57 +02:00
  • e145c0d3e2 Revert evaluation drift Marco Costalba 2009-09-20 19:39:54 +01:00
  • 24cc3a97a4 Evaluation drift: add always 7 instead of ply Marco Costalba 2009-09-19 18:34:42 +02:00
  • e4277c06bf Rename piece_attacks_from() in attacks_from() Marco Costalba 2009-09-20 14:23:46 +01:00
  • dd80b9abaf Remove undefined pinned_pieces(Color c, Bitboard& p) Marco Costalba 2009-09-20 11:00:21 +01:00
  • 84d6fe0f31 Retire attackers_to(Square s, Color c) Marco Costalba 2009-09-20 10:47:59 +01:00
  • 6845397c5c Rename piece_attacks() in piece_attacks_from() Marco Costalba 2009-09-20 10:26:54 +01:00
  • f74f42b298 Cleanup piece_attacks_square() functions Marco Costalba 2009-09-20 09:43:28 +01:00
  • 0e0adfe2e1 Rename attacks_to() in attackers_to() Marco Costalba 2009-09-20 09:31:48 +01:00
  • 049139d025 Change pawn_attacks() API Marco Costalba 2009-09-20 08:59:18 +01:00
  • 62a8f393f1 Clean up API for attack information Marco Costalba 2009-09-20 08:43:25 +01:00
  • c5f44ef45b Move kingSquare[] array to StateInfo Marco Costalba 2009-09-20 07:04:22 +01:00
  • 7c55b0e880 Don't compensate TT for evaluation drift Marco Costalba 2009-09-18 12:12:22 +02:00
  • 77ac1e7953 Use WIN32_LEAN_AND_MEAN in lock.h Marco Costalba 2009-09-15 08:11:42 +01:00
  • cddda7cd19 Make static value saved in TT independent from ply Joona Kiiski 2009-09-16 06:52:10 +03:00
  • c81010a878 Evaluation drift Marco Costalba 2009-09-15 06:47:27 +01:00
  • 6709b01903 Fix semantic of piece_attacks<PAWN> Marco Costalba 2009-09-13 16:13:49 +01:00
  • 3863cd191c Indirectly prefetch board[from] Marco Costalba 2009-09-13 09:02:20 +01:00
  • f205fe1fe5 Retire piece_is_slider(PieceType pt) Marco Costalba 2009-09-02 14:19:51 +02:00
  • 9f28d8a854 Second take at unifying bitboard representation access Marco Costalba 2009-09-02 11:57:38 +02:00
  • 76bed11f7b Templetize functions to get pieces by type Marco Costalba 2009-08-31 17:07:03 +02:00
  • e33c94883f Set LMRPVMoves to 10 instead of 14 Marco Costalba 2009-08-31 22:08:15 +01:00
  • 46ffea46ea Fix poly values mismerge Marco Costalba 2009-09-01 15:49:06 +02:00
  • 03d6a86900 Bug fix for discovered checks in connected_moves(). Tord Romstad 2009-09-02 09:58:15 +02:00
  • 17c5119222 Retire pieces_of_color_and_type() Marco Costalba 2009-08-31 16:09:52 +02:00
  • cf71efc34b MovePicker: rename number_of_moves() in number_of_evasions() Marco Costalba 2009-08-31 14:28:11 +02:00
  • c9d364f9ca Use pointers instead of array indices also for badCaptures Marco Costalba 2009-08-31 12:33:44 +02:00
  • 97dd7568ed Document index[] and pieceList[] are not invariants Marco Costalba 2009-08-31 10:59:33 +02:00
  • af220cfd52 Workaround a bug in Position::has_mate_threat() Marco Costalba 2009-08-30 19:12:08 +01:00
  • 1130c8d815 Skip TT_MOVES phase when possible Marco Costalba 2009-08-30 17:17:44 +01:00