Compiler Optimizations For AMD Steamroller/Kaveri

Compiler benchmarks by Michael Larabel for a future article on Phoronix.com

HTML result view exported from: https://openbenchmarking.org/result/1408161-KH-COMPILERO99&grw&sro.

Compiler Optimizations For AMD Steamroller/KaveriProcessorMotherboardChipsetMemoryDiskGraphicsAudioMonitorNetworkOSKernelDesktopDisplay ServerDisplay DriverOpenGLCompilerFile-SystemScreen Resolutionk8k8-sse3barcelonabdver1bdver2bdver3bdver3 + fltoAMD A10-7800 Radeon R7 12 Compute Cores 4C+8G @ 3.50GHz (4 Cores)ASUS A88X-PROAMD Family 15h7168MB64GB OCZ AGILITYASUS AMD Radeon R7 200 1024MBAMD Kaveri HDMI/DPSyncMasterRealtek RTL8111/8168/8411Ubuntu 14.043.16.0-031600-generic (x86_64)Unity 7.2.2X Server 1.15.1radeon 7.4.993.3 Mesa 10.3.0-devel (git-b1843a2 2014-08-10 trusty-oibaf-ppa+gallium-nine) Gallium 0.4GCC 4.10.0 20140810ext42560x1600OpenBenchmarking.orgCompiler Details- --disable-multilib --enable-checking=release --enable-languages=c,c++Processor Details- Scaling Governor: acpi-cpufreq ondemand

Compiler Optimizations For AMD Steamroller/Kaveriencode-flac: WAV To FLACencode-mp3: WAV To MP3himeno: Poisson Pressure Solverbuild-apache: Time To Compilebuild-php: Time To Compilegraphics-magick: Blurgraphics-magick: Sharpengraphics-magick: Resizinggraphics-magick: HWB Color Spacegraphics-magick: Local Adaptive Thresholdingc-ray: Total Timeffmpeg: H.264 HD To NTSC DVk8k8-sse3barcelonabdver1bdver2bdver3bdver3 + flto6.7420.85870.3361.0658.0977421021297796.8921.736.7420.61869.5361.0758.1292421021297696.9321.787.2222.28871.1761.0758.1591581191377765.5721.775.2819.63883.0661.2960.55100681241378147.4321.955.5219.60872.2261.7160.57100671241378147.3221.695.5919.61882.1161.4020.23100671241378147.3121.605.3719.67880.9596.69184.15100671241378247.4121.65OpenBenchmarking.org

FLAC Audio Encoding

WAV To FLAC

OpenBenchmarking.orgSeconds, Fewer Is BetterFLAC Audio Encoding 1.3.0WAV To FLACbarcelonabdver1bdver2bdver3bdver3 + fltok8k8-sse3246810SE +/- 0.01, N = 5SE +/- 0.01, N = 5SE +/- 0.01, N = 5SE +/- 0.01, N = 5SE +/- 0.01, N = 5SE +/- 0.01, N = 5SE +/- 0.01, N = 57.225.285.525.595.376.746.74-march=barcelona-march=bdver1-march=bdver2-march=bdver3-march=bdver3 -flto-march=k8-march=k8-sse31. (CXX) g++ options: -O3 -fvisibility=hidden -logg -lm

LAME MP3 Encoding

WAV To MP3

OpenBenchmarking.orgSeconds, Fewer Is BetterLAME MP3 Encoding 3.99.3WAV To MP3barcelonabdver1bdver2bdver3bdver3 + fltok8k8-sse3510152025SE +/- 0.02, N = 5SE +/- 0.04, N = 5SE +/- 0.01, N = 5SE +/- 0.02, N = 5SE +/- 0.02, N = 5SE +/- 0.27, N = 5SE +/- 0.02, N = 522.2819.6319.6019.6119.6720.8520.61-march=barcelona-march=bdver1-march=bdver2-march=bdver3-march=bdver3 -flto-march=k8-march=k8-sse31. (CC) gcc options: -pipe -O3 -lncurses -lm

