LLVM/Clang Gets Targeting Support For The Krait

Written by Michael Larabel in LLVM on 8 December 2013 at 12:03 AM EST. Add A Comment
LLVM
LLVM and its Clang compiler now have optimization targeting support for Qualcomm's Krait ARM processor.

With the latest Git/SVN code for LLVM and Clang there's now support for "-mcpu=krait" in targeting the compiler output for Qualcomm's Snapdragon SoCs with Krait processors. Krait is Qualcomm's competitor to the Cortex-A15 CPU used by other ARM SoC vendors.

The support added to LLVM/Clang is currently modeled around the Cortex-A9 CPU feature-set but with support for VFP4 (Fused Multiply Add/Subtract) and hardware division features also present. Krait also shares a schedule model with the Cortex-A9.

The Krait support was added with this Clang commit and this LLVM commit. It's taken a while for "-mcpu=krait" targeting to come to LLVM/Clang as "Krait" isn't even found in GCC yet Qualcomm is very interested in LLVM.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week