diff options
author | dengjianbo <dengjianbo@loongson.cn> | 2023-09-13 15:35:00 +0800 |
---|---|---|
committer | caiyinyu <caiyinyu@loongson.cn> | 2023-09-15 09:07:47 +0800 |
commit | 24279aecf34a830a744038cb922d94b5a2d9c1cb (patch) | |
tree | 8412b585df3f8206103d1e9db8133a1de1043e54 /nss/Makefile | |
parent | 06251002d4a1d92101ae7205be380887a4129471 (diff) | |
download | glibc-24279aecf34a830a744038cb922d94b5a2d9c1cb.tar glibc-24279aecf34a830a744038cb922d94b5a2d9c1cb.tar.gz glibc-24279aecf34a830a744038cb922d94b5a2d9c1cb.tar.bz2 glibc-24279aecf34a830a744038cb922d94b5a2d9c1cb.zip |
LoongArch: Add ifunc support for strrchr{aligned, lsx, lasx}
According to glibc strrchr microbenchmark test results, this implementation
could reduce the runtime time as following:
Name Percent of rutime reduced
strrchr-lasx 10%-50%
strrchr-lsx 0%-50%
strrchr-aligned 5%-50%
Generic strrchr is implemented by function strlen + memrchr, the lasx version
will compare with generic strrchr implemented by strlen-lasx + memrchr-lasx,
the lsx version will compare with generic strrchr implemented by strlen-lsx +
memrchr-lsx, the aligned version will compare with generic strrchr implemented
by strlen-aligned + memrchr-generic.
Diffstat (limited to 'nss/Makefile')
0 files changed, 0 insertions, 0 deletions