Open Source Bullet: MinkoChess 1.3

Discussion of computer chess matches and engine tournaments.

Moderator: Ras

IWB
Posts: 1539
Joined: Thu Mar 09, 2006 2:02 pm

Re: Open Source Bullet: MinkoChess 1.3

Post by IWB »

Jim Ablett wrote:
Thx Jim, that runs everywhere.

Just one question, I checked on an old Q6600 which doesnt support POPCNT/SSE4 and it runs there as well. Does it have some kind of autodetect for that feature or is it possible ybroken and not using POPCNT/SSE at all?

Besides that it works fine and again I propose to put it on your web page!
You right. It's not using popcount.
Minko needs SSE4 defined for popcount support. There is no auto-detect.

Relevant code in Minko is this >

Code: Select all

#if defined(SSE4)
inline int __attribute__((always_inline)) bit_count(const Bitboard b) {
    int ret;
    __asm__("popcnt %1, %%rcx" : "=c" (ret) : "r" (b));
    return ret;
}

Download again, same link for popcount-enabled build.

Jim.
The POPCNT Version still runs on a Q6600 without SSE42 support ...

thx
Ingo
User avatar
Jim Ablett
Posts: 2284
Joined: Fri Jul 14, 2006 7:56 am
Location: London, England
Full name: Jim Ablett

Re: Open Source Bullet: MinkoChess 1.3

Post by Jim Ablett »

The POPCNT Version still runs on a Q6600 without SSE42 support ...
That is really baffling. Can you check both builds to see if there is speed difference on Phenom.

Jim.
IWB
Posts: 1539
Joined: Thu Mar 09, 2006 2:02 pm

Re: Open Source Bullet: MinkoChess 1.3

Post by IWB »

Jim Ablett wrote:
The POPCNT Version still runs on a Q6600 without SSE42 support ...
That is really baffling. Can you check both builds to see if there is speed difference on Phenom.

Jim.
I checked again and it runs on Q6600. Nonetheless the POPCNT version is slightly faster on a Phenom2

NO POP:


rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq -

Engine: MinkoChess x64 JA (256 MB)
by Borko Boskovic

15/29 0:01 +0.04 1.Nf3 Nf6 2.e3 d5 3.d4 e6 4.Bd3 Bd6
5.O-O O-O 6.Nc3 Nc6 7.Nb5 Bd7 8.Nxd6 cxd6 (1.488.251) 1082

15/29 0:02 +0.19 1.e4 Nc6 2.Nc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