GCC Compiler Tuning On The AMD A10-6800K APU

Written by Michael Larabel in AMD on 30 June 2013 at 02:59 PM EDT. 5 Comments
AMD
For those curious about how the system performance is impacted by applying compiler optimizations to the AMD A10-6800K "Richland" APU, here's some benchmarks of GCC 4.8.1 on Ubuntu Linux.

Most often when carrying out compiler benchmarks at Phoronix it's done with Intel CPUs since there's a whole lot more Intel processors around here than AMD hardware, since Intel proactively sends over a whole lot more samples than AMD has in recent times. With having bought the AMD A10-6800K this week, over the weekend I ran some GCC 4.8.1 compiler benchmarks out of curiosity.

GCC vs. LLVM/Clang benchmarks on this Richland desktop APU will be coming in the next few days, but for this Sunday article are just some GCC compiler tuning benchmarks when trying different -march= CFLAGS/CXXFLAGS and running a variety of source-based benchmarks via the Phoronix Test Suite.

The results aren't overly interesting or a huge surprise (thus just warranting this quick one page article to provide some reference numbers for those interested), but the results in full can be found in 1306303-SO-AMDA1068056 for the overclocked A10-6800K.
AMD A10-6800K Compiler GCC Tuning

For some computational workloads, hitting all the instruction set extensions offered by this latest-generation 64-bit AMD APU is worthwhile but as a whole it likely won't be worth rebuilding all of your packages unless you're already running a source-based distribution.
AMD A10-6800K Compiler GCC Tuning
The different -march= compiler flags are documented within the GCC online documentation.
AMD A10-6800K Compiler GCC Tuning
More interesting AMD A10-6800K Linux benchmarks are forthcoming in the next few days on Phoronix. Now see the rest of the results.
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