AMD Zen 2 "Znver2" Compiler Optimizations Back-Ported For GCC 9.2 Compiler

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.
2 Comments