| View previous topic :: View next topic |
| Author |
Message |
Vincent Diepeveen
Joined: 09 Mar 2006 Posts: 1738 Location: The Netherlands
|
Post subject: Re: Stockfish port to C# Complete Posted: Mon Mar 26, 2012 9:34 pm |
|
|
| mcostalba wrote: |
| diep wrote: |
| mcostalba wrote: |
| diep wrote: |
| Every compare here is with GCC. A junk compiler i use daily, so the junk it produces i know everything about. |
GCC has improved a bit since the 90s. Today this produces the fastest binary on Windows:
http://www.equation.com/servlet/equation.cmd?fa=fortran |
Why do you claim this nonsense?
|
When, in the 90s, have you stopped testing and started to go "by memory" ?
For your information this is the compiler used by Jim to produce the fastest x86-64 SSE42 Windows binary released for SF 2.2.2 (few months ago). Before, until last year, he was using the Intel compiler, but found this one faster. |
Latest GCC snapshot i tested a few weeks ago, and it's still lightyears behind intel c++ and even visual studio.
Just because it hardly gets any speedup by PGO.
To avoid a bug in GCC's pgo, i'm doing the profile run single threaded with Diep. Even then it just gives 3% speedup.
I've posted extensively examples of how GCC messes up everywhere on the net. Starting in 2007.
Latest snapshot still didn't have that fixed.
So it already STARTS with a disadvantage over other compilers of 25% or so. Such bad PGO performance is of course a joke.
Note that around 2004-2005 some snapshots back then did do pretty ok at PGO, then suddenly BOOM and it no longer worked at all for Diep that is.
Default pgo gives 0.5% in GCC. Bug after bug and 7 years later it still hasn't been fixed.
One of the big screw ups in GCC which hits much software hard is the rewrite to end of function; it is grabbing your code, and instead of generating a simple CMOV it moves the code to end of function, jumps sometimes to there and then jumps after executing 2 instructions, back to where it was.
That *hurts*.
To quote Linus: "there is no excuse to not generate CMOV's"
A polish guy then posted back in 2007 replying to Linus: "but then it is slower at my P4".
Only at around end 2011 they started moving. We're some months later now, but a snapshot of a few weeks ago still was TURTLE slow still having the same bugs and bottlenecks.
Of course i am compiling for 64 bits, yet diep's code would be faster in 32 bits; i just want efficient code without messing up with the branch prediction.
I want a normal PGO just like other compilers have it!
They aren't capable of producing that, and they're overruling Linus on their way refusing to generate effectively shorter code for *many* years.
Now that they have some competition from other compilers that are 'on the production line' to overtake GCC, it wouldn't amaze me if they 'magically' suddenly improve a lot. They need a kick in their butt man.
The GCC team showed the middle finger to dozens of very important and influencial guys such as Linus for many years.
I'm amazed they know how to produce SSE 4.2 with SF, as they still didn't figure out how to efficiently produce code for branches. The entire fall through model of intel simply hasn't been implemented in GCC.
When did intel introduce this?
Oh 1994 or so?
The difference of gcc 4.0 versus the latest snapshots i tried, is just a few percent for Diep, meanwhile visualstudio and intel c++ got dozens of percentages faster for the modern hardware opteron (barcelona core) and core2 xeons that i have here.
Vincent
"x86-64 and IA-64 will prove to be the ultimate disaster for GCC"
Marc Lehmann, in a private email to me |
|
| Back to top |
|
 |
