AMD AOCC 4.0 Compiler Benchmarks

Initial AOCC 4.0 compiler benchmarks by Michael Larabel.

HTML result view exported from: https://openbenchmarking.org/result/2211114-PTS-AMDAOCC455&sor&grs.

AMD AOCC 4.0 Compiler BenchmarksProcessorMotherboardChipsetMemoryDiskGraphicsAudioMonitorNetworkOSKernelDesktopDisplay ServerOpenGLVulkanCompilerFile-SystemScreen ResolutionLLVM Clang 14AOCC 4.0AMD Ryzen 9 7950X 16-Core @ 5.88GHz (16 Cores / 32 Threads)ASUS ROG CROSSHAIR X670E HERO (0703 BIOS)AMD Device 14d832GB1000GB Sabrent Rocket 4.0 PlusAMD Radeon RX 6800 16GB (2475/1000MHz)AMD Navi 21/23ASUS MG28UIntel I225-V + Intel Wi-Fi 6 AX210/AX211/AX411Ubuntu 22.106.1.0-060100rc3daily20221103-generic (x86_64)GNOME Shell 43.0X Server + Wayland4.6 Mesa 22.2.1 (LLVM 15.0.2 DRM 3.49)1.3.224Clang 14.0.6-2ext43840x2160Clang 14.0.6OpenBenchmarking.orgKernel Details- Transparent Huge Pages: madviseEnvironment Details- CXXFLAGS="-O3 -march=native" CFLAGS="-O3 -march=native"Processor Details- Scaling Governor: amd-pstate performance (Boost: Enabled) - CPU Microcode: 0xa601203 Python Details- Python 3.10.7Security Details- itlb_multihit: Not affected + l1tf: Not affected + mds: Not affected + meltdown: Not affected + mmio_stale_data: Not affected + retbleed: Not affected + spec_store_bypass: Mitigation of SSB disabled via prctl + spectre_v1: Mitigation of usercopy/swapgs barriers and __user pointer sanitization + spectre_v2: Mitigation of Retpolines IBPB: conditional IBRS_FW STIBP: always-on RSB filling PBRSB-eIBRS: Not affected + srbds: Not affected + tsx_async_abort: Not affected Compiler Details- AOCC 4.0: Optimized build with assertions; Default target: x86_64-unknown-linux-gnu; Host CPU: znver4

AMD AOCC 4.0 Compiler Benchmarksgraphics-magick: Sharpenliquid-dsp: 32 - 256 - 57webp: Quality 100, Losslesslczero: Eigenwebp: Quality 100, Lossless, Highest Compressionwebp: Quality 100, Highest Compressionliquid-dsp: 16 - 256 - 57svt-av1: Preset 12 - Bosphorus 4Kavifenc: 2astcenc: Mediumavifenc: 6lczero: BLASx265: Bosphorus 4Kavifenc: 6, Losslessastcenc: Thoroughsvt-hevc: 7 - Bosphorus 4Kgraphics-magick: Enhancedkvazaar: Bosphorus 4K - Very Fastkvazaar: Bosphorus 4K - Ultra Fastastcenc: Exhaustivequantlib: compress-zstd: 19, Long Mode - Decompression Speedsrsran: 4G PHY_DL_Test 100 PRB MIMO 64-QAMquadray: 1 - 4Kcompress-zstd: 19 - Decompression Speedsvt-vp9: VMAF Optimized - Bosphorus 4Kquadray: 1 - 1080pcompress-zstd: 19, Long Mode - Compression Speedsvt-vp9: PSNR/SSIM Optimized - Bosphorus 4Kopenssl: SHA256svt-vp9: Visual Quality Optimized - Bosphorus 4Kc-ray: Total Time - 4K, 16 Rays Per Pixeldav1d: Chimera 1080p 10-bitopenssl: RSA4096openssl: RSA4096srsran: 4G PHY_DL_Test 100 PRB SISO 64-QAMcompress-zstd: 19 - Compression Speedxmrig: Monero - 1Mdav1d: Summer Nature 4Kgraphics-magick: Resizingsvt-hevc: 10 - Bosphorus 4Kdraco: Church Facadesvt-hevc: 1 - Bosphorus 4Ksvt-av1: Preset 10 - Bosphorus 4KLLVM Clang 14AOCC 4.033717429333332.0118440.825.891666100000200.78733.635156.19633.080169436.914.65019.2443104.0558148.0787.371.96954535.64966.3199.326.234941.6111.30102.1255.1120.2237107990770109.7327.097825.00391464.05998.4209.978.912543.4393.372470169.3947046.43139.02946018688000002.1519590.876.211750933333209.40032.284162.17072.971175538.124.50419.8628107.0959349.0688.761.99794475.35017.2201.326.444981.1112.09101.5655.4120.8637285492847110.2426.974821.26393216.45971.9210.779.212571.9394.202474169.5447056.43143.901OpenBenchmarking.org

