GCC & LLVM Clang Compiler Benchmarks On AMD's EPYC 7601

Written by Michael Larabel in Software on 26 September 2017 at 02:11 PM EDT. Page 2 of 6. 17 Comments.
Debian Linux EPYC Compiler Tests

In many benchmarks these days, LLVM Clang and GCC are producing binaries that perform at close to the same speed... Certainly that couldn't be said just a few years ago when Clang was still catching up to the performance levels and optimizations of GCC.

Debian Linux EPYC Compiler Tests

With the BLAKE2 crypto test, LLVM Clang was more efficient than the three most recent GCC branches tested.

Debian Linux EPYC Compiler Tests

With the C-written micro-benchmarks of SciMark2, GCC 6.3 as found on Debian Stretch was the compiler yielding the fastest binaries. GCC 8.0 actually has regressed in performance more than GCC 7.2 and GCC 6.3.

Debian Linux EPYC Compiler Tests

The Monte Carlo sub-test is where GCC has regressed in comparison to GCC 6.3 or Clang.

Debian Linux EPYC Compiler Tests
Debian Linux EPYC Compiler Tests

While in some tests like with FFT and Sparse Matrix Multiply, Clang is slightly faster than GCC.

Debian Linux EPYC Compiler Tests

GCC 8.0 is also currently regressed when it comes to the dense LU matrix factorization.


Related Articles