ZirconiumX wrote:
Congrats on releasing DC4 - and to think that DC1 was 1947 Elo - you've made a huge amount of progress.
At that rate of development Stockfish might have a new challenger.
Thanks for the kind words. However going from 1900 elo to 2700 elo never felt like I was doing anything particularly smart. It's essentially a matter of doing all the basic stuff, and fixing bugs. But getting from there to to Stockfish's level is a different story...
It's now become very hard to make significant elo improvements with trivial code patches. There are no more low hanging fruits out there
Theory and practice sometimes clash. And when that happens, theory loses. Every single time.
Hi Jim,
two remarks:
-here at least the intel popcount compile 4.0.0 is a bit faster than 4.0.1 on my Core I7 920 - don´t know why
- Last compile from Lucas still crashes here after starting the engine in a game (I have downloaded both dlls).
I can give in the uci command - but not start the engine in a game or e.g. with the bench command.
At the moment I use your Version 4.0.0 intel popcount here for the tests.
ZirconiumX wrote:
In all of my tests, Clang has performed FASTER than GCC.
Well it looks like the new version GCC 4.8 is a huge improvement then, as it beats the pants of Clang 3.2: http://www.phoronix.com/scan.php?page=a ... svn1&num=1
Also they've made a lot of effort to make GCC produce understandable error messages. This is especially important in C++ http://gcc.gnu.org/wiki/ClangDiagnosticsComparison
So yes, Clang is moving fast. But GCC is not dead yet. It is still the King of compilers for a while.
Theory and practice sometimes clash. And when that happens, theory loses. Every single time.
32 bit bench (32 bit system)
signature = 7217665
time = 27.8594
64 bit bench
signature = 7217665
time = 17.9531
I would be interested to know the compiler options you used to build the 64bit Linux AMD popcnt version, your build is getting approx 2.5% speed increase over the non-popcnt version, and approx 2.5% speed increase over the version built here using gcc 4.7.2
32 bit bench (32 bit system)
signature = 7217665
time = 27.8594
64 bit bench
signature = 7217665
time = 17.9531
I would be interested to know the compiler options you used to build the 64bit Linux AMD popcnt version, your build is getting approx 2.5% speed increase over the non-popcnt version, and approx 2.5% speed increase over the version built here using gcc 4.7.2
Thanks for that Jim, I must surely qualify for idiot of the week for using popcnt without changing the code Changing the code in bitboard.cc gave a nice 6% increase in speed..
signature = 6600551
time = 5.02796
Quickly profiling with "bench 14" gave an additional 7% increase,
Anton wrote:Thanks for that Jim, I must surely qualify for idiot of the week for using popcnt without changing the code Changing the code in bitboard.cc gave a nice 6% increase in speed..
signature = 6600551
time = 5.02796
Quickly profiling with "bench 14" gave an additional 7% increase,
Julien had that problem with his Osx compile and fixed it by removing -flto
Jim.
Hi Jim,
Ran some more tests with and without -flto, makes no difference to the signature, what it is is the popcnt code(or the way I implemented it in bitboard.cc), reverted back to the original bitboard.cc, and all is fine.
ZirconiumX wrote:
In all of my tests, Clang has performed FASTER than GCC.
Well it looks like the new version GCC 4.8 is a huge improvement then, as it beats the pants of Clang 3.2: http://www.phoronix.com/scan.php?page=a ... svn1&num=1
Also they've made a lot of effort to make GCC produce understandable error messages. This is especially important in C++ http://gcc.gnu.org/wiki/ClangDiagnosticsComparison
So yes, Clang is moving fast. But GCC is not dead yet. It is still the King of compilers for a while.
The link you quote contains a build of Crafty v23.4 - where Clang takes the lead. GCC may be best for other things, though.
Julien had that problem with his Osx compile and fixed it by removing -flto
Jim.
Hi Jim,
Ran some more tests with and without -flto, makes no difference to the signature, what it is is the popcnt code(or the way I implemented it in bitboard.cc), reverted back to the original bitboard.cc, and all is fine.
Finally got it right by correctly adding the changes to bitboard.cc, sorry for any confusion caused.
g++ ./src/*.cc -o ./chess -DNDEBUG -std=c++11 -O3 -flto -fno-rtti -Wall -s -march=bdver2 -mtune=bdver2 -fprofile-use -mpopcnt