diff options
author | dengjianbo <dengjianbo@loongson.cn> | 2023-08-28 10:08:35 +0800 |
---|---|---|
committer | caiyinyu <caiyinyu@loongson.cn> | 2023-08-29 10:35:38 +0800 |
commit | f8664fe2155eb5ddc22272bac72ab26368735718 (patch) | |
tree | aac9760625ff65d3f84561ff4ac30f63ae3e6f1b /nscd | |
parent | 3efa26749e4d28768558330353dc15c6f325ed4e (diff) | |
download | glibc-f8664fe2155eb5ddc22272bac72ab26368735718.zip glibc-f8664fe2155eb5ddc22272bac72ab26368735718.tar.gz glibc-f8664fe2155eb5ddc22272bac72ab26368735718.tar.bz2 |
LoongArch: Add ifunc support for rawmemchr{aligned, lsx, lasx}
According to glibc rawmemchr microbenchmark, A few cases tested with
char '\0' experience performance degradation due to the lasx and lsx
versions don't handle the '\0' separately. Overall, rawmemchr-lasx
implementation could reduce the runtime about 40%-80%, rawmemchr-lsx
implementation could reduce the runtime about 40%-66%, rawmemchr-aligned
implementation could reduce the runtime about 20%-40%.
Diffstat (limited to 'nscd')
0 files changed, 0 insertions, 0 deletions