Search found 145 matches

by sedicla
Fri Jun 03, 2011 6:59 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Introduction and (hopefully) contribution - bitboard methods
Replies: 10
Views: 2595

Re: Introduction and (hopefully) contribution - bitboard met

I've been lurking here for awhile and first of all I'd like to say thank you to all for posting all this good stuff, I've learned a lot here and now i'd like to maybe contribute to the chess programming community. I am involved professionally with computer programming for 25 years. And some of my h...
by sedicla
Fri Jun 03, 2011 5:01 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Introduction and (hopefully) contribution - bitboard methods
Replies: 10
Views: 2595

Re: Introduction and (hopefully) contribution - bitboard met

Here is the code I used for tests: I'd suggest to test with random numbers, not with a linear loop that increments the target bitboard. Otherwise for the CPU becomes easy to predict the branches inside first_index() and friends and the results are better than what you would achieve in a real game. ...
by sedicla
Fri Jun 03, 2011 3:14 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Introduction and (hopefully) contribution - bitboard methods
Replies: 10
Views: 2595

Re: Introduction and (hopefully) contribution - bitboard met

Here is the code I used for tests: #define BBTSTSIZE 90000000 void bb_test_index_ok(void); void bb_test_fi_perf(void); void bb_test_li_perf(void); void bb_test_count_ok(void); void bb_test_bc_perft(void); void bb_test() { bb_test_index_ok(); bb_te...
by sedicla
Fri Jun 03, 2011 3:07 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Introduction and (hopefully) contribution - bitboard methods
Replies: 10
Views: 2595

Introduction and (hopefully) contribution - bitboard methods

I've been lurking here for awhile and first of all I'd like to say thank you to all for posting all this good stuff, I've learned a lot here and now i'd like to maybe contribute to the chess programming community. I am involved professionally with computer programming for 25 years. And some of my ho...