Windows and Linux compiles available here:
http://open-chess.org/viewtopic.php?f=7 ... 676#p23676
Demolito 20180301 released
Moderators: hgm, Rebel, chrisw
-
- Posts: 3232
- Joined: Mon May 31, 2010 1:29 pm
- Full name: lucasart
Demolito 20180301 released
Theory and practice sometimes clash. And when that happens, theory loses. Every single time.
-
- Posts: 133
- Joined: Wed Aug 15, 2007 12:18 pm
- Location: Munich
Re: Demolito 20180301 released
Nice improvement. Thanks Lucas
-
- Posts: 4606
- Joined: Wed Oct 01, 2008 6:33 am
- Location: Regensburg, Germany
- Full name: Guenther Simon
Re: Demolito 20180301 released
I guess a non popcount compile for older 64 bit systems is out of reach (again)?lucasart wrote:Windows and Linux compiles available here:
http://open-chess.org/viewtopic.php?f=7 ... 676#p23676
-
- Posts: 1754
- Joined: Tue Apr 19, 2016 6:08 am
- Location: U.S.A
- Full name: Andrew Grant
Re: Demolito 20180301 released
Guenther, I have tried to compile a version without the __builtin_popcountll. I have not removed the __builtin_ctzll and __builtin_clzll, which I expect you have support for. Let me know if the compile works.
Also, note that Lucas's program will crash if you do not follow the proper UCI spec, so make sure to issue ucinewgame if you are going to try running from the command line.
https://drive.google.com/open?id=15KRo0 ... Z4Q-eQoW5I
Also, note that Lucas's program will crash if you do not follow the proper UCI spec, so make sure to issue ucinewgame if you are going to try running from the command line.
https://drive.google.com/open?id=15KRo0 ... Z4Q-eQoW5I
#WeAreAllDraude #JusticeForDraude #RememberDraude #LeptirBigUltra
"Those who can't do, clone instead" - Eduard ( A real life friend, not this forum's Eduard )
"Those who can't do, clone instead" - Eduard ( A real life friend, not this forum's Eduard )
-
- Posts: 41428
- Joined: Sun Feb 26, 2006 10:52 am
- Location: Auckland, NZ
Re: Demolito 20180301 released
Thanks Lucas. Just in time for my next tournament.
gbanksnz at gmail.com
-
- Posts: 4606
- Joined: Wed Oct 01, 2008 6:33 am
- Location: Regensburg, Germany
- Full name: Guenther Simon
Re: Demolito 20180301 released
Thanks a lot Andrew! Very helpful as always.AndrewGrant wrote:Guenther, I have tried to compile a version without the __builtin_popcountll. I have not removed the __builtin_ctzll and __builtin_clzll, which I expect you have support for. Let me know if the compile works.
Also, note that Lucas's program will crash if you do not follow the proper UCI spec, so make sure to issue ucinewgame if you are going to try running from the command line.
https://drive.google.com/open?id=15KRo0 ... Z4Q-eQoW5I
Edit:
Of course the main thanks goes to Lucas.
Code: Select all
dep score nodes time (not shown: tbhits knps seldep)
19 +0.19 10.4M 0:15.20 g1f3 d7d5 d2d4 g8f6 e2e3 e7e6 f1d3 f8d6 e1g1 e8g8 c2c4 b8c6 c4d5 c6b4 d5e6 c8e6 b1c3 b4d3 d1d3
18 +0.21 5.04M 0:07.36 d2d4 e7e6 e2e4 d7d5 e4d5 e6d5 b1c3 b8c6 g1f3 g8f6 f1b5 f8b4 f3e5 e8g8 b5c6 b7c6 e1g1 d8e8
17 +0.25 2.29M 0:03.37 d2d4 g8f6 g1f3 d7d5 e2e3 e7e6 b1c3 f8d6 f1d3 e8g8 e1g1 c7c6 c1d2 d8b6 e3e4 d5e4 d3e4 b8d7
16 +0.20 1.55M 0:02.28 d2d4 g8f6 g1f3 d7d5 e2e3 b8c6 b1c3 c8g4 f1e2 e7e6 c1d2 f8d6 h2h3 g4f3 e2f3 e8g8 e1g1
15 +0.16 1.09M 0:01.61 d2d4 g8f6 g1f3 d7d5 e2e3 b8c6 b1c3 c8g4 f1b5 e7e6 e1g1 f8d6 b5c6 b7c6 h2h3 g4f3 d1f3
14 +0.16 756692 0:01.12 d2d4 g8f6 g1f3 b8c6 e2e3 d7d5 b1c3 e7e6 f1d3 c8d7 e1g1 f8d6 c1d2 e8g8 e3e4 f6e4 c3e4 d5e4 d3e4
13 +0.17 646816 0:00.96 d2d4 g8f6 g1f3 b8c6 e2e3 e7e6 b1c3 d7d5 c1d2 f8d6 f1d3 e8g8 e1g1 c8d7
12 +0.09 523361 0:00.77 d2d4 g8f6 g1f3 e7e6 e2e3 f8e7 b1c3 e8g8 f1d3 d7d5 e1g1 b8d7
11 +0.20 133852 0:00.20 d2d4 d7d5 e2e3 e7e6 g1f3 b8c6 b1d2 g8f6 f1d3 f8d6 c2c3 e8g8 e1g1
10 +0.19 71063 0:00.10 b1c3 g8f6 e2e3 b8c6 d2d4 e7e6 g1f3 d7d5 f3e5 c6e5 d4e5
9 +0.21 31450 0:00.04 b1c3 d7d5 g1f3 b8c6 e2e3 c8f5 f3h4 g8h6 h4f5 h6f5
8 +0.19 18570 0:00.02 b1c3 d7d5 g1f3 c8f5 e2e3 b8c6 f3d4 c6d4
7 +0.28 6962 0:00.01 e2e4 d7d5 b1c3 d5e4 d1h5 g8f6 h5c5
6 +0.22 4131 0:00.00 e2e4 e7e6 b1c3 f8d6 d2d4 d8h4
5 +0.34 1621 0:00.00 e2e3 e7e6 b1c3 b8c6 d1h5
4 +0.07 1196 0:00.00 e2e3 e7e6 b1c3 d8h4
3 +0.38 433 0:00.00 e2e4 e7e6 d1h5
2 +0.05 196 0:00.00 e2e3 e7e5
1 +0.41 21 0:00.00 e2e4
0 #
-
- Posts: 3232
- Joined: Mon May 31, 2010 1:29 pm
- Full name: lucasart
Re: Demolito 20180301 released
Android compile added:lucasart wrote:Windows and Linux compiles available here:
http://open-chess.org/viewtopic.php?f=7 ... 676#p23676
http://open-chess.org/viewtopic.php?f=7 ... 677#p23677
Theory and practice sometimes clash. And when that happens, theory loses. Every single time.
-
- Posts: 3232
- Joined: Mon May 31, 2010 1:29 pm
- Full name: lucasart
Re: Demolito 20180301 released
Actually you don't need to change the code. That's the beauty of compiler intrinsics. All you need is to use march=nocona (oldest Intel 64-bit, no popcnt) or march=k8 (oldest AMD 64-bit, no popcnt). So you'd modify the make.sh script to:AndrewGrant wrote:Guenther, I have tried to compile a version without the __builtin_popcountll. I have not removed the __builtin_ctzll and __builtin_clzll, which I expect you have support for. Let me know if the compile works.
Also, note that Lucas's program will crash if you do not follow the proper UCI spec, so make sure to issue ucinewgame if you are going to try running from the command line.
https://drive.google.com/open?id=15KRo0 ... Z4Q-eQoW5I
Code: Select all
W="-Wfatal-errors -Wall -Wextra -Wshadow"
O="-O3 -flto -march=nocona -DNDEBUG"
C="x86_64-w64-mingw32-gcc -static" # Linux: clang/gcc, Windows: x86_64-w64-mingw32-gcc -static, Android: arm-linux-gnueabi-gcc -static
$C $VERSION -std=gnu11 $W $O -o $1 ./src/*.c -lpthread -lm -s
wine $1 search 12 1
Theory and practice sometimes clash. And when that happens, theory loses. Every single time.
-
- Posts: 30
- Joined: Sun Nov 30, 2014 2:21 am
Re: Demolito 20180301 released
Thanks Andrew! This works for my [old] Intel Core2 Quad, 64-bit PC.AndrewGrant wrote:Guenther, I have tried to compile a version without the __builtin_popcountll. I have not removed the __builtin_ctzll and __builtin_clzll, which I expect you have support for. Let me know if the compile works.
Also, note that Lucas's program will crash if you do not follow the proper UCI spec, so make sure to issue ucinewgame if you are going to try running from the command line.
https://drive.google.com/open?id=15KRo0 ... Z4Q-eQoW5I
Regards,
EN