ARM GCC 4.7.2 Cortex-A15 Compiler Optimizations

Benchmarking compiler optimization levels on GCC 4.7.2 from a Google Nexus 10 with Samsung Exynos 5 Dual SoC. It's an ARM Cortex-A15 dual-core 1.7GHz processor. Benchmarking by Michael Larabel for a future article on Phoronix.

HTML result view exported from: https://openbenchmarking.org/result/1302284-FO-ARMGCC47227&sor&grs.

ARM GCC 4.7.2 Cortex-A15 Compiler OptimizationsProcessorMotherboardMemoryDiskOSKernelCompilerFile-SystemScreen Resolution-Os-O0-O1-O2-O3-OfastARMv7 rev 4 @ 1.70GHz (2 Cores)Manta2048MB16GB MAG2GAUbuntu 12.103.4.5-gf68518f (armv7l)GCC 4.7ext42560x1600OpenBenchmarking.orgCompiler Details- --build=arm-linux-gnueabihf --disable-libitm --disable-sjlj-exceptions --disable-werror --enable-checking=release --enable-clocale=gnu --enable-gnu-unique-object --enable-languages=c,c++,go,fortran,objc,obj-c++ --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-multilib --enable-nls --enable-objc-gc --enable-plugin --enable-shared --enable-threads=posix --host=arm-linux-gnueabihf --target=arm-linux-gnueabihf --with-arch=armv7-a --with-float=hard --with-fpu=vfpv3-d16 --with-mode=thumb -v Processor Details- Scaling Governor: interactive

ARM GCC 4.7.2 Cortex-A15 Compiler Optimizationssmallpt: Global Illumination Renderer; 100 Samplesgraphics-magick: Local Adaptive Thresholdingencode-opus: WAV, Opus Encode, Opus Decodenero2d: Total Timegraphics-magick: Sharpenc-ray: Total Timegraphics-magick: Resizingbuild-php: Time To Compilehimeno: Poisson Pressure Solvergraphics-magick: HWB Color Spacegraphics-magick: Blur-Os-O0-O1-O2-O3-Ofast7841955.783505.7820588.3836204.10100.58482913886163.437634.247909.8516117.1760.4327163611951.842300.7019653.1736191.56108.5747303292247.802142.9523523.5840252.76140.04473112972246.642149.0523349.8340285.41141.5547302792245.732145.4423332.8739286.52129.495531OpenBenchmarking.org

Smallpt

Global Illumination Renderer; 100 Samples

OpenBenchmarking.orgSeconds, Fewer Is BetterSmallpt 1.0Global Illumination Renderer; 100 Samples-Ofast-O2-O1-Os-O3-O030060090012001500SE +/- 1.20, N = 3SE +/- 2.73, N = 3SE +/- 1.53, N = 3SE +/- 3.48, N = 3SE +/- 4.18, N = 3SE +/- 25.31, N = 327932936178412971388-Ofast-O2-O1-Os-O01. (CXX) g++ options: -fopenmp

GraphicsMagick

Operation: Local Adaptive Thresholding

OpenBenchmarking.orgIterations Per Minute, More Is BetterGraphicsMagick 1.3.16Operation: Local Adaptive Thresholding-Ofast-O3-O2-O1-Os-O0510152025SE +/- 0.00, N = 3SE +/- 0.33, N = 3SE +/- 0.33, N = 3SE +/- 0.33, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 322222219196-Ofast-O2-O2-O1-Os-O01. (CC) gcc options: -std=gnu99 -fopenmp -pthread -lXext -lSM -lICE -lX11 -lbz2 -lz -lm -lgomp -lpthread

Opus Codec Encoding

WAV, Opus Encode, Opus Decode

OpenBenchmarking.orgSeconds, Fewer Is BetterOpus Codec Encoding 1.0.1WAV, Opus Encode, Opus Decode-Ofast-O3-O2-O1-Os-O04080120160200SE +/- 0.03, N = 5SE +/- 0.02, N = 5SE +/- 0.05, N = 5SE +/- 0.17, N = 5SE +/- 0.03, N = 5SE +/- 0.17, N = 545.7346.6447.8051.8455.78163.43-Ofast-O3 -ffast-math-O2-O1-Os-O01. (CC) gcc options: -std=gnu99 -fPIE -pie -logg -lm -lopus

Open FMM Nero2D

Total Time

