LLVM 3.2 Vastly Improves Processor Support

Posted by Michael Larabel on December 15, 2012

The soon-to-be-released LLVM 3.2 compiler infrastructure will expand upon its coverage of processor support and CPU capabilities.

Some of the noteworthy improvements to the LLVM 3.2 processor/hardware support includes:

- Minor code-generation improvements for x86 and x86_64.

- With the x86/x86_64 improvements, there's particular improvements around LLVM's support for AVX2. The Advanced Vector Extensions 2, which will premiere with Intel's Haswell processors next year, build upon the AVX support originally introduced in the Sandy Bridge processors. The additions found in Advanced Vector Extensions 2 / Haswell New Instructions include expanding most integer instructions to 256 bits, three-operand general-purpose bit manipulation and multiply, Gather support to enable vector elements to be loaded from non-contiguous memory, DWORD/QDWORD-granularity any-to-any permutes, vector shifts, and three-operand fused multiply-accumulate support.

- Better support for PowerPC processors with LLVM 3.2.

- Support, including performance tuning, for the ARM-based A6 Swift processor. The A6 Swift is Apple's SoC found within the iPhone 5 that is twice as fast as the A5 ARM SoC.

- The LLVM ARM support now includes a full-featured macro assembler. This ARM integrated assembler has support for Thumb1/Thumb2/ARM modes along with VFP2, VFP3, and NEON extensions.

- The MIPS target improvements include integrated assembler support, fast calling convention, an Android MIPS tool-chain for Clang, a MIPS32/MIPS64 disassembler, experimental MIPS32 DSP intrinsics handling, experimental support for MIPS16, and improved register allocation.

Aside from the processor-specific work in LLVM 3.2, this compiler infrastructure update due out this month also features an automatic loop vectorizer, Polly optimizations, and other improvements to be talked about in future Phoronix articles.

Discuss this article in our forums, IRC channel, or email the author. You can also follow our content via RSS and on social networks like Facebook, Identi.ca, and Twitter (@Phoronix and @MichaelLarabel). Subscribe to Phoronix Premium to view our content without advertisements, view entire articles on a single page, and experience other benefits.
Latest Hardware Reviews
  1. Sumo Lounge Emperor
  2. Gallium3D Continues Improving OpenGL For Older Radeon GPUs
  3. 15-Way Open vs. Closed Source NVIDIA/AMD Linux GPU Comparison
  4. Nouveau vs. NVIDIA Linux Comparison Shows Shortcomings
Latest Software Articles
  1. The Cost Of Ubuntu Disk Encryption
  2. Btrfs vs. EXT4 vs. XFS vs. F2FS On Linux 3.10
  3. AMD Radeon R600 GPU LLVM 3.3 Back-End Testing
  4. F2FS File-System Shows Regressions On Linux 3.10
Latest Linux News
  1. Mageia 3 Released, Still Using Legacy GRUB
  2. NetBSD 6.1 Brings In More Features
  3. Using Six Monitors With AMD's Open-Source Linux Driver
  4. Benchmarking The Intel P-State, CPUfreq Changes
  5. FreeBSD Still Working On Next-Gen Package Manager
  6. DNF Still Advancing As Experimental Yum For Fedora
  7. Logitech Begins Supporting Linux Users
  8. Modern Intel Gallium3D Driver Still Being Toyed With
  9. Linux 3.10 Kernel Benchmarks On A Core i7 Laptop
  10. GCC 4.8.1 Compiler Due To Be Out Next Week
  11. Linux 3.10 Kernel Benchmarks For Intel Ivy Bridge
Latest Forum Talk
  1. The Cost Of Ubuntu Disk Encryption
  2. Logitech Begins Supporting Linux Users
  3. Mageia 3 Released, Still Using Legacy GRUB
  4. Logitech supports linux!
  5. Btrfs vs. EXT4 vs. XFS vs. F2FS On Linux 3.10
  6. Kubuntu, KDE Has Little Hope For Ubuntu's Mir
  1. Computers
  2. Display Drivers
  3. Graphics Cards
  4. Motherboards
  5. Peripherals
  6. Processors
  7. Software
  8. Operating Systems
  9. All Articles
  1. Linux Benchmarking
  2. OpenBenchmarking.org
  3. Phoronix Test Suite