1. Computers
  2. Display Drivers
  3. Graphics Cards
  4. Memory
  5. Motherboards
  6. Processors
  7. Software
  8. Storage
  9. Operating Systems


Facebook RSS Twitter Twitter Google Plus


Phoronix Test Suite

OpenBenchmarking Benchmarking Platform
Phoromatic Test Orchestration

FX-8350 Piledriver Tuning On AMD's Open64 Compiler

Michael Larabel

Published on 24 October 2012
Written by Michael Larabel
Page 1 of 4 - 1 Comment

With this week's unveiling of the FX-8350 eight-core processor being based on AMD's new Piledriver architecture, in this article are benchmarks when testing out the Piledriver "bdver2" optimizations within AMD's own Open64 compiler.

Back in August was when AMD released the AMD Open64 4.5.2 compiler, which introduced support for Family 15h Piledriver cores. With the Piledriver support came work within AMD's Open64 compiler fork for handling AVX, XOP, FMA3, FMA4, BMI, TBM, and F16C instruction sets.

From the features list for the Open64 4.5.2 release, "You can enable this new instructions in Piledriver core using the -march=bdver2. Alternately you can pick and choose the ISA to be enabled using -mfma (for FMA3), -mfma4, -mbmi, -mtbm flags." The "bdver2" target is the same as is used by GCC and LLVM/Clang for supporting the second-generation Bulldozer -- a.k.a. Piledriver -- AMD processors.

Earlier this month I did do some GCC compiler tuning tests for the Piledriver-based AMD A10-5800K Trinity APU. With the GCC testing of comparing the bdver2 micro-architecture support against bdver1 and other earlier AMD CPU targets, there wasn't much improvement out of using "-march=bdver2" when compiling the test application / benchmark binaries.

In the GCC Piledriver tuning tests from last week with GCC 4.7.2 I went over what the bdver2 target adds: BMI, TBM, F16C, and FMA3. FMA3 is a three operand variant (that's being pushed by Intel with Haswell) of Fused Multiply-Add rather than the four operand version, F16C allows for converting and storing 32-bit floating point values using 16-bits, TBM is Trailing Bit Manipulation, and BMI is Bit Manipulation Instructions.

From the AMD FX-8350 Eight-Core "Vishera" setup running Ubuntu 12.10 with the Linux 3.5 kernel, AMD's official 64-bit Open64 4.5.2 compiler was tested. Each time this compiler built the Phoronix Test Suite collection of tests while passing each time a different "-march=" value of k8, barcelona, bdver1, and then bdver2.

Latest Articles & Reviews
  1. GLAMOR + RadeonSI 2D Acceleration Is Quite Good For Open-Source AMD 2D Performance
  2. AMD Radeon R9 290 OpenGL On Ubuntu 15.04: Catalyst vs. RadeonSI Gallium3D
  3. Ubuntu 15.04 Offers Faster OpenGL For AMD Radeon GPUs On Open-Source
  4. Ubuntu 15.04 Brings Some Graphics Performance Improvements For Intel Haswell
  5. Sub-$20 802.11n USB WiFi Adapter That's Linux Friendly
  6. The Lenovo T450s Is Working Beautifully With Linux
Latest Linux News
  1. A Lot Of Improvements Are Coming For Mir 0.13, Including Work Towards Libinput
  2. Mobile Optimizations Coming For Phoronix
  3. Wayland 1.8 Alpha Release Delayed
  4. Godot Game Engine 1.1 Up To RC State
  5. ATI Rage128 Driver Now Has RandR Support
  6. Microsoft's Visual C++ Team Is Improving Clang For Windows
  7. Kodi 15.0 Beta 1 Released
  8. Lucid Sleep Support Is Being Worked On For The Upstream Linux Kernel
  9. Improvements On The Way For GNOME's Nautilus File Manager
  10. Wine 1.7.42 Implements More Of Direct2D
Most Viewed News This Week
  1. It Doesn't Look Like KDBUS Will Make It For Linux 4.1
  2. Trying Out Microsoft Visual Studio Code On Linux
  3. The Many Features Of The Linux 4.1 Kernel
  4. Microsoft Releases New Code IDE For Linux!
  5. Linux 4.1-rc1 Kernel Released, Packs In Several New Features
  6. GCC 4.9.2 vs. GCC 5 Benchmarks On An Intel Xeon Haswell
  7. QEMU 2.3 Officially Released
  8. Debian 9.0 Is Codenamed Stretch