Hard to say. Depends on your code.
Some benchmarks comparing gcc 4, 5 and 6 here:
http://www.phoronix.com/scan.php?page=a ... bian&num=2
GCC or Intel compiler for Linux ?
Moderators: hgm, Dann Corbit, Harvey Williamson
-
jdart
- Posts: 4361
- Joined: Fri Mar 10, 2006 5:23 am
- Location: http://www.arasanchess.org
-
Isaac
- Posts: 265
- Joined: Sat Feb 22, 2014 8:37 pm
Re: GCC or Intel compiler for Linux ?
Are you compiling the c++ code? If so, why don't you just download the binary of pedantfish or asmfish? It's SF ported to assembly, about 25% faster than the c++ binaries compiled with gcc.Canoike wrote:HI !
Which compiler produces the fastest executable for Linux ? GCC 5.x or Intel compiler?
My goal is to build a fast Stockfish. Currently, I use GCC 5.4.
I tried clang but is builds a too slow executable.
Thanks.
-
Canoike
- Posts: 125
- Joined: Tue Jan 17, 2012 8:08 pm
Re: GCC or Intel compiler for Linux ?
I have installed GCC and G++ 4.9 and 4.8.
4.8 produces a 270 KO executable, 4.9 a 279 KO one, and 5.4 a 309 KO one.
The smallest gives a higher nodes per second.
4.8 produces a 270 KO executable, 4.9 a 279 KO one, and 5.4 a 309 KO one.
The smallest gives a higher nodes per second.