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

The Best Features Of LLVM / Clang 3.3

Compiler

Published on 26 May 2013 01:16 PM EDT
Written by Michael Larabel in Compiler
4 Comments

With next month's release of LLVM 3.3 quickly approaching, here's an overview of some of the best and most exciting features coming to this next major update of the LLVM compiler infrastructure and Clang C/C++ compiler front-end.

Some of our favorite features coming to LLVM 3.3 include:

- Exciting many Phoronix readers will be the final integration of the AMD R600 GPU LLVM back-end. This LLVM back-end that's needed for Radeon Gallium3D Compute/OpenCL along with RadeonSI acceleration is finally found in a mainline LLVM release! In recent months this AMD GPU back-end has received a lot of improvements from scheduler support and other new functionality.

- 64-bit ARM support. The 64-bit ARM / ARM64 / AArch64 support came after it was already brought to GCC, but now this next-generation ARM architecture has an LLVM back-end. ARM continues to grow in presence and 64-bit ARMv8 hardware should better compete against Intel/AMD x86 CPUs. With the new AArch64 target, there's C99 and C++03 support through Clang, Linux is currently the only platform target, and there's other basic functionality implemented at this time. Expect more AArch64 goodness to come in the next LLVM release.

- There's a new vectorizer! LLVM 3.3 brings forth the Superword-Level Parallelism (SLP) Vectorizer. There's already been some Phoronix benchmarks of the SLP vectorizer to mixed success. This new vectorizer is currently disabled by default. The SLP Vectorizer will be refined in future releases.

- LLVM's Loop Vectorizer has seen many improvements and is now enabled by default with the -O3 compiler switch. The 3.3 Loop Vectorizer improvements include being able to vectorize loops with unknown trip counts, runtime checks of pointers, if conversions, reverse iterators, vectorization of mixed types, vectorization of function calls, and much more. With this code vectorizer now being enabled by default, it's one of the reasons why for some workloads LLVM 3.3 is now much faster than LLVM 3.2.

- The Clang C/C++ compiler front-end is now C++11 feature-complete. GCC is also now effectively C++11 complete too, which is good news for developers wishing to take advantage of the latest C++ ISO standard. There's also already much work done on C++1y, the next revision to the standard.

- New CPU micro-architecture enhancements like better AVX2 support.

For benchmarks of LLVM/Clang 3.3, see this weekend's GCC 4.8.0 vs. LLVM Clang 3.3 Compiler Performance Three-Way from a Core i7 Sandy Bridge Extreme Edition, AMD FX-8350 Vishera, and Core i3 Ivy Bridge Ultrabook.

About The Author
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 and or contacted via .
Latest Linux Hardware Reviews
  1. Preview: AMD's FX-9590 Eight-Core At Up To 5.0GHz On Linux
  2. Intel Launches The Core i7 5960X, Mighty Powerful Haswell-E CPUs
  3. AMD Radeon R9 290: Gallium3D vs. Catalyst Drivers
  4. AMD Radeon R9 290 Open-Source Driver Works, But Has A Ways To Go
Latest Linux Articles
  1. How Intel Graphics On Linux Compare To Open-Source AMD/NVIDIA Drivers
  2. The Fastest NVIDIA GPUs For Open-Source Nouveau With Steam Linux Gaming
  3. Testing For The Latest Linux Kernel Power Regression
  4. The Most Energy Efficient Radeon GPU For AMD Linux Gaming
Latest Linux News
  1. Nouveau X.Org Driver Released With DRI3+Present, Maxwell, GLAMOR
  2. Microsoft & AMD Release C++ AMP Compiler With Linux Support
  3. AMD, Wine & Valve Dominated August For Linux Users
  4. Linux 3.17-rc3 Kernel Released Back On Schedule
  5. Lennart Poettering Talks Up His New Linux Vision That Involves Btrfs
  6. Mesa 10.3 RC2 Arrives Via Its New Release Manager
  7. Ubuntu 14.10's Lack Of X.Org Server 1.16 Gets Blamed On AMD
  8. MSI Motherboard BIOS Updating Remains A Pain For Linux Users
  9. See How Your Linux System Performs Against The Latest Intel/AMD CPUs
  10. AMD Steppe Eagle Flys To Coreboot
Latest Forum Discussions
  1. Lennart Poettering Talks Up His New Linux Vision That Involves Btrfs
  2. Updated and Optimized Ubuntu Free Graphics Drivers
  3. AMD Releases UVD Video Decode Support For R600 GPUs
  4. SSD seems slow
  5. Is laptop with Intel CPU and AMD dGPU worth buying considering especially AMD Enduro?
  6. Radeon HD5670 and Ubuntu 14.04
  7. Btrfs Gets Talked Up, Googler Encourages You To Try Btrfs
  8. Updated graphics drivers for Ubuntu 12.04 Precise LTS