OpenBenchmarking.orgSeconds, Fewer Is BetterOpen FMM Nero2D 2.0.2Total Time-O2-Ofast-O3-O1-Os-O0160032004800640080002142.952145.442149.052300.703505.787634.24-O2-Ofast-O2-O1-Os-O01. (CXX) g++ options: -lfftw3 -llapack -lblas -lgfortran -lm

GraphicsMagick

Operation: Sharpen

OpenBenchmarking.orgIterations Per Minute, More Is BetterGraphicsMagick 1.3.16Operation: Sharpen-Ofast-O3-O2-Os-O1-O0612182430SE +/- 0.33, N = 3SE +/- 0.33, N = 3SE +/- 0.33, N = 6SE +/- 0.33, N = 3SE +/- 0.33, N = 3SE +/- 0.00, N = 323232320197-Ofast-O2-O2-Os-O1-O01. (CC) gcc options: -std=gnu99 -fopenmp -pthread -lXext -lSM -lICE -lX11 -lbz2 -lz -lm -lgomp -lpthread

C-Ray

Total Time

OpenBenchmarking.orgSeconds, Fewer Is BetterC-Ray 1.1Total Time-Ofast-O3-O2-Os-O1-O02004006008001000SE +/- 3.01, N = 3SE +/- 4.87, N = 5SE +/- 8.88, N = 4SE +/- 3.84, N = 3SE +/- 15.01, N = 6SE +/- 1.42, N = 3332.87349.83523.58588.38653.17909.85-Ofast-O2-Os-O1-O01. (CC) gcc options: -lm -lpthread -O3

GraphicsMagick

Operation: Resizing

OpenBenchmarking.orgIterations Per Minute, More Is BetterGraphicsMagick 1.3.16Operation: Resizing-O3-O2-Ofast-O1-Os-O0918273645SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.33, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3404039363616-O2-O2-Ofast-O1-Os-O01. (CC) gcc options: -std=gnu99 -fopenmp -pthread -lXext -lSM -lICE -lX11 -lbz2 -lz -lm -lgomp -lpthread

Timed PHP Compilation

Time To Compile

OpenBenchmarking.orgSeconds, Fewer Is BetterTimed PHP Compilation 5.2.9Time To Compile-O0-O1-Os-O2-O3-Ofast60120180240300SE +/- 0.25, N = 3SE +/- 0.85, N = 3SE +/- 0.90, N = 3SE +/- 0.77, N = 3SE +/- 1.07, N = 3SE +/- 0.83, N = 3117.17191.56204.10252.76285.41286.52-O0-O1-Os-O2-O2-Ofast1. (CC) gcc options: -pedantic -ldl -lz -lm

Himeno Benchmark

Poisson Pressure Solver

OpenBenchmarking.orgMFLOPS, More Is BetterHimeno Benchmark 3.0Poisson Pressure Solver-O3-O2-Ofast-O1-Os-O0306090120150SE +/- 1.96, N = 3SE +/- 5.17, N = 6SE +/- 1.15, N = 3SE +/- 1.57, N = 3SE +/- 1.80, N = 6SE +/- 0.29, N = 3141.55140.04129.49108.57100.5860.43-O2-Ofast-O1-Os-O01. (CC) gcc options: -O3

GraphicsMagick

Operation: HWB Color Space

OpenBenchmarking.orgIterations Per Minute, More Is BetterGraphicsMagick 1.3.16Operation: HWB Color Space-Ofast-Os-O3-O2-O1-O01224364860SE +/- 0.88, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.33, N = 3SE +/- 0.00, N = 3554847474727-Ofast-Os-O2-O2-O1-O01. (CC) gcc options: -std=gnu99 -fopenmp -pthread -lXext -lSM -lICE -lX11 -lbz2 -lz -lm -lgomp -lpthread

GraphicsMagick

Operation: Blur

OpenBenchmarking.orgIterations Per Minute, More Is BetterGraphicsMagick 1.3.16Operation: Blur-Ofast-O2-O3-O1-Os-O0714212835SE +/- 0.00, N = 3SE +/- 0.33, N = 3SE +/- 0.33, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.25, N = 4313130302916-Ofast-O2-O2-O1-Os-O01. (CC) gcc options: -std=gnu99 -fopenmp -pthread -lXext -lSM -lICE -lX11 -lbz2 -lz -lm -lgomp -lpthread


Phoronix Test Suite v10.8.5