Commit Graph

  • 1146fc8d09 Space inflate move.cpp Marco Costalba 2008-10-30 15:21:53 +01:00
  • 6e5cf2f3c5 Revert "Relax time constraints" Marco Costalba 2008-10-30 11:38:06 +01:00
  • e5ebd4f5d1 Partially space inflate search.cpp Marco Costalba 2008-10-30 11:35:44 +01:00
  • cf2bafb661 Relax time constraints Marco Costalba 2008-10-29 17:00:51 +01:00
  • 79513e3a43 Material: micro optimize map reading Marco Costalba 2008-10-29 07:52:20 +01:00
  • bd3ec6af15 Material: protect global map access with locks Marco Costalba 2008-10-28 19:30:57 +01:00
  • b2b86cfd27 MovePicker::score_captures() order with SEE when pv Marco Costalba 2008-10-27 22:04:47 +01:00
  • 7d717df4e4 Revert "Last minute surprise" for now Marco Costalba 2008-10-27 21:59:12 +01:00
  • 5e906ea10e Finish material.cpp cleanup Marco Costalba 2008-10-27 21:54:39 +01:00
  • 73cce873de Start to simplify material.cpp Marco Costalba 2008-10-27 19:07:48 +01:00
  • 038235ba35 Factor out Position::do_capture_move() Marco Costalba 2008-10-27 14:19:24 +01:00
  • 5e2fc2aa16 Fix a bug in generate_evasions() Marco Costalba 2008-10-27 10:15:51 +01:00
  • 74fd57220e Refine "few moves" in "last minute surprise" Marco Costalba 2008-10-27 09:28:14 +01:00
  • 74f1efee26 Manual merge Marco Costalba 2008-10-26 21:44:58 +01:00
  • 0936a96a0e Space inflate extension() code Marco Costalba 2008-10-26 18:16:23 +01:00
  • 13d1776a98 TEST: extend when few moves available Marco Costalba 2008-10-26 14:52:37 +01:00
  • a56e1c662c Revert see shortcut when only one attacker Marco Costalba 2008-10-26 14:50:15 +01:00
  • fcc49561a1 Prefer out of loop variables in MovePicker::score_captures() Marco Costalba 2008-10-26 13:51:12 +01:00
  • 714069e248 Effectively use MVV/LVA in MovePicker::score_captures() Marco Costalba 2008-10-26 13:47:31 +01:00
  • 88885399f4 Reintroduce piece/square tables to score non-captures Marco Costalba 2008-10-26 13:44:34 +01:00
  • a5c1b3e8f6 Position: fix a couple of Intel compiler warnings Marco Costalba 2008-10-26 13:23:27 +01:00
  • 8a85007023 Test with SEE shortcut Marco Costalba 2008-10-25 20:44:10 +01:00
  • 4397e6c03e Better naming of pseudo-legality and legality testing Marco Costalba 2008-10-25 16:39:24 +01:00
  • 4f14bd5032 Try to cleanup movepick Marco Costalba 2008-10-25 15:57:19 +01:00
  • f8bc38a006 Restore original movepick modulo space inflation Marco Costalba 2008-10-25 15:28:24 +01:00
  • 5dd9159106 Space inflate position: complete! Marco Costalba 2008-10-25 09:06:52 +01:00
  • ad956ef00a Space inflate position until do_promotion_move() Marco Costalba 2008-10-24 09:14:20 +02:00
  • d155cd88d1 Start to space inflate position.cpp Marco Costalba 2008-10-23 21:51:26 +01:00
  • 2aebf8eb55 Fix a performance bug in generate_move_if_legal Marco Costalba 2008-10-23 21:02:10 +01:00
  • 1ac2f50145 Unify pinned and discovery checks code Marco Costalba 2008-10-23 20:43:48 +01:00
  • af59cb1d63 Refactor Position::pinned_pieces() to use templates Marco Costalba 2008-10-23 12:59:20 +02:00
  • 2f8961beef movegen: add SERIALIZE_MOVES and hides a bunch of loops Marco Costalba 2008-10-23 10:42:14 +02:00
  • af5743837d Another generate_piece_moves() micro optimization Marco Costalba 2008-10-23 09:47:00 +02:00
  • 5e768e4b0a Fix another template conversion bug in movegen Marco Costalba 2008-10-23 08:01:36 +01:00
  • 2d867109d9 movegen: prefer (*mlist++) to mlist[n++] Marco Costalba 2008-10-22 23:18:11 +01:00
  • b145e99559 Fix a bug in generate_pawn_captures() Marco Costalba 2008-10-22 00:12:16 +01:00
  • 8f2c1c59eb Fully templetize pawn move generators Marco Costalba 2008-10-22 00:06:12 +01:00
  • c40249e9d2 Micro optimize generate_piece_moves() Marco Costalba 2008-10-21 00:10:27 +02:00
  • ce93a202b5 Another Intel warning sqeezed Marco Costalba 2008-10-20 21:57:13 +02:00
  • 279ed7ed48 Quiet a warning on Intel compiler Marco Costalba 2008-10-20 21:55:43 +02:00
  • af6571856e Shrink arguments in move generation functions Marco Costalba 2008-10-20 10:46:31 +02:00
  • 0c8659721f Fix a bug in king discoveries checks Marco Costalba 2008-10-20 10:22:29 +02:00
  • 5dc2312121 Update copyright info Marco Costalba 2008-10-19 18:56:28 +02:00
  • aa94f2f4c2 Last little touches to movegen Marco Costalba 2008-10-19 18:19:16 +02:00
  • d7161c1ce6 Rename PawnOffsets in PawnParams Marco Costalba 2008-10-19 18:01:01 +02:00
  • e2af0e775b Pawn move generator: dispatch at compile time Marco Costalba 2008-10-19 17:54:18 +02:00
  • ad1bb084dd Start to templetize pawn move generators Marco Costalba 2008-10-19 16:20:21 +01:00
  • 760f77872f Remove Positions::xxx_count() functions Marco Costalba 2008-10-19 14:39:29 +01:00
  • 257689dec7 Remove white/black_pawn_attacks_square() Marco Costalba 2008-10-19 14:06:06 +01:00
  • ff211469ba Templetize Position::xxx_attacks_square() Marco Costalba 2008-10-19 13:56:57 +01:00
  • d4f14a8e83 Remove Position::xxx_list() functions Marco Costalba 2008-10-19 13:44:25 +01:00
  • 7eb290a509 Add a generate_piece_checks() specialization for the king Marco Costalba 2008-10-19 13:22:03 +01:00
  • d316b02771 Remove white/black_pawn_attacks() Marco Costalba 2008-10-19 12:53:51 +01:00
  • d9e54ceaa1 Prefer template to name decoration Marco Costalba 2008-10-19 12:43:09 +01:00
  • 691de79eaa Fix a missing comma in BenchmarkPositions[] Marco Costalba 2008-10-19 11:55:53 +01:00
  • 3f38cca072 Position::is_ok()give more info on failed test Marco Costalba 2008-10-19 10:41:24 +01:00
  • 6b8a07eccc Fix an assert due to a missing parentesis Marco Costalba 2008-10-19 10:17:17 +01:00
  • 8e85aa3a65 Final semplification of generate_evasions() Marco Costalba 2008-10-19 09:33:33 +01:00
  • 4f18528a1c Introduce generate_piece_blocking_evasions() Marco Costalba 2008-10-19 08:49:26 +01:00
  • 4a4d62da13 Space inflate generate_evasions() Marco Costalba 2008-10-19 08:27:24 +01:00
  • d3600c39a7 Update copyright info Marco Costalba 2008-10-19 18:56:28 +02:00
  • f664ca41ed Last little touches to movegen Marco Costalba 2008-10-19 18:19:16 +02:00
  • b397426785 Rename PawnOffsets in PawnParams Marco Costalba 2008-10-19 18:01:01 +02:00
  • 68c78400c8 Pawn move generator: dispatch at compile time Marco Costalba 2008-10-19 17:54:18 +02:00
  • 1bd1f5a293 Start to templetize pawn move generators Marco Costalba 2008-10-19 16:20:21 +01:00
  • d0e51bc0f0 Remove Positions::xxx_count() functions Marco Costalba 2008-10-19 14:39:29 +01:00
  • 0d19437703 Remove white/black_pawn_attacks_square() Marco Costalba 2008-10-19 14:06:06 +01:00
  • 8b5519a009 Templetize Position::xxx_attacks_square() Marco Costalba 2008-10-19 13:56:57 +01:00
  • 1eae58523f Remove Position::xxx_list() functions Marco Costalba 2008-10-19 13:44:25 +01:00
  • 305b711ca8 Add a generate_piece_checks() specialization for the king Marco Costalba 2008-10-19 13:22:03 +01:00
  • 2bea93975e Remove white/black_pawn_attacks() Marco Costalba 2008-10-19 12:53:51 +01:00
  • f036239521 Prefer template to name decoration Marco Costalba 2008-10-19 12:43:09 +01:00
  • 832a8a2719 Fix a missing comma in BenchmarkPositions[] Marco Costalba 2008-10-19 11:55:53 +01:00
  • 11910d44e0 Position::is_ok()give more info on failed test Marco Costalba 2008-10-19 10:41:24 +01:00
  • 00bcc64787 Fix an assert due to a missing parentesis Marco Costalba 2008-10-19 10:17:17 +01:00
  • f2ead1004a Final semplification of generate_evasions() Marco Costalba 2008-10-19 09:33:33 +01:00
  • 84ce43498a Introduce generate_piece_blocking_evasions() Marco Costalba 2008-10-19 08:49:26 +01:00
  • 987ff3b4b6 Space inflate generate_evasions() Marco Costalba 2008-10-19 08:27:24 +01:00
  • 72289fcfab movegen: Introduce generate_pawn_noncaptures() Marco Costalba 2008-10-18 18:39:13 +02:00
  • 73d0d2c0b2 movegen: Introduce generate_pawn_captures() Marco Costalba 2008-10-18 17:37:49 +02:00
  • c1257d45b2 movegen: Fix just introduced move counter bug Marco Costalba 2008-10-18 16:30:00 +02:00
  • 34a515f20b movegen: Introduce generate_pawn_checks() Marco Costalba 2008-10-18 15:36:58 +02:00
  • 5abe8a0816 generate_checks: fix a bug in black double pawn push Marco Costalba 2008-10-18 13:58:07 +02:00
  • 35fd5ce5bc Space inflate generate_castle_moves() Marco Costalba 2008-10-18 11:07:27 +02:00
  • 146bb2dfa7 Unify pieces check generation with generate_piece_checks() Marco Costalba 2008-10-18 10:57:27 +02:00
  • ea16985ea5 Do not special case generate_king_moves() Marco Costalba 2008-10-18 09:49:51 +02:00
  • 3b857d1625 Use a const pointer-to-member array for attacks Marco Costalba 2008-10-18 08:54:18 +02:00
  • aa7121297d Use pointer-to-members to remove a bunch of duplicated code Marco Costalba 2008-10-17 23:30:34 +02:00
  • 94f1b31484 movegen: revert see ordering in score_captures() Marco Costalba 2008-10-17 22:54:23 +02:00
  • c852a94009 Movegen: further simplify generate_move_if_legal Marco Costalba 2008-10-17 22:52:36 +02:00
  • 8be2c483a1 Unify black and white code in generate_move_if_legal() Marco Costalba 2008-10-17 15:38:00 +02:00
  • 158911425b Space inflate movegen.cpp Marco Costalba 2008-10-17 15:11:19 +02:00
  • cf8ee79b76 Movepick: add and use find_best_index() helper Marco Costalba 2008-10-17 08:25:39 +02:00
  • 06d6468ce9 Test with see Marco Costalba 2008-10-17 07:58:36 +02:00
  • 173ecc0acf Use MVV to score captures when see >=0 Marco Costalba 2008-10-17 06:14:21 +02:00
  • 2943e1ca31 MovePicker: use const reference instead of pointers Marco Costalba 2008-10-16 16:21:36 +02:00
  • 486ec580f9 Space inflate movepick.cpp Marco Costalba 2008-10-16 14:25:56 +02:00
  • a930aafce0 Better comment previous patch Marco Costalba 2008-10-16 12:53:25 +02:00
  • b3744eb4d0 Always add psqt scoring Marco Costalba 2008-10-15 20:45:29 +02:00
  • a03ab94f44 Shortcut sorting when no move is in history Marco Costalba 2008-10-15 20:39:09 +02:00