AMD Zen 2 "Znver2" Compiler Optimizations Back-Ported For GCC 9.2 Compiler
Written by Michael Larabel in GNU on 30 July 2019 at 06:51 AM EDT. 2 Comments
GNU --
Last week I wrote about the GCC 10 compiler picking up a new scheduler model and cost tables for AMD Zen 2 CPUs to build off the initial "znver2" microarchitecture target from last year. Fortunately, those Znver2-specific improvements have now been back-ported to the GCC 9 compiler branch so it will see user systems with not as long of a wait until GCC 10 stable.

SUSE compiler engineer Jan Hubicka who worked out the scheduler model and cost table adjustments for Znver2 has now back-ported the changes to gcc-9-branch. With GCC 10.1 as the first GCC 10 stable release not due out until Q2'2020, this back-porting will allow it to see user systems sooner.

GCC 9.2.0 should be out within the next month or two if their past x.2.0 timing is any indication. Though whether that will align for getting this minor bug-fix release into Ubuntu 19.10, Fedora 31, or others, remains to be seen.

Hopefully for future CPU launches, AMD is able to improve their compiler enablement alignment similar to Intel where it comes out well in advance so as not to worry about software release schedules post-launch for getting out this optimized support.

Yesterday I did wrap up compiler benchmarks of the new GCC 10 Znver2 code and will be publishing those results tomorrow.
Related News
About The Author
Author picture

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter or contacted via MichaelLarabel.com.

Popular News This Week