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


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.

The different -march= compiler flags are documented within the GCC online documentation.

More interesting AMD A10-6800K Linux benchmarks are forthcoming in the next few days on Phoronix. Now see the rest of the results.
About The Author
Author picture

Michael Larabel is the principal author of Phoronix.com and founded the web-site in 2004 with a focus on enriching the Linux hardware experience and being the largest web-site devoted to Linux hardware reviews, particularly for products relevant to Linux gamers and enthusiasts but also commonly reviewing servers/workstations and embedded Linux devices. Michael has written more than 10,000 articles covering the state of Linux hardware support, Linux performance, graphics hardware drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated testing software. He can be followed via Twitter or contacted via MichaelLarabel.com.

Related AMD News
Popular News
Trending Reviews & Featured Articles