AMD Compiler Optimization Benchmarks With GCC 4.10 (GCC 5.0)

Written by Michael Larabel in GNU on 16 August 2014 at 11:57 AM EDT. 21 Comments
GNU
As a continuation to yesterday's brief GCC 4.9 vs. GCC 4.10 (GCC 5.0) comparison with the AMD A10 A-Series "Kaveri" APU, here's some benchmarks when using the GCC 4.10 development snapshot and trying a variety of CFLAGS/CXXFLAGS to see the current impact on their performance for a variety of Linux benchmarks.

For another straightforward, simple benchmarking article this weekend are the reference results when running the A10-7800 APU system with Ubuntu 14.04 64-bit on the freshly-built GCC 4.10 development snapshot with a variety of common x86 compiler flags for AMD hardware. The flags included:

-march=k8
-march=k8-sse3
-march=barcelona
-march=bdver1
-march=bdver2
-march=bdver3
-march=bdver3 -flto


Documentation for these flags can be found via the GCC documentation.
Compiler Optimizations For AMD Steamroller/Kaveri
Compiler Optimizations For AMD Steamroller/Kaveri

The results themselves for this new AMD Kaveri APU with these various compiler flags aren't a huge surprise. You can find all the data on OpenBenchmarking.org. Enjoy and feel free to run your own compiler benchmarks with the Phoronix Test Suite.
Related News
About The Author
Michael Larabel

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, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week