]> sourceware.org Git - glibc.git/commit
LoongArch: Add ifunc support for strnlen{aligned, lsx, lasx}
authordengjianbo <dengjianbo@loongson.cn>
Thu, 24 Aug 2023 08:50:17 +0000 (16:50 +0800)
committercaiyinyu <caiyinyu@loongson.cn>
Thu, 24 Aug 2023 09:19:47 +0000 (17:19 +0800)
commite74d959862db0e97a1a186ffe606e8fb6c93c309
tree92d9260c7cb646991d251da854d05aed562f69fd
parent1dc0bc8f07483e3faef245c343b773137c8d2c4f
LoongArch: Add ifunc support for strnlen{aligned, lsx, lasx}

Based on the glibc microbenchmark, strnlen-aligned implementation could
reduce the runtime more than 10%, strnlen-lsx implementation could reduce
the runtime about 50%-78%, strnlen-lasx implementation could reduce the
runtime about 50%-88%.
sysdeps/loongarch/lp64/multiarch/Makefile
sysdeps/loongarch/lp64/multiarch/ifunc-impl-list.c
sysdeps/loongarch/lp64/multiarch/ifunc-strnlen.h [new file with mode: 0644]
sysdeps/loongarch/lp64/multiarch/strnlen-aligned.S [new file with mode: 0644]
sysdeps/loongarch/lp64/multiarch/strnlen-lasx.S [new file with mode: 0644]
sysdeps/loongarch/lp64/multiarch/strnlen-lsx.S [new file with mode: 0644]
sysdeps/loongarch/lp64/multiarch/strnlen.c [new file with mode: 0644]
This page took 0.043286 seconds and 5 git commands to generate.