about summary refs log tree commit diff
path: root/sysdeps/ia64/ldsodefs.h
diff options
context:
space:
mode:
authordengjianbo <dengjianbo@loongson.cn>2023-09-13 15:35:00 +0800
committercaiyinyu <caiyinyu@loongson.cn>2023-09-15 09:07:47 +0800
commit24279aecf34a830a744038cb922d94b5a2d9c1cb (patch)
tree8412b585df3f8206103d1e9db8133a1de1043e54 /sysdeps/ia64/ldsodefs.h
parent06251002d4a1d92101ae7205be380887a4129471 (diff)
downloadglibc-24279aecf34a830a744038cb922d94b5a2d9c1cb.tar.gz
glibc-24279aecf34a830a744038cb922d94b5a2d9c1cb.tar.xz
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 'sysdeps/ia64/ldsodefs.h')
0 files changed, 0 insertions, 0 deletions