If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

GCC 9.0 Compiler Benchmarks Against GCC7/GCC8 At The End Of 2018

12-28-2018, 04:40 PM

Phoronix: GCC 9.0 Compiler Benchmarks Against GCC7/GCC8 At The End Of 2018

In early 2019 we will see the first stable release of GCC 9 as the annual update to the GNU Compiler Collection that is bringing the D language front-end, more C2X and C++ additions, various microarchitecture optimizations from better Znver1 support to Icelake, and a range of other additions we'll provide a convenient recap of shortly. But for those wondering how the GCC 9 performance is looking, here are some fresh benchmarks when benchmarking the latest daily GCC 9.0 compiler against GCC 7.4 and GCC 8.2 atop Clear Linux using an Intel Core i9 7980XE Skylake-X system.

Comment

By switching from several subtly different sets of hand-rolled text macros emitting C to a single implementation of code using C++, there are many opportunities for sophisticated compiler-driven optimizations that were not possible before the change.

More importantly, though, the code is easier to understand. That makes it easier to maintain, less bug-prone, and better able to be extended with more sophisticated algorithms with greatly reduced effort.

7 likes

Comment

By switching from several subtly different sets of hand-rolled text macros emitting C to a single implementation of code using C++, there are many opportunities for sophisticated compiler-driven optimizations that were not possible before the change.

More importantly, though, the code is easier to understand. That makes it easier to maintain, less bug-prone, and better able to be extended with more sophisticated algorithms with greatly reduced effort.

You have some example or an link to a article with a more profound discussion of those changes? Thanks!

Comment

Weasel Do you have an actual point to make or opinion to share other than being obnoxious and rude? I wish you all the maintenance joy of performance-sensitive code that combines macro code-generation with conditional compilation as well as healthy amount of branching, and raw arrays and plenty of pointer manipulation everywhere, whether performance requires it or not