GraphicsMagick

Operation: Sharpen

OpenBenchmarking.orgIterations Per Minute, More Is BetterGraphicsMagick 1.3.38Operation: SharpenAOCC 4.0LLVM Clang 14100200300400500SE +/- 0.33, N = 3SE +/- 0.33, N = 34603371. (CC) gcc options: -fopenmp -O3 -march=native -ljbig -lwebp -lwebpmux -ltiff -lfreetype -ljpeg -lXext -lSM -lICE -lX11 -llzma -lbz2 -lxml2 -lz -lm -lpthread

Liquid-DSP

Threads: 32 - Buffer Length: 256 - Filter Length: 57

OpenBenchmarking.orgsamples/s, More Is BetterLiquid-DSP 2021.01.31Threads: 32 - Buffer Length: 256 - Filter Length: 57AOCC 4.0LLVM Clang 14400M800M1200M1600M2000MSE +/- 1442220.51, N = 3SE +/- 5397633.23, N = 3186880000017429333331. (CC) gcc options: -O3 -march=native -pthread -lm -lc -lliquid

WebP Image Encode

Encode Settings: Quality 100, Lossless

OpenBenchmarking.orgMP/s, More Is BetterWebP Image Encode 1.2.4Encode Settings: Quality 100, LosslessAOCC 4.0LLVM Clang 140.48380.96761.45141.93522.419SE +/- 0.01, N = 3SE +/- 0.00, N = 32.152.011. (CC) gcc options: -fvisibility=hidden -O3 -march=native -lm

LeelaChessZero

Backend: Eigen

OpenBenchmarking.orgNodes Per Second, More Is BetterLeelaChessZero 0.28Backend: EigenAOCC 4.0LLVM Clang 14400800120016002000SE +/- 7.67, N = 3SE +/- 8.95, N = 3195918441. (CXX) g++ options: -flto -O3 -march=native -pthread

WebP Image Encode

Encode Settings: Quality 100, Lossless, Highest Compression

OpenBenchmarking.orgMP/s, More Is BetterWebP Image Encode 1.2.4Encode Settings: Quality 100, Lossless, Highest CompressionAOCC 4.0LLVM Clang 140.19580.39160.58740.78320.979SE +/- 0.00, N = 3SE +/- 0.00, N = 30.870.821. (CC) gcc options: -fvisibility=hidden -O3 -march=native -lm

WebP Image Encode

Encode Settings: Quality 100, Highest Compression

OpenBenchmarking.orgMP/s, More Is BetterWebP Image Encode 1.2.4Encode Settings: Quality 100, Highest CompressionAOCC 4.0LLVM Clang 14246810SE +/- 0.01, N = 3SE +/- 0.00, N = 36.215.891. (CC) gcc options: -fvisibility=hidden -O3 -march=native -lm

Liquid-DSP

Threads: 16 - Buffer Length: 256 - Filter Length: 57

OpenBenchmarking.orgsamples/s, More Is BetterLiquid-DSP 2021.01.31Threads: 16 - Buffer Length: 256 - Filter Length: 57AOCC 4.0LLVM Clang 14400M800M1200M1600M2000MSE +/- 2171277.15, N = 3SE +/- 1386842.94, N = 3175093333316661000001. (CC) gcc options: -O3 -march=native -pthread -lm -lc -lliquid

SVT-AV1

Encoder Mode: Preset 12 - Input: Bosphorus 4K

