GCC 11 vs. LLVM Clang 12 Compilers On The AMD EPYC 7763
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 or Stripe tips are also graciously accepted. Thanks for your support.