about summary refs log tree commit diff
path: root/math
diff options
context:
space:
mode:
authordengjianbo <dengjianbo@loongson.cn>2023-08-15 09:08:11 +0800
committercaiyinyu <caiyinyu@loongson.cn>2023-08-17 10:12:18 +0800
commitba67bc8e0a682d98583975b4d3896c5d5fbd33d2 (patch)
treef82ffee5ddaf9581728b1b263f74890f84e24866 /math
parent652b9fdb77d9fd056d4dd26dad2c14142768ab49 (diff)
downloadglibc-ba67bc8e0a682d98583975b4d3896c5d5fbd33d2.tar.gz
glibc-ba67bc8e0a682d98583975b4d3896c5d5fbd33d2.tar.xz
glibc-ba67bc8e0a682d98583975b4d3896c5d5fbd33d2.zip
Loongarch: Add ifunc support for strchr{aligned, lsx, lasx} and strchrnul{aligned, lsx, lasx}
These implementations improve the time to run strchr{nul}
microbenchmark in glibc as below:
strchr-lasx       reduces the runtime about 50%-83%
strchr-lsx        reduces the runtime about 30%-67%
strchr-aligned    reduces the runtime about 10%-20%
strchrnul-lasx    reduces the runtime about 50%-83%
strchrnul-lsx     reduces the runtime about 36%-65%
strchrnul-aligned reduces the runtime about 6%-10%
Diffstat (limited to 'math')
0 files changed, 0 insertions, 0 deletions