Himeno Benchmark

Poisson Pressure Solver

OpenBenchmarking.orgMFLOPS, More Is BetterHimeno Benchmark 3.0Poisson Pressure Solverbarcelonabdver1bdver2bdver3bdver3 + fltok8k8-sse32004006008001000SE +/- 1.09, N = 3SE +/- 1.93, N = 3SE +/- 3.58, N = 3SE +/- 2.02, N = 3SE +/- 0.76, N = 3SE +/- 0.27, N = 3SE +/- 0.82, N = 3871.17883.06872.22882.11880.95870.33869.53-march=barcelona-march=bdver1-march=bdver2-march=bdver3-march=bdver3 -flto-march=k8-march=k8-sse31. (CC) gcc options: -O3

Timed Apache Compilation

Time To Compile

OpenBenchmarking.orgSeconds, Fewer Is BetterTimed Apache Compilation 2.4.7Time To Compilebarcelonabdver1bdver2bdver3bdver3 + fltok8k8-sse320406080100SE +/- 0.15, N = 3SE +/- 0.04, N = 3SE +/- 0.27, N = 3SE +/- 0.10, N = 3SE +/- 0.10, N = 3SE +/- 0.28, N = 3SE +/- 0.14, N = 361.0761.2961.7161.4096.6961.0661.07

Timed PHP Compilation

Time To Compile

OpenBenchmarking.orgSeconds, Fewer Is BetterTimed PHP Compilation 5.2.9Time To Compilebarcelonabdver1bdver2bdver3bdver3 + fltok8k8-sse34080120160200SE +/- 0.02, N = 3SE +/- 0.03, N = 3SE +/- 0.06, N = 3SE +/- 0.03, N = 3SE +/- 0.86, N = 3SE +/- 0.06, N = 3SE +/- 0.02, N = 358.1560.5560.5720.23184.1558.0958.12-march=barcelona-march=bdver1-march=bdver2-march=bdver3-march=bdver3 -flto-march=k8-march=k8-sse31. (CC) gcc options: -O3 -pedantic -ldl -lz -lm

GraphicsMagick

Operation: Blur

OpenBenchmarking.orgIterations Per Minute, More Is BetterGraphicsMagick 1.3.19Operation: Blurbarcelonabdver1bdver2bdver3bdver3 + fltok8k8-sse320406080100SE +/- 0.33, N = 3SE +/- 0.58, N = 3SE +/- 0.33, N = 3SE +/- 0.58, N = 3SE +/- 0.33, N = 3SE +/- 0.33, N = 3SE +/- 0.33, N = 3911001001001007792-march=barcelona-march=bdver1-march=bdver2-march=bdver3-march=bdver3 -flto-march=k8-march=k8-sse31. (CC) gcc options: -std=gnu99 -fopenmp -O3 -pthread -ljbig -lwebp -ljpeg -lXext -lSM -lICE -lX11 -llzma -lxml2 -lz -lm -lpthread

GraphicsMagick

Operation: Sharpen

OpenBenchmarking.orgIterations Per Minute, More Is BetterGraphicsMagick 1.3.19Operation: Sharpenbarcelonabdver1bdver2bdver3bdver3 + fltok8k8-sse31530456075SE +/- 0.00, N = 3SE +/- 0.33, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.33, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 358686767674242-march=barcelona-march=bdver1-march=bdver2-march=bdver3-march=bdver3 -flto-march=k8-march=k8-sse31. (CC) gcc options: -std=gnu99 -fopenmp -O3 -pthread -ljbig -lwebp -ljpeg -lXext -lSM -lICE -lX11 -llzma -lxml2 -lz -lm -lpthread

GraphicsMagick

Operation: Resizing

