Glibc 2.22 Will Have NaCl Support For ARMv7-A, Libmvec Vector Math Library

Written by Michael Larabel in GNU on 22 July 2015 at 01:12 AM EDT. 3 Comments
One of the features coming for glibc 2.22 is a port to Google's Native Client for ARMv7-A while separately there is also a new vector math library (libmvec) for OMP4.

Roland McGrath of Google contributed a port of Native Client (NaCl) for running on ARMv7-A with this next release. Glibc had been ported to NaCl for x86 architectures for some years now while with the next release it's getting support for ARMv7-A to ease the process of running GNU software via this Google sandboxing system on ARM hardware. Roland finished committing it on Tuesday.

While on the topic of glibc 2.22, this upcoming version will also bring a new vector math library named libmvec with vectorized x86_64 implementations of cos, cosf, sin, sinf, sincos, sincosf, log, logf, exp, expf, pow, and powf. Libmvec aims to suit the SIMD construct needs of the OpenMP 4.0 specification. Libmvec is used automatically when on GCC 4.9 or newer and -fopenmp -ffast-math are passed for the -O1 optimization level and higher. More details via this Wiki page.

Other glibc 2.22 changes will include a PowerPC/PowerPC64 optimization for TLS, a new fmemopen implementation that aims for POSIX compliance, and various bug/security fixes.

The glibc 2.22 release should be coming up very soon and when it happens you can expect to read about it on Phoronix.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of 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 automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via

Popular News This Week