GCC 11 vs. LLVM Clang 12 Compilers On The AMD EPYC 7763
Written by Michael Larabel in Software on 4 May 2021. Page 4 of 4. 7 Comments

The FinanceBench results were quite close between compilers.

ViennaCL seems to hugely favor GCC over Clang at least for this AMD x86_64 server being used for benchmarking.

Clang meanwhile was yielding faster binaries for the ASTC texture encoder.

Clang also came out ahead for SecureMark.

When carrying out 174 benchmarks between GCC 11 and Clang 12 on the AMD EPYC 7763 server, Clang 12.0 actually came in first place -- regardless of the spread -- 63% of the time.

If taking the geometric mean of all 174 benchmarks completed successfully on both compilers, it's basically a dead heat between these two open-source compilers. That's how the position stands right now at least for an AMD EPYC 7763 server. Additional tests are ongoing from multiple hardware platforms. There are also other changes already building up for the next versions of these compilers like LLVM 13 having the Zen 3 scheduler model that was just added this past week.

If you enjoyed this article consider joining Phoronix Premium to view this site ad-free, multi-page articles on a single page, and other benefits. PayPal tips are also graciously accepted. Thanks for your support.


Related Articles
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.

Trending Linux News