Search found 1614 matches

by Gerd Isenberg
Fri Mar 15, 2019 8:52 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: CPW bitscan with reset could someone explain this line?
Replies: 9
Views: 590

Re: CPW bitscan with reset could someone explain this line?

see also ... https://www.chessprogramming.org/Bitboard_Serialization#Scanning_with_Reset A win of abstraction is to use a combined bitscan with reset found bit routine. This is fine. But probably harder for compilers to generate optimal code in the if-do-while-sense, where reset last bit already set...
by Gerd Isenberg
Fri Mar 08, 2019 9:08 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Chess Programming Wiki
Replies: 34
Views: 18561

Re: Chess Programming Wiki

Hi crem and all others interested to contribute,
unfortunately CPW seems to have no way to register yourself or to demand registration - please send me a pm with suggested user name, and e-mail, then I will create an account.

Thanks & Best regards,
Gerd
by Gerd Isenberg
Mon Dec 03, 2018 8:05 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Extension stage in MCTS
Replies: 3
Views: 716

Re: Extension stage in MCTS

Guess you mean expansion strategy ... using the UCB1 formula, see
https://www.youtube.com/watch?v=UXW2yZndl7U
by Gerd Isenberg
Tue Nov 27, 2018 6:42 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: CCR board representation
Replies: 7
Views: 987

Re: CCR board representation

Yes, 128-bit xmm registers with SSE may be treated as vector of four floats or two doubles, as well since SSE2 as integer vectors of 16 bytes, eight words, four double words or two quad words. AVX or AVX2 two times more. There are 8 of these SIMD-registers in 32-bit mode, and 16 in 64-bit mode. http...
by Gerd Isenberg
Mon Nov 26, 2018 6:33 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: CCR board representation
Replies: 7
Views: 987

Re: CCR board representation

Good luck with CCR, you may try using 256-bit ymm register of x86 AVX2 for one register boards, to make/unmake by board ^= tbl[enumMove] ;-) related cpw stuff: https://www.chessprogramming.org/Nibble#ArrayOfNibbles CCR with "vertical" nibbles: https://www.chessprogramming.org/Quad-Bitboards https://...
by Gerd Isenberg
Sat Nov 03, 2018 9:37 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Which author what engine?
Replies: 6
Views: 1063

Re: Which author what engine?

Conversion and revisiting, replacing links etc. takes some time - most of the programming stuff is done. I still have a job and a bike ...
by Gerd Isenberg
Sun Aug 12, 2018 10:30 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Attacks From table
Replies: 12
Views: 2768

Re: Attacks From table

Hi Edsel,

with magic or pext bitboards, most use "On the Fly" generation ...

For some references see
https://www.chessprogramming.org/Attack_and_Defend_Maps

Good luck,
Gerd
by Gerd Isenberg
Tue Jul 03, 2018 8:19 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Chess Programming Wiki
Replies: 34
Views: 18561

Re: Chess Programming Wiki

I have noticed the announcement that Wikispaces, which is hosting the Chess Programming Wiki, is shutting down ( http://blog.wikispaces.com/ ). I hope there are plans to migrate the content elsewhere, because it has been a good resource and reference. --Jon We have wikitext backups, and some months...
by Gerd Isenberg
Tue Jun 05, 2018 9:02 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Bitboard for a non-chess game
Replies: 4
Views: 1295

Re: Bitboard for a non-chess game

The naive disjunctiv normal form approach would be, with some subexpressions to optimize oneEmptyNeighbor = ( occupied_shift_left & ~occupied_shift_down & ~occupied_shift_right & ~occupied_shift_up) | (~occupied_shift_left & occupied_shift_down & ~occupied_shift_right & ~occupied_shift_up) | (~occup...