LLVM/Clang Gets Targeting Support For The Krait
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.
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.
Add A Comment