Stockfish universal x64 build test

Discussion of anything and everything relating to chess playing software and machines.

Moderators: hgm, Rebel, chrisw

j_romang
Posts: 79
Joined: Mon May 16, 2011 2:52 am

Stockfish universal x64 build test

Post by j_romang »

I tried to build an universal stockfish x64 windows executable : https://db.tt/U1KrSWjZ
It should auto-detect your CPU at startup (x86-64, x86-64-modern, or x86-64-bmi2) so that you have the fastest stockfish running in an universal way. Please tell me if it works on your particular platform !
yolin
Posts: 30
Joined: Thu Mar 30, 2006 6:12 pm

Re: Stockfish universal x64 build test

Post by yolin »

I got this (i7-2620M): "The program can't start because libgcc_s_sjlj-1.dll is missing from your computer."
j_romang
Posts: 79
Joined: Mon May 16, 2011 2:52 am

Re: Stockfish universal x64 build test

Post by j_romang »

Thanks Yolin, is just updated the exe in the link : can you try again ?
yolin
Posts: 30
Joined: Thu Mar 30, 2006 6:12 pm

Re: Stockfish universal x64 build test

Post by yolin »

Works now!

Stockfish 140414 64 SSE4.2 by Tord Romstad, Marco Costalba and Joona Kiiski

>bench

===========================
Total time (ms) : 4116
Nodes searched : 6921356
Nodes/second : 1681573
Last edited by yolin on Mon Apr 14, 2014 10:23 pm, edited 1 time in total.
j_romang
Posts: 79
Joined: Mon May 16, 2011 2:52 am

Re: Stockfish universal x64 build test

Post by j_romang »

Nice :)
You can check the detected version with the module name :
  • Stockfish 140414 64 for the basic version
    Stockfish 140414 64 SSE 4.2 for the modern version
    Stockfish 140414 64 BMI2 for the haswell version
jpqy
Posts: 550
Joined: Thu Apr 24, 2008 9:31 am
Location: Belgium

Re: Stockfish universal x64 build test

Post by jpqy »

===========================
Total time (ms) : 4685
Nodes searched : 6921356
Nodes/second : 1477343
uci
id name Stockfish 140414 64 SSE4.2
id author Tord Romstad, Marco Costalba and Joona Kiiski

This i get on my i7 2670QM (1core)
It would be nice if we could get the source..so that i don't have to make 6 compiles every time :wink:
For sure very nice done!!

JP.
j_romang
Posts: 79
Joined: Mon May 16, 2011 2:52 am

Re: Stockfish universal x64 build test

Post by j_romang »

The source code is not modified ; it's just compiling/packing work (and it takes more time than making separate compiles :wink:) If there is interest in this, I might also add 32 bit detection.
jpqy
Posts: 550
Joined: Thu Apr 24, 2008 9:31 am
Location: Belgium

Re: Stockfish universal x64 build test

Post by jpqy »

j_romang wrote:The source code is not modified ; it's just compiling/packing work (and it takes more time than making separate compiles :wink:) If there is interest in this, I might also add 32 bit detection.
Sure,i think many people would be happy to see 32bit detection also!

If it's just compiling/packing work..you can just copy/paste these compiling lines in a file for next time..and of course i'am interested to try them myself if you are willing to share them!
Or put your idea on testframe..

JP.
j_romang
Posts: 79
Joined: Mon May 16, 2011 2:52 am

Re: Stockfish universal x64 build test

Post by j_romang »

I have no script yet to automate the process : I'll try to polish this an I will make it public :D
jpqy
Posts: 550
Joined: Thu Apr 24, 2008 9:31 am
Location: Belgium

Re: Stockfish universal x64 build test

Post by jpqy »

Fantastic..Thank you :!: