-
8d46ff9829
move-do: use castling flags, other improvements (~12% on perft)
master
hash
Bruno Raoult
2024-09-11 08:17:42 +02:00
-
8bf4262e11
position: use XOR in square clr/set, for castling flags to 8 bits
Bruno Raoult
2024-09-11 08:14:55 +02:00
-
9dd7c7064d
perft-test: improve displayed info, add selective tests
Bruno Raoult
2024-09-11 08:09:40 +02:00
-
7e65fbc205
change some bit macros, fix pst_init bug (thx gcc!), TT mask 64 bits
Bruno Raoult
2024-09-04 20:07:19 +02:00
-
cf77a78aa6
Makefile: Fix dev/debug flags (issue with -Og & -g)
Bruno Raoult
2024-09-04 20:01:18 +02:00
-
b7a5d0fe56
pv.h (empty)
search
Bruno Raoult
2024-09-02 20:03:08 +02:00
-
87555f5405
misc unfinished changes (kinda stash)
Bruno Raoult
2024-08-16 12:12:55 +02:00
-
bb866cb933
Merge branch 'master' into search
Bruno Raoult
2024-08-08 08:44:32 +02:00
-
-
-
-
7ae6604e10
Makefile: add dependency on brlib file
Bruno Raoult
2024-08-08 08:40:42 +02:00
-
fcd54b44ce
phase update in move_do(), new phase_verify(), rewrite calc_phase()
Bruno Raoult
2024-08-06 21:19:51 +02:00
-
aef14db3e4
Merge branch 'master' into search
Bruno Raoult
2024-08-05 08:41:06 +02:00
-
-
-
-
f7a6e582ed
movegen: add pos_gen_legal() to simplify code
Bruno Raoult
2024-08-05 08:40:03 +02:00
-
f7fd2cb657
merge perft split
Bruno Raoult
2024-08-05 08:26:33 +02:00
-
1ca4eb4443
Merge branch 'master' into search
Bruno Raoult
2024-08-05 08:25:10 +02:00
-
-
-
-
0ff41c408b
add repetition detection, root position count
Bruno Raoult
2024-08-04 09:37:58 +02:00
-
c0bbf03551
create (unused) thread.[ch] files.
thread
Bruno Raoult
2024-07-31 07:54:12 +02:00
-
-
e1debcc3ae
create (unused) thread.[ch] files.
Bruno Raoult
2024-07-31 07:30:20 +02:00
-
-
01af1f5c49
separate perft (from search.c)
Bruno Raoult
2024-07-29 08:11:41 +02:00
-
-
6ea77c85e1
Restore duplicated search.c and 1 others
Bruno Raoult
2024-07-29 08:11:41 +02:00
-
3fb0c92653
Splitting 'search.c' and 1 others
Bruno Raoult
2024-07-29 08:11:41 +02:00
-
-
a6a21626c7
uci: complete option/setoption
Bruno Raoult
2024-07-28 15:14:07 +02:00
-
2cd1289cd6
misc.c -> util.c, add str_token()
Bruno Raoult
2024-07-27 13:45:05 +02:00
-
d5920886a3
add uci pst option (not handled)
Bruno Raoult
2024-07-25 09:56:27 +02:00
-
4733a1d65f
add structure for eval parameters
Bruno Raoult
2024-07-25 09:27:06 +02:00
-
c93ed5ba01
cleanup
Bruno Raoult
2024-07-25 09:26:07 +02:00
-
e5a9303d08
simplify pos_clear
Bruno Raoult
2024-07-25 09:24:31 +02:00
-
beaa68cb10
add UCI specs
Bruno Raoult
2024-07-23 11:04:03 +02:00
-
99658316fb
move all uci to uci.c, eval variables to eval-defs.c
Bruno Raoult
2024-07-22 21:07:46 +02:00
-
448057bd27
rename src/eval-values.c -> src/eval-defs.c
Bruno Raoult
2024-07-22 21:01:02 +02:00
-
4a73de8dd8
Merge split-file
Bruno Raoult
2024-07-22 19:29:21 +02:00
-
-
3bbc9ea7b8
Restore duplicated src/eval-simple.c and 1 others
Bruno Raoult
2024-07-22 19:29:21 +02:00
-
db00014eef
Splitting 'src/eval-simple.c' and 1 others
Bruno Raoult
2024-07-22 19:29:21 +02:00
-
-
98c54553d0
Combo changes
Bruno Raoult
2024-07-22 18:16:14 +02:00
-
a4c413bea3
fen tests cleanup
Bruno Raoult
2024-07-22 09:33:27 +02:00
-
e630a73f26
remove test FEN dups
Bruno Raoult
2024-07-22 09:16:27 +02:00
-
c8fd3b87ac
add Rodent-III FEN tests
Bruno Raoult
2024-07-22 09:03:31 +02:00
-
14a2cae072
eval-simple.c: game phases, multiple PST
Bruno Raoult
2024-07-21 18:08:10 +02:00
-
30ac647fe5
update bug_on (brlib + hash.c + position.h), new alloc.[ch]
Bruno Raoult
2024-07-15 08:21:56 +02:00
-
ca76b28b00
Makefile: simplify flags/build, adapt Emacs .dirs-local.el
Bruno Raoult
2024-07-15 08:13:39 +02:00
-
f8bb5c06e5
comment move_find_in_movelist() limitations
Bruno Raoult
2024-07-10 07:51:29 +02:00
-
f52454903c
cleanup
Bruno Raoult
2024-07-10 07:50:31 +02:00
-
5401e83db8
Memory allocation: moved to alloc.[ch]
Bruno Raoult
2024-07-10 07:49:44 +02:00
-
3100504fa2
Makefile: add 'build=' option
Bruno Raoult
2024-07-10 07:39:28 +02:00
-
470109768f
finalize hyperbola funcs/files rename: Makefile, wrong calls, etc...
Bruno Raoult
2024-07-06 20:44:25 +02:00
-
96be21231b
improve git-split.sh (multiple splits, etc...)
Bruno Raoult
2024-07-06 19:27:22 +02:00
-
7ce64c3aee
rename hyperbola-quintessence files to hq
Bruno Raoult
2024-07-06 19:13:08 +02:00
-
23051cb427
rename hyperbola functions to hq
Bruno Raoult
2024-07-06 19:11:56 +02:00
-
8483ffa101
cleanup
Bruno Raoult
2024-07-05 08:23:16 +02:00
-
a8f7bd12b8
add tricky FEN from talkchess
Bruno Raoult
2024-07-03 21:13:15 +02:00
-
73d09ec37f
perft: fix divide (untested for ages!). perft-test: SF uses divide
Bruno Raoult
2024-07-03 21:10:41 +02:00
-
2870101896
move_from_str(): fix new move_t promotion
Bruno Raoult
2024-07-03 21:09:00 +02:00
-
91abc3e26d
convert piece_t, square_t etc. to u8 (no more typed enum. See C23 ?).
Bruno Raoult
2024-07-03 08:49:54 +02:00
-
902c224aa9
simplify promotion generation
Bruno Raoult
2024-07-02 17:28:35 +02:00
-
44f604abac
cleanup
Bruno Raoult
2024-07-01 14:06:51 +02:00
-
a2451d79db
finish fitting move_t in 16 bits
Bruno Raoult
2024-07-01 13:56:13 +02:00
-
58c985f52f
eval.c, eval-simple.c: start to migrate from 0x88 (does not compile)
Bruno Raoult
2024-06-30 10:00:35 +02:00
-
4d1870ffb3
eval_t: s16 + add in pos_t + remove useless opening pieces values
Bruno Raoult
2024-06-30 09:59:18 +02:00
-
e18a237347
empty MEMO.org
Bruno Raoult
2024-06-29 11:47:02 +02:00
-
6fc1ebcc9a
add 'hist' command, fix strkok fails, use move_find_in_movelist
Bruno Raoult
2024-06-29 11:37:16 +02:00
-
8c94c6beb1
add hist_link, hist_push: remove 'move' parameter
Bruno Raoult
2024-06-29 11:35:33 +02:00
-
a44483e36c
init_all: add output for all steps
Bruno Raoult
2024-06-29 11:33:50 +02:00
-
4e6885f26f
makefile: default build: 'dev'
Bruno Raoult
2024-06-29 11:31:48 +02:00
-
bb13eae0b8
move-do: save move in state, pos-print: print last move
Bruno Raoult
2024-06-28 11:44:38 +02:00
-
b8f0f6a120
remove MOVE_NO_MOVE (use only MOVE_NONE)
Bruno Raoult
2024-06-28 11:43:52 +02:00
-
b4f008b223
Emacs .dirs-local.el: change default make target
Bruno Raoult
2024-06-28 09:41:17 +02:00
-
46f42ae59b
move.c: complete move_from_str(), add move_find_in_movelist()
Bruno Raoult
2024-06-28 09:35:56 +02:00
-
cffb0f7b95
hash.h: fix hash_short(), and hentry_t move size
Bruno Raoult
2024-06-28 09:33:13 +02:00
-
c5a1936e3b
UCI moves && games states list
Bruno Raoult
2024-06-27 10:09:30 +02:00
-
46aed01079
hash: add hash_short macro, state_s: add prev and move
Bruno Raoult
2024-06-27 08:36:08 +02:00
-
ffd5d056cc
move_t flags: mask -> value, unique castling flag (1 bit saved)
Bruno Raoult
2024-06-25 15:33:56 +02:00
-
5cb90f5396
remove move-test
Bruno Raoult
2024-06-25 13:16:47 +02:00
-
da489bad65
update include syntax
Bruno Raoult
2024-06-25 13:07:33 +02:00
-
f4280dfa13
perft-test: add error and skipped counts
Bruno Raoult
2024-06-24 09:01:55 +02:00
-
d1cc7a8066
movegen: cleanup + change casling/king moves handling
Bruno Raoult
2024-06-24 09:00:24 +02:00
-
cfa8b42077
add UCI "perft_alt" command
Bruno Raoult
2024-06-24 08:52:23 +02:00
-
0c2d30c938
put back bug_on() following brlib change
Bruno Raoult
2024-06-23 19:52:59 +02:00
-
3a6c1d11c0
rename util.h -> misc.h (2)
Bruno Raoult
2024-06-23 19:22:22 +02:00
-
a7311a546f
add perf target
Bruno Raoult
2024-06-23 19:16:05 +02:00
-
84b6c41107
update brlib
Bruno Raoult
2024-06-23 19:15:34 +02:00
-
19d10fdfa8
rename util.h -> misc.h
Bruno Raoult
2024-06-23 19:15:14 +02:00
-
6e38de58cb
brchess: remove any readline dependancy (issue with static linking)
Bruno Raoult
2024-06-22 21:06:06 +02:00
-
0c15be28b1
remove bug.h include in any .h file
Bruno Raoult
2024-06-20 09:13:28 +02:00
-
879bda850c
pos_ok, remove unused var warnings for 'release' target
Bruno Raoult
2024-06-20 09:04:54 +02:00
-
0a0c3227b8
Makefile: add release & dev targets
Bruno Raoult
2024-06-20 09:04:28 +02:00
-
242b501404
cleanup
Bruno Raoult
2024-06-20 05:36:42 +02:00
-
f530a13481
prepare brchess, eval, eval-simple for future use
Bruno Raoult
2024-06-19 11:01:48 +02:00
-
243805f11f
add git-split.sh (NOT WORKING!)
Bruno Raoult
2024-06-18 06:38:04 +02:00
-
ae198c891f
Merge branch 'tt'
Bruno Raoult
2024-06-17 07:51:45 +02:00
-
-
f1657e9806
working TT with perft
tt
Bruno Raoult
2024-06-17 07:45:57 +02:00
-
840202dc0e
perft-test.c/common-test.h: add sentinel for temp tests / TT stats
Bruno Raoult
2024-06-17 07:39:13 +02:00
-
dfecad9ea6
cleanup
Bruno Raoult
2024-06-17 07:38:43 +02:00
-
e61e1518f4
move_do_alt: use &state (as move_do)
Bruno Raoult
2024-06-17 07:37:22 +02:00
-
2fbad1319e
fix EP_ZOBRIST_IDX macro (oops !)
Bruno Raoult
2024-06-17 07:35:14 +02:00
-
148fef20ea
add info in pos_print, start perft TT testing
Bruno Raoult
2024-06-13 10:28:32 +02:00
-
8be03c6230
rename TT funcs to TT_xxx()
Bruno Raoult
2024-06-12 07:50:19 +02:00
-
ec2d2291d4
clean move_t: Remove capture/dpush/promotion flags, captured piece
Bruno Raoult
2024-06-12 07:45:22 +02:00
-
49b678e3ce
fix piece_t_from_char()
Bruno Raoult
2024-06-12 07:40:13 +02:00
-
ebf01bc7db
perft_test -> perft, perf -> perft_alt move2 -> move, move -> move_alt
Bruno Raoult
2024-06-09 22:15:20 +02:00
-
-
660d181e41
add GAMESIZE (attention: **WRONG**, as for repeat only !)
Bruno Raoult
2024-06-08 20:12:19 +02:00
-
5a2cdfca56
perft-test: add SF ucinewgame / isready + check sync
Bruno Raoult
2024-06-08 20:10:17 +02:00