OpenBenchmarking.orgIterations Per Minute, More Is BetterGraphicsMagick 1.3.19Operation: Resizingbarcelonabdver1bdver2bdver3bdver3 + fltok8k8-sse3306090120150SE +/- 0.33, N = 3SE +/- 0.33, N = 3SE +/- 0.33, N = 3SE +/- 0.33, N = 3SE +/- 0.00, N = 3SE +/- 0.33, N = 3SE +/- 0.33, N = 3119124124124124102102-march=barcelona-march=bdver1-march=bdver2-march=bdver3-march=bdver3 -flto-march=k8-march=k8-sse31. (CC) gcc options: -std=gnu99 -fopenmp -O3 -pthread -ljbig -lwebp -ljpeg -lXext -lSM -lICE -lX11 -llzma -lxml2 -lz -lm -lpthread

GraphicsMagick

Operation: HWB Color Space

OpenBenchmarking.orgIterations Per Minute, More Is BetterGraphicsMagick 1.3.19Operation: HWB Color Spacebarcelonabdver1bdver2bdver3bdver3 + fltok8k8-sse3306090120150SE +/- 0.00, N = 3SE +/- 0.33, N = 3SE +/- 0.00, N = 3SE +/- 0.33, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.33, N = 3137137137137137129129-march=barcelona-march=bdver1-march=bdver2-march=bdver3-march=bdver3 -flto-march=k8-march=k8-sse31. (CC) gcc options: -std=gnu99 -fopenmp -O3 -pthread -ljbig -lwebp -ljpeg -lXext -lSM -lICE -lX11 -llzma -lxml2 -lz -lm -lpthread

GraphicsMagick

Operation: Local Adaptive Thresholding

OpenBenchmarking.orgIterations Per Minute, More Is BetterGraphicsMagick 1.3.19Operation: Local Adaptive Thresholdingbarcelonabdver1bdver2bdver3bdver3 + fltok8k8-sse320406080100SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.33, N = 3SE +/- 0.33, N = 3SE +/- 0.33, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 377818181827776-march=barcelona-march=bdver1-march=bdver2-march=bdver3-march=bdver3 -flto-march=k8-march=k8-sse31. (CC) gcc options: -std=gnu99 -fopenmp -O3 -pthread -ljbig -lwebp -ljpeg -lXext -lSM -lICE -lX11 -llzma -lxml2 -lz -lm -lpthread

C-Ray

Total Time

OpenBenchmarking.orgSeconds, Fewer Is BetterC-Ray 1.1Total Timebarcelonabdver1bdver2bdver3bdver3 + fltok8k8-sse320406080100SE +/- 0.06, N = 3SE +/- 0.04, N = 3SE +/- 0.04, N = 3SE +/- 0.09, N = 3SE +/- 0.02, N = 3SE +/- 0.07, N = 3SE +/- 0.09, N = 365.5747.4347.3247.3147.4196.8996.93-march=barcelona-march=bdver1-march=bdver2-march=bdver3-march=bdver3 -flto-march=k8-march=k8-sse31. (CC) gcc options: -lm -lpthread -O3

FFmpeg

H.264 HD To NTSC DV

OpenBenchmarking.orgSeconds, Fewer Is BetterFFmpeg 2.1.1H.264 HD To NTSC DVbarcelonabdver1bdver2bdver3bdver3 + fltok8k8-sse3510152025SE +/- 0.09, N = 3SE +/- 0.03, N = 3SE +/- 0.07, N = 3SE +/- 0.08, N = 3SE +/- 0.15, N = 3SE +/- 0.05, N = 3SE +/- 0.12, N = 321.7721.9521.6921.6021.6521.7321.78-march=barcelona-march=bdver1-march=bdver2-march=native-march=bdver3 -flto-march=k8-march=k8-sse31. (CC) gcc options: -lavdevice -lavfilter -lavformat -lavcodec -lswresample -lswscale -lavutil -ldl -lXv -lX11 -lXext -lasound -lSDL -lm -pthread -O3 -std=c99 -fomit-frame-pointer -fno-math-errno -fno-signed-zeros -fno-tree-vectorize -MMD -MF -MT


Phoronix Test Suite v10.8.5