|
| Subject |
Author |
Date/Time |
Stockfish port to C# Complete |
David Whitten |
Thu Mar 15, 2012 9:13 pm |
Re: Stockfish port to C# Complete |
Jan Brouwer |
Thu Mar 15, 2012 9:29 pm |
Re: Stockfish port to C# Complete |
David Whitten |
Thu Mar 15, 2012 9:45 pm |
Re: Stockfish port to C# Complete |
Jan Brouwer |
Thu Mar 15, 2012 10:51 pm |
Re: Stockfish port to C# Complete |
David Whitten |
Thu Mar 15, 2012 11:04 pm |
Re: Stockfish port to C# Complete |
Mel Cooper |
Mon Mar 19, 2012 12:11 pm |
Re: Stockfish port to C# Complete |
David Whitten |
Thu Mar 15, 2012 11:08 pm |
Re: Stockfish port to C# Complete |
Vincent Diepeveen |
Sun Mar 18, 2012 2:57 pm |
Re: Stockfish port to C# Complete |
Vincent Diepeveen |
Sun Mar 18, 2012 3:05 pm |
Re: Stockfish port to C# Complete |
David Whitten |
Sun Mar 18, 2012 3:24 pm |
Re: Stockfish port to C# Complete |
Vincent Diepeveen |
Sun Mar 18, 2012 3:27 pm |
Re: Stockfish port to C# Complete |
David Whitten |
Sun Mar 18, 2012 3:44 pm |
Re: Stockfish port to C# Complete |
Vincent Diepeveen |
Sun Mar 18, 2012 3:47 pm |
Re: Stockfish port to C# Complete |
David Whitten |
Sun Mar 18, 2012 3:59 pm |
Re: Stockfish port to C# Complete |
Vincent Diepeveen |
Sun Mar 18, 2012 4:11 pm |
Re: Stockfish port to C# Complete |
Marco Costalba |
Sun Mar 18, 2012 4:49 pm |
Re: Stockfish port to C# Complete |
Vincent Diepeveen |
Sun Mar 18, 2012 5:00 pm |
Re: Stockfish port to C# Complete |
Marco Costalba |
Sun Mar 18, 2012 5:22 pm |
Re: Stockfish port to C# Complete |
Ronald de Man |
Sun Mar 18, 2012 5:53 pm |
Re: Stockfish port to C# Complete |
David Whitten |
Sun Mar 18, 2012 7:01 pm |
Re: Stockfish port to C# Complete |
Matthew R. Brades |
Sun Mar 18, 2012 7:06 pm |
Re: Stockfish port to C# Complete |
Ronald de Man |
Sun Mar 18, 2012 7:10 pm |
Re: Stockfish port to C# Complete |
Marco Costalba |
Sun Mar 18, 2012 10:31 pm |
Re: Stockfish port to C# Complete |
David Whitten |
Mon Mar 19, 2012 3:55 am |
Re: Stockfish port to C# Complete |
Marco Costalba |
Mon Mar 19, 2012 7:42 am |
Re: Stockfish port to C# Complete |
Vincent Diepeveen |
Mon Mar 19, 2012 8:00 am |
Re: Stockfish port to C# Complete |
Vincent Diepeveen |
Mon Mar 19, 2012 8:03 am |
Re: Stockfish port to C# Complete |
Ronald de Man |
Mon Mar 19, 2012 7:41 pm |
Re: Stockfish port to C# Complete |
Mark Pearce |
Mon Mar 19, 2012 4:27 pm |
Re: Stockfish port to C# Complete |
Vincent Diepeveen |
Tue Mar 20, 2012 1:12 am |
Re: Stockfish port to C# Complete |
Mark Pearce |
Sat Mar 24, 2012 11:43 am |
Re: Stockfish port to C# Complete |
Gary |
Sat Mar 24, 2012 1:15 pm |
Re: Stockfish port to C# Complete |
Mark Pearce |
Sat Mar 24, 2012 3:28 pm |
Re: Stockfish port to C# Complete |
Mark Pearce |
Sat Mar 24, 2012 5:13 pm |
Re: Stockfish port to C# Complete |
Balint Pfliegel |
Sun Mar 25, 2012 7:15 am |
Re: Stockfish port to C# Complete |
Mark Pearce |
Sun Mar 25, 2012 10:40 am |
Re: Stockfish port to C# Complete |
Vincent Diepeveen |
Sun Mar 25, 2012 9:50 am |
Re: Stockfish port to C# Complete |
Marco Costalba |
Sun Mar 25, 2012 10:14 am |
Re: Stockfish port to C# Complete |
Vincent Diepeveen |
Sun Mar 25, 2012 3:23 pm |
Re: Stockfish port to C# Complete |
Marco Costalba |
Sun Mar 25, 2012 5:16 pm |
Re: Stockfish port to C# Complete |
Vincent Diepeveen |
Mon Mar 26, 2012 9:34 pm |
Re: Stockfish port to C# Complete |
Jim Ablett |
Tue Mar 27, 2012 10:23 pm |
Re: Stockfish port to C# Complete |
Vincent Diepeveen |
Wed Mar 28, 2012 9:03 am |
Re: Stockfish port to C# Complete |
Jim Ablett |
Wed Mar 28, 2012 11:13 am |
Re: Stockfish port to C# Complete |
Vincent Diepeveen |
Wed Mar 28, 2012 12:39 pm |
Re: Stockfish port to C# Complete |
Jim Ablett |
Wed Mar 28, 2012 12:48 pm |
Re: Stockfish port to C# Complete |
Vincent Diepeveen |
Wed Mar 28, 2012 12:54 pm |
Re: Stockfish port to C# Complete |
Jim Ablett |
Wed Mar 28, 2012 1:06 pm |
Re: Stockfish port to C# Complete |
Vincent Diepeveen |
Wed Mar 28, 2012 1:08 pm |
Re: Stockfish port to C# Complete |
Robert Hyatt |
Wed Mar 28, 2012 5:01 pm |
Re: Stockfish port to C# Complete |
Jim Ablett |
Wed Mar 28, 2012 5:19 pm |
GCC 4.7.0 versus intel c++ |
Vincent Diepeveen |
Fri Mar 30, 2012 12:15 am |
Re: GCC 4.7.0 versus intel c++ |
Jim Ablett |
Fri Mar 30, 2012 9:18 am |
Re: GCC 4.7.0 versus intel c++ |
Vincent Diepeveen |
Fri Mar 30, 2012 1:15 pm |
Re: Stockfish port to C# Complete |
Ricardo Barreira |
Wed Mar 28, 2012 2:46 pm |
Re: Stockfish port to C# Complete |
Mark Pearce |
Sun Mar 25, 2012 11:03 am |
Re: Stockfish port to C# Complete |
Balint Pfliegel |
Sun Mar 25, 2012 12:31 pm |
Re: Stockfish port to C# Complete |
Vincent Diepeveen |
Sun Mar 25, 2012 3:39 pm |
Re: Stockfish port to C# Complete |
Balint Pfliegel |
Sun Mar 25, 2012 4:50 pm |
Re: Stockfish port to C# Complete |
Balint Pfliegel |
Sun Mar 25, 2012 5:05 pm |
Re: Stockfish port to C# Complete |
David Whitten |
Sun Mar 25, 2012 8:31 pm |
Re: Stockfish port to C# Complete |
Ted Wong |
Mon Mar 26, 2012 12:50 am |
Re: Stockfish port to C# Complete |
David Whitten |
Mon Mar 26, 2012 10:38 am |
Re: Stockfish port to C# Complete |
Balint Pfliegel |
Mon Mar 26, 2012 6:02 am |
Re: Stockfish port to C# Complete |
David Whitten |
Mon Mar 26, 2012 10:42 am |
Re: Stockfish port to C# Complete |
Vincent Diepeveen |
Mon Mar 26, 2012 9:59 pm |
Re: Stockfish port to C# Complete |
Mark Pearce |
Tue Mar 27, 2012 7:43 pm |
Re: Stockfish port to C# Complete |
David Whitten |
Sun Mar 18, 2012 3:23 am |
Re: Stockfish port to C# Complete |
Balint Pfliegel |
Wed Mar 21, 2012 10:48 pm |
Re: Stockfish port to C# Complete |
David Whitten |
Thu Mar 22, 2012 4:19 am |
Re: Stockfish port to C# Complete |
Balint Pfliegel |
Thu Mar 22, 2012 6:51 am |
Re: Stockfish port to C# Complete |
David Whitten |
Thu Mar 22, 2012 3:19 pm |
Re: Stockfish port to C# Complete |
Balint Pfliegel |
Fri Mar 23, 2012 5:47 am |
Re: Stockfish port to C# Complete |
Jim Ablett |
Wed Mar 28, 2012 4:14 pm |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|