LLVM Clang 12 Adds Support For Vectorization Using Glibc's Vector Math Library
Written by Michael Larabel in LLVM on 23 October 2020 at 06:49 AM EDT. Add A Comment
LLVM --
Upstream LLVM/Clang now supports making use of the vector math library found within the GNU C Library.

Clang 12 will allow for vectorization using libmvec via the -fvec-lib=libmvec compiler option.

The Glibc vector math library support complements Clang's existing vector library support of the Accelerate framework, IBM MASS vector library, and the Intel SVML vector math library.

This merge request adding support for libmvec with Clang was merged on Thursday.

A lot of compiler additions continue building up for LLVM 12 / Clang 12 due for release around March of 2021.
Related News
About The Author
Author picture

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 or contacted via MichaelLarabel.com.

Popular News This Week