Huawei Contributes Some Glibc AArch64 Performance Optimizations
Written by Michael Larabel in GNU on 20 December 2019 at 12:12 AM EST. 21 Comments
GNU --
Huawei isn't known as much of an upstream contributor to the GNU toolchain and as far as GNU C Library (glibc) commits go prior to Thursday had just authored three patches from a Huawei emailing address. But that count more than doubled thanks to some optimizations they have successfully landed upstream.

Huawei has contributed optimized implementations of strlen_asimd, memrchr, strnlen, strcpy, and memcpy for Glibc's AArch64 (64-bit ARM) code that stands to benefit for all modern Arm SoCs and just not Huawei hardware. For strcpy it's possible to be 5~18% faster, strnlen in the range of 11~24% for longer strings, and other optimized functions in the range of upper single digit percentages to around ~20% in best case scenarios.

Beyond those generic AArch64 GNU C Library optimizations, also upstreamed were an optimized memset implementation specific to the Kunpeng processor.

The Huawei work can be seen here and hopefully we'll see them contributing more to the GNU toolchain moving forward.
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