diff options
author | dengjianbo <dengjianbo@loongson.cn> | 2023-08-15 09:08:11 +0800 |
---|---|---|
committer | caiyinyu <caiyinyu@loongson.cn> | 2023-08-17 10:12:18 +0800 |
commit | ba67bc8e0a682d98583975b4d3896c5d5fbd33d2 (patch) | |
tree | f82ffee5ddaf9581728b1b263f74890f84e24866 /support/tst-support-open-dev-null-range.c | |
parent | 652b9fdb77d9fd056d4dd26dad2c14142768ab49 (diff) | |
download | glibc-ba67bc8e0a682d98583975b4d3896c5d5fbd33d2.zip glibc-ba67bc8e0a682d98583975b4d3896c5d5fbd33d2.tar.gz glibc-ba67bc8e0a682d98583975b4d3896c5d5fbd33d2.tar.bz2 |
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 'support/tst-support-open-dev-null-range.c')
0 files changed, 0 insertions, 0 deletions