Commit Graph

  • dee8780829 Renamed thread_should_stop() in cutoff_at_splitpoint() Marco Costalba 2010-12-25 00:11:53 +01:00
  • d40a12f948 Simplify a condition in update of best move Marco Costalba 2010-12-24 17:07:00 +01:00
  • f97c5b6909 Triviality in struct PieceLetters Marco Costalba 2010-12-24 15:25:11 +01:00
  • d55a5a4d81 Better clarify how we use TT depth in qsearch Marco Costalba 2010-12-18 10:27:24 +01:00
  • 201e8d5f87 Second cleanup wave on check_is_useless() Marco Costalba 2010-12-15 09:14:01 +01:00
  • 47f5560e2d Let check_is_useless() follow SF coding style Joona Kiiski 2010-12-14 15:49:06 +02:00
  • cf85ffbb97 Fixed a bug in move_from_uci(): En passant captures were not handled correctly. Tord Romstad 2010-12-14 12:07:37 +01:00
  • 6596dc9516 Selective checks at qsearch Joona Kiiski 2010-12-12 11:54:50 +02:00
  • 6afcfd00f2 Retire uci_main_loop() Marco Costalba 2010-12-13 11:17:06 +01:00
  • 2d63f2157e Small cleanup in uci.cpp Marco Costalba 2010-12-13 09:48:12 +01:00
  • 56de5ae561 Retire square_from_string() Marco Costalba 2010-12-09 12:10:02 +01:00
  • 556b63b6b6 Move the last multi-threads globals to ThreadsManager Marco Costalba 2010-12-12 12:46:10 +01:00
  • 4ad03c9bad Further reduce sleep lock contention Marco Costalba 2010-12-12 11:06:36 +01:00
  • dedc6d7588 Allow threads to sleep when available Marco Costalba 2010-11-07 23:45:13 +01:00
  • 38e7ec3e44 Increase MAX_THREADS to 16 Marco Costalba 2010-12-04 09:18:18 +01:00
  • 421f7b74c6 Increase PV LMR to SF 1.8 levels Marco Costalba 2010-12-05 17:54:35 +01:00
  • 0da461f23b Various cleanups in Position's ancillary functions Marco Costalba 2010-12-06 10:26:01 +01:00
  • 97a6e1559e Fix a crash due to a broken Book::open() Marco Costalba 2010-12-04 21:19:22 +01:00
  • 8a858aea34 New try for unstoppable pawn evaluation Joona Kiiski 2010-11-13 18:42:12 +02:00
  • 03dd1d3c13 Allow razoring after a null move Marco Costalba 2010-10-30 15:28:33 +01:00
  • 5529706426 Prune all negative see moves at low depths Joona Kiiski 2010-11-30 14:46:41 +02:00
  • 6ed409ecee Fix bestmove output in multi PV case Marco Costalba 2010-11-28 17:05:49 +01:00
  • 200fc56e9c Fix 'generation' type to uint8_t Marco Costalba 2010-11-22 18:40:36 +01:00
  • d0dc05ad41 Revert sleeping threads Marco Costalba 2010-11-19 07:59:51 +01:00
  • 9ecdfd2401 Revert "Allow split point master to sleep (take 2)" Marco Costalba 2010-11-23 07:00:30 +01:00
  • 5d6b2f2144 We don't need a stringstream in buildKey() Marco Costalba 2010-11-23 09:09:15 +01:00
  • efeb37c33f Retire Application class Marco Costalba 2010-11-22 14:55:56 +01:00
  • 00d9fe8af0 Retire piece.cpp Marco Costalba 2010-11-22 11:50:58 +01:00
  • 85df24624a UCI options names should not be case sensitive Marco Costalba 2010-11-21 23:28:17 +01:00
  • f44aea7508 Retire "New Game" UCI option Marco Costalba 2010-11-21 14:23:16 +01:00
  • fa80479b1d Remove hardcoded 16 from benchmark default positions size Marco Costalba 2010-11-21 13:06:53 +01:00
  • df6ba1fa5c Micro-optimize pl_move_is_legal() Marco Costalba 2010-11-21 12:43:16 +01:00
  • f57d51b7f3 Store "true" and "false" in bool options Marco Costalba 2010-11-20 14:23:28 +01:00
  • 358ccf206b Debug counters don't need to be global Marco Costalba 2010-11-20 11:48:04 +01:00
  • 24e6ed907b Small touches to engine_name() Marco Costalba 2010-11-19 17:03:44 +01:00
  • bdfd656c24 Use occupied_squares() in book_key() Marco Costalba 2010-11-16 19:28:09 +01:00
  • d08a8d76f7 Rearrange pawn moves generation Marco Costalba 2010-11-16 09:42:12 +01:00
  • 6f70e762a9 Introduce generate_promotions() Marco Costalba 2010-11-16 08:51:07 +01:00
  • b36900ef44 Simplify generate_pawn_captures() Marco Costalba 2010-11-15 16:27:05 +01:00
  • a1c02815cc Cleanup Bioskey() Marco Costalba 2010-11-15 13:49:13 +01:00
  • 660378d10e Let bench to have full defaults arguments Marco Costalba 2010-11-08 20:49:40 +01:00
  • 9dcc2aad98 Various cleanup in book.cpp Marco Costalba 2010-11-08 15:30:12 +01:00
  • fad595f5b6 Let benchmark to default to depth 12 Marco Costalba 2010-11-08 11:08:01 +01:00
  • d2d953713f Move PieceValue[] and SlidingArray[] where they belong Marco Costalba 2010-11-08 09:44:28 +01:00
  • c28b9ef182 Allow split point master to sleep (take 2) Marco Costalba 2010-11-07 23:45:13 +01:00
  • da6e2b5fd1 Use namespace in position.cpp Marco Costalba 2010-11-07 13:41:21 +01:00
  • b06f0460a2 Retire uci.h and benchmark.h Marco Costalba 2010-11-07 13:22:13 +01:00
  • d2ad5acddd Object OpeningBook doen't need to be global Marco Costalba 2010-11-07 13:12:48 +01:00
  • 4cd53b68d0 Make rkiss seed deterministic Marco Costalba 2010-11-07 12:33:17 +01:00
  • 8fb16df70e Let rkiss.h to follow SF coding style Marco Costalba 2010-11-07 12:11:01 +01:00
  • f5e28ef512 Use Heinz's RKiss instead of marsenne Marco Costalba 2010-11-07 11:13:17 +01:00
  • 287556f97d Fix an off by one bug in print_uci_options() Marco Costalba 2010-11-05 13:59:48 +01:00
  • 469e7c5143 Retire bitbase.h Marco Costalba 2010-11-05 13:53:13 +01:00
  • bacb645939 Rewrite options handling in an object oriented fashion Marco Costalba 2010-11-04 08:03:27 +01:00
  • fb50e16cdd Retire push_button() and button_was_pressed() Marco Costalba 2010-11-03 09:32:14 +01:00
  • 9f626725ae Prefer int to uint8_t when possible Marco Costalba 2010-11-01 13:16:32 +01:00
  • cfca92cd7c Add "mingw" compiler to Makefile Marco Costalba 2010-11-01 12:17:54 +01:00
  • d607febb38 Fix MinGW warnings Marco Costalba 2010-11-01 11:44:46 +01:00
  • 19cf779629 Allocate RootPosition on the stack Marco Costalba 2010-10-31 11:37:43 +01:00
  • d74025a34e Update nodes after a do_move() Marco Costalba 2010-10-31 10:55:28 +01:00
  • 49a6fee4fa Fix some icc's "statement is unreachable" warnings Marco Costalba 2010-10-30 18:44:34 +01:00
  • 2991ff0dc2 Move moveCount update near the SpNode case Marco Costalba 2010-10-30 18:18:48 +01:00
  • c416133e2f Introduce and use TranspositionTable::refresh() Marco Costalba 2010-10-30 15:22:10 +01:00
  • ff95bbd41f Use margins[] array in evaluate Marco Costalba 2010-10-30 14:22:57 +01:00
  • 2d7a417d0a More readable search/qsearch dispatch Marco Costalba 2010-10-30 12:31:42 +01:00
  • f790752daa Fix last leak detected by Valgrind Marco Costalba 2010-10-24 10:39:33 +02:00
  • 5254ca22f3 Fix a memcpy() warning under Valgrind Marco Costalba 2010-10-24 10:15:31 +02:00
  • 5b445cdf59 Revert previous patch Marco Costalba 2010-10-24 09:51:49 +01:00
  • 96e589646d Allow split point master to sleep Marco Costalba 2010-10-21 07:46:38 +01:00
  • c81bf3743f Re-add "Pass evalMargin through SearchStack as eval" Marco Costalba 2010-10-23 07:52:17 +01:00
  • f6e11ee2a3 Finally retire sp_search() Marco Costalba 2010-10-23 07:38:48 +01:00
  • 65606bc49e Temporary restore old sp_search() Marco Costalba 2010-10-18 04:29:58 +02:00
  • 3b7bf34b02 Revert "Pass evalMargin through SearchStack as eval" Marco Costalba 2010-10-16 11:54:44 +01:00
  • 141caf1d5b Don't wake up /sleep threads in think() anymore Marco Costalba 2010-10-17 13:12:12 +01:00
  • c59efc53c9 Enable sleeping of available threads Marco Costalba 2010-10-17 11:23:59 +01:00
  • 8fdc635255 Use fast SRWLOCK locks under Windows Marco Costalba 2010-10-17 11:01:55 +01:00
  • 472971f851 Remove some ifdef from wake_sleeping_thread() Marco Costalba 2010-10-17 09:34:23 +01:00
  • 389edb8099 Retire put_threads_to_sleep() Marco Costalba 2010-10-17 09:03:39 +01:00
  • 13d8231746 Retire THREAD_SLEEPING and use THREAD_AVAILABLE instead Marco Costalba 2010-10-17 08:57:20 +01:00
  • 9440fb06da Retire AllThreadsShouldSleep flag Marco Costalba 2010-10-17 08:38:52 +01:00
  • 3a564ed5db Destroy wait conditions before exiting Marco Costalba 2010-10-17 08:16:46 +01:00
  • 1fdb436e78 Change thread API to use one wait condition per thread Marco Costalba 2010-10-17 07:55:57 +01:00
  • dcf2edfdea Do not shadow SplitPoint struct with search() parameter Marco Costalba 2010-10-16 15:24:42 +01:00
  • 85a7456bd7 Fixed some warnings when using -Weffc++ gcc option Marco Costalba 2010-10-16 13:52:01 +02:00
  • d664773a83 Fix a shadowed variable warning under icc Marco Costalba 2010-10-16 13:19:44 +02:00
  • f092667460 Retire now obsoleted do_sp_search() trampoline code Marco Costalba 2010-10-16 12:09:49 +01:00
  • 19ff8e2902 Pass evalMargin through SearchStack as eval Marco Costalba 2010-10-16 11:54:44 +01:00
  • a7f4ee7540 Unify sp_search() and search() step 3 Marco Costalba 2010-10-16 11:24:03 +01:00
  • f7722d4de7 Unify sp_search() and search() step 2 Marco Costalba 2010-10-16 10:01:45 +01:00
  • 37055ad002 Unify sp_search() and search() step 1 Marco Costalba 2010-10-12 10:28:25 +02:00
  • 79a7647fe0 Pass moveCount by value in split() Marco Costalba 2010-10-12 09:54:01 +02:00
  • 00950fec00 Sync sp_search() with search() Marco Costalba 2010-10-12 10:14:40 +02:00
  • 7c7a77698a Better document some threads functions Marco Costalba 2010-10-12 09:06:33 +02:00
  • 083ed1ce94 Document an assert in idle_loop() Marco Costalba 2010-10-11 19:56:07 +01:00
  • 2feeb206ff Use VALUE_DRAW instead of VALUE_ZERO where better Marco Costalba 2010-10-10 09:04:09 +01:00
  • 5dfbbb79be Use do_move_bb() in move_attacks_square() Marco Costalba 2010-10-10 08:56:07 +02:00
  • d440ddb487 Another cleanup in evaluate_pawns() Marco Costalba 2010-10-10 07:55:42 +02:00
  • 9c9914d72a Micro optimize open files calculation Marco Costalba 2010-10-09 15:04:24 +01:00
  • a0474a72a6 Rearrange pawn penalities arrays Marco Costalba 2010-10-09 13:20:49 +01:00
  • 7733dadfd7 Small codestyle touches Marco Costalba 2010-10-09 13:05:58 +01:00