OpenBenchmarking.orgFrames Per Second, More Is BetterSVT-AV1 1.2Encoder Mode: Preset 12 - Input: Bosphorus 4KAOCC 4.0LLVM Clang 1450100150200250SE +/- 1.07, N = 3SE +/- 1.63, N = 3209.40200.79

libavif avifenc

Encoder Speed: 2

OpenBenchmarking.orgSeconds, Fewer Is Betterlibavif avifenc 0.11Encoder Speed: 2AOCC 4.0LLVM Clang 14816243240SE +/- 0.08, N = 3SE +/- 0.22, N = 1532.2833.641. (CXX) g++ options: -O3 -fPIC -march=native -lm

ASTC Encoder

Preset: Medium

OpenBenchmarking.orgMT/s, More Is BetterASTC Encoder 4.0Preset: MediumAOCC 4.0LLVM Clang 144080120160200SE +/- 0.83, N = 3SE +/- 0.85, N = 3162.17156.201. (CXX) g++ options: -O3 -march=native -flto -pthread

libavif avifenc

Encoder Speed: 6

OpenBenchmarking.orgSeconds, Fewer Is Betterlibavif avifenc 0.11Encoder Speed: 6AOCC 4.0LLVM Clang 140.6931.3862.0792.7723.465SE +/- 0.004, N = 3SE +/- 0.027, N = 82.9713.0801. (CXX) g++ options: -O3 -fPIC -march=native -lm

LeelaChessZero

Backend: BLAS

OpenBenchmarking.orgNodes Per Second, More Is BetterLeelaChessZero 0.28Backend: BLASAOCC 4.0LLVM Clang 14400800120016002000SE +/- 19.19, N = 4SE +/- 7.42, N = 3175516941. (CXX) g++ options: -flto -O3 -march=native -pthread

x265

Video Input: Bosphorus 4K

OpenBenchmarking.orgFrames Per Second, More Is Betterx265 3.4Video Input: Bosphorus 4KAOCC 4.0LLVM Clang 14918273645SE +/- 0.03, N = 3SE +/- 0.34, N = 338.1236.911. (CXX) g++ options: -O3 -march=native -rdynamic -lpthread -lrt -ldl -lnuma

libavif avifenc

Encoder Speed: 6, Lossless

OpenBenchmarking.orgSeconds, Fewer Is Betterlibavif avifenc 0.11Encoder Speed: 6, LosslessAOCC 4.0LLVM Clang 141.04632.09263.13894.18525.2315SE +/- 0.011, N = 3SE +/- 0.032, N = 34.5044.6501. (CXX) g++ options: -O3 -fPIC -march=native -lm

ASTC Encoder

Preset: Thorough

OpenBenchmarking.orgMT/s, More Is BetterASTC Encoder 4.0Preset: ThoroughAOCC 4.0LLVM Clang 14510152025SE +/- 0.05, N = 3SE +/- 0.08, N = 319.8619.241. (CXX) g++ options: -O3 -march=native -flto -pthread

SVT-HEVC

Tuning: 7 - Input: Bosphorus 4K

OpenBenchmarking.orgFrames Per Second, More Is BetterSVT-HEVC 1.5.0Tuning: 7 - Input: Bosphorus 4KAOCC 4.0LLVM Clang 1420406080100SE +/- 0.23, N = 3SE +/- 0.06, N = 3107.09104.051. (CC) gcc options: -O3 -march=native -fPIE -fPIC -O2 -pie -rdynamic -lpthread -lrt

GraphicsMagick

Operation: Enhanced

OpenBenchmarking.orgIterations Per Minute, More Is BetterGraphicsMagick 1.3.38Operation: EnhancedAOCC 4.0LLVM Clang 14130260390520650SE +/- 0.33, N = 3SE +/- 0.00, N = 35935811. (CC) gcc options: -fopenmp -O3 -march=native -ljbig -lwebp -lwebpmux -ltiff -lfreetype -ljpeg -lXext -lSM -lICE -lX11 -llzma -lbz2 -lxml2 -lz -lm -lpthread

Kvazaar

Video Input: Bosphorus 4K - Video Preset: Very Fast

OpenBenchmarking.orgFrames Per Second, More Is BetterKvazaar 2.1Video Input: Bosphorus 4K - Video Preset: Very FastAOCC 4.0LLVM Clang 141122334455SE +/- 0.36, N = 3SE +/- 0.32, N = 349.0648.071. (CC) gcc options: -pthread -ftree-vectorize -fvisibility=hidden -O3 -march=native -lm -lrt

Kvazaar

Video Input: Bosphorus 4K - Video Preset: Ultra Fast

OpenBenchmarking.orgFrames Per Second, More Is BetterKvazaar 2.1Video Input: Bosphorus 4K - Video Preset: Ultra FastAOCC 4.0LLVM Clang 1420406080100SE +/- 0.04, N = 3SE +/- 0.05, N = 388.7687.371. (CC) gcc options: -pthread -ftree-vectorize -fvisibility=hidden -O3 -march=native -lm -lrt

ASTC Encoder

Preset: Exhaustive

OpenBenchmarking.orgMT/s, More Is BetterASTC Encoder 4.0Preset: ExhaustiveAOCC 4.0LLVM Clang 140.44950.8991.34851.7982.2475SE +/- 0.0025, N = 3SE +/- 0.0036, N = 31.99791.96951. (CXX) g++ options: -O3 -march=native -flto -pthread

QuantLib

OpenBenchmarking.orgMFLOPS, More Is BetterQuantLib 1.21LLVM Clang 14AOCC 4.010002000300040005000SE +/- 44.47, N = 12SE +/- 32.16, N = 124535.64475.31. (CXX) g++ options: -O3 -march=native -rdynamic

Zstd Compression

Compression Level: 19, Long Mode - Decompression Speed

OpenBenchmarking.orgMB/s, More Is BetterZstd Compression 1.5.0Compression Level: 19, Long Mode - Decompression SpeedAOCC 4.0LLVM Clang 1411002200330044005500SE +/- 14.78, N = 3SE +/- 4.60, N = 35017.24966.31. (CC) gcc options: -O3 -march=native -pthread -lz -llzma

srsRAN

Test: 4G PHY_DL_Test 100 PRB MIMO 64-QAM

OpenBenchmarking.orgUE Mb/s, More Is BettersrsRAN 22.04.1Test: 4G PHY_DL_Test 100 PRB MIMO 64-QAMAOCC 4.0LLVM Clang 144080120160200SE +/- 0.84, N = 3SE +/- 1.03, N = 3201.3199.31. (CXX) g++ options: -O3 -march=native -std=c++14 -fno-strict-aliasing -mfpmath=sse -mavx2 -fvisibility=hidden -fno-trapping-math -fno-math-errno -mavx512f -mavx512cd -mavx512bw -mavx512dq -latomic -ldl -lpthread -lm

QuadRay

Scene: 1 - Resolution: 4K

OpenBenchmarking.orgFPS, More Is BetterQuadRay 2022.05.25Scene: 1 - Resolution: 4KAOCC 4.0LLVM Clang 14612182430SE +/- 0.06, N = 3SE +/- 0.10, N = 326.4426.231. (CXX) g++ options: -O3 -pthread -lm -lstdc++ -lX11 -lXext -lpthread

Zstd Compression

Compression Level: 19 - Decompression Speed

OpenBenchmarking.orgMB/s, More Is BetterZstd Compression 1.5.0Compression Level: 19 - Decompression SpeedAOCC 4.0LLVM Clang 1411002200330044005500SE +/- 26.61, N = 3SE +/- 59.66, N = 34981.14941.61. (CC) gcc options: -O3 -march=native -pthread -lz -llzma

SVT-VP9

Tuning: VMAF Optimized - Input: Bosphorus 4K

OpenBenchmarking.orgFrames Per Second, More Is BetterSVT-VP9 0.3Tuning: VMAF Optimized - Input: Bosphorus 4KAOCC 4.0LLVM Clang 14306090120150SE +/- 1.05, N = 15SE +/- 0.93, N = 15112.09111.301. (CC) gcc options: -O3 -fcommon -march=native -fPIE -fPIC -fvisibility=hidden -pie -rdynamic -lpthread -lrt -lm

QuadRay

Scene: 1 - Resolution: 1080p

OpenBenchmarking.orgFPS, More Is BetterQuadRay 2022.05.25Scene: 1 - Resolution: 1080pLLVM Clang 14AOCC 4.020406080100SE +/- 0.20, N = 3SE +/- 0.40, N = 3102.12101.561. (CXX) g++ options: -O3 -pthread -lm -lstdc++ -lX11 -lXext -lpthread

Zstd Compression

Compression Level: 19, Long Mode - Compression Speed

OpenBenchmarking.orgMB/s, More Is BetterZstd Compression 1.5.0Compression Level: 19, Long Mode - Compression SpeedAOCC 4.0LLVM Clang 141224364860SE +/- 0.06, N = 3SE +/- 0.17, N = 355.455.11. (CC) gcc options: -O3 -march=native -pthread -lz -llzma

SVT-VP9

Tuning: PSNR/SSIM Optimized - Input: Bosphorus 4K

OpenBenchmarking.orgFrames Per Second, More Is BetterSVT-VP9 0.3Tuning: PSNR/SSIM Optimized - Input: Bosphorus 4KAOCC 4.0LLVM Clang 14306090120150SE +/- 0.23, N = 3SE +/- 0.09, N = 3120.86120.221. (CC) gcc options: -O3 -fcommon -march=native -fPIE -fPIC -fvisibility=hidden -pie -rdynamic -lpthread -lrt -lm

OpenSSL

Algorithm: SHA256

OpenBenchmarking.orgbyte/s, More Is BetterOpenSSL 3.0Algorithm: SHA256AOCC 4.0LLVM Clang 148000M16000M24000M32000M40000MSE +/- 19509012.02, N = 3SE +/- 5864900.49, N = 337285492847371079907701. (CC) gcc options: -pthread -m64 -Qunused-arguments -O3 -march=native -lssl -lcrypto -ldl

SVT-VP9

Tuning: Visual Quality Optimized - Input: Bosphorus 4K

OpenBenchmarking.orgFrames Per Second, More Is BetterSVT-VP9 0.3Tuning: Visual Quality Optimized - Input: Bosphorus 4KAOCC 4.0LLVM Clang 1420406080100SE +/- 0.19, N = 3SE +/- 0.08, N = 3110.24109.731. (CC) gcc options: -O3 -fcommon -march=native -fPIE -fPIC -fvisibility=hidden -pie -rdynamic -lpthread -lrt -lm

C-Ray

Total Time - 4K, 16 Rays Per Pixel

OpenBenchmarking.orgSeconds, Fewer Is BetterC-Ray 1.1Total Time - 4K, 16 Rays Per PixelAOCC 4.0LLVM Clang 14612182430SE +/- 0.01, N = 3SE +/- 0.15, N = 326.9727.101. (CC) gcc options: -lm -lpthread -O3 -march=native

dav1d

Video Input: Chimera 1080p 10-bit

OpenBenchmarking.orgFPS, More Is Betterdav1d 1.0Video Input: Chimera 1080p 10-bitLLVM Clang 14AOCC 4.02004006008001000SE +/- 1.48, N = 3SE +/- 1.11, N = 3825.00821.261. (CC) gcc options: -O3 -march=native -pthread -lm

OpenSSL

Algorithm: RSA4096

OpenBenchmarking.orgverify/s, More Is BetterOpenSSL 3.0Algorithm: RSA4096AOCC 4.0LLVM Clang 1480K160K240K320K400KSE +/- 114.01, N = 3SE +/- 1647.21, N = 3393216.4391464.01. (CC) gcc options: -pthread -m64 -Qunused-arguments -O3 -march=native -lssl -lcrypto -ldl

OpenSSL

Algorithm: RSA4096

OpenBenchmarking.orgsign/s, More Is BetterOpenSSL 3.0Algorithm: RSA4096LLVM Clang 14AOCC 4.013002600390052006500SE +/- 5.11, N = 3SE +/- 27.80, N = 35998.45971.91. (CC) gcc options: -pthread -m64 -Qunused-arguments -O3 -march=native -lssl -lcrypto -ldl

srsRAN

Test: 4G PHY_DL_Test 100 PRB SISO 64-QAM

OpenBenchmarking.orgUE Mb/s, More Is BettersrsRAN 22.04.1Test: 4G PHY_DL_Test 100 PRB SISO 64-QAMAOCC 4.0LLVM Clang 1450100150200250SE +/- 0.99, N = 3SE +/- 0.21, N = 3210.7209.91. (CXX) g++ options: -O3 -march=native -std=c++14 -fno-strict-aliasing -mfpmath=sse -mavx2 -fvisibility=hidden -fno-trapping-math -fno-math-errno -mavx512f -mavx512cd -mavx512bw -mavx512dq -latomic -ldl -lpthread -lm

Zstd Compression

Compression Level: 19 - Compression Speed

OpenBenchmarking.orgMB/s, More Is BetterZstd Compression 1.5.0Compression Level: 19 - Compression SpeedAOCC 4.0LLVM Clang 1420406080100SE +/- 0.28, N = 3SE +/- 0.06, N = 379.278.91. (CC) gcc options: -O3 -march=native -pthread -lz -llzma

Xmrig

Variant: Monero - Hash Count: 1M

OpenBenchmarking.orgH/s, More Is BetterXmrig 6.18.1Variant: Monero - Hash Count: 1MAOCC 4.0LLVM Clang 143K6K9K12K15KSE +/- 26.06, N = 3SE +/- 30.70, N = 312571.912543.41. (CXX) g++ options: -O3 -march=native -fexceptions -fno-rtti -maes -Ofast -funroll-loops -rdynamic -lssl -lcrypto -luv -lpthread -lrt -ldl -lhwloc

dav1d

Video Input: Summer Nature 4K

OpenBenchmarking.orgFPS, More Is Betterdav1d 1.0Video Input: Summer Nature 4KAOCC 4.0LLVM Clang 1490180270360450SE +/- 2.47, N = 3SE +/- 3.69, N = 3394.20393.371. (CC) gcc options: -O3 -march=native -pthread -lm

GraphicsMagick

Operation: Resizing

OpenBenchmarking.orgIterations Per Minute, More Is BetterGraphicsMagick 1.3.38Operation: ResizingAOCC 4.0LLVM Clang 145001000150020002500SE +/- 3.51, N = 3SE +/- 0.88, N = 3247424701. (CC) gcc options: -fopenmp -O3 -march=native -ljbig -lwebp -lwebpmux -ltiff -lfreetype -ljpeg -lXext -lSM -lICE -lX11 -llzma -lbz2 -lxml2 -lz -lm -lpthread

SVT-HEVC

Tuning: 10 - Input: Bosphorus 4K

OpenBenchmarking.orgFrames Per Second, More Is BetterSVT-HEVC 1.5.0Tuning: 10 - Input: Bosphorus 4KAOCC 4.0LLVM Clang 144080120160200SE +/- 0.44, N = 3SE +/- 0.32, N = 3169.54169.391. (CC) gcc options: -O3 -march=native -fPIE -fPIC -O2 -pie -rdynamic -lpthread -lrt

Google Draco

Model: Church Facade

OpenBenchmarking.orgms, Fewer Is BetterGoogle Draco 1.5.0Model: Church FacadeLLVM Clang 14AOCC 4.010002000300040005000SE +/- 19.68, N = 3SE +/- 36.11, N = 3470447051. (CXX) g++ options: -O3 -march=native

SVT-HEVC

Tuning: 1 - Input: Bosphorus 4K

OpenBenchmarking.orgFrames Per Second, More Is BetterSVT-HEVC 1.5.0Tuning: 1 - Input: Bosphorus 4KAOCC 4.0LLVM Clang 14246810SE +/- 0.02, N = 3SE +/- 0.02, N = 36.436.431. (CC) gcc options: -O3 -march=native -fPIE -fPIC -O2 -pie -rdynamic -lpthread -lrt

SVT-AV1

Encoder Mode: Preset 10 - Input: Bosphorus 4K

OpenBenchmarking.orgFrames Per Second, More Is BetterSVT-AV1 1.2Encoder Mode: Preset 10 - Input: Bosphorus 4KAOCC 4.0LLVM Clang 14306090120150SE +/- 3.87, N = 15SE +/- 2.91, N = 15143.90139.03


Phoronix Test Suite v10.8.5