diff options
author | Richard Henderson <rth@twiddle.net> | 2017-02-16 16:19:12 -0200 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2018-10-02 15:32:35 +0000 |
commit | 01c324107db27294a46141414fdc1094686f5508 (patch) | |
tree | 27d2c4e1e7b9897299c4feb8c0cf433aa53a4dd7 /math/libm-test-cbrt.inc | |
parent | c1dd2be8155f7277d5604f5d91fc2d4a0fc03fd4 (diff) | |
download | glibc-01c324107db27294a46141414fdc1094686f5508.tar.gz |
string: Improve generic memchr
New algorithm have the following key differences:
- Reads first word unaligned and use string-maskoff function to
remove unwanted data. This strategy follow assemble optimized
ones for aarch64, powerpc and tile.
- Use string-fz{b,i} and string-opthr functions.
Checked on x86_64-linux-gnu, i686-linux-gnu, sparc64-linux-gnu,
and sparcv9-linux-gnu by removing the arch-specific assembly
implementation and disabling multi-arch (it covers both LE and BE
for 64 and 32 bits).
[BZ #5806]
* string/memchr.c: Use string-fzb.h, string-fzi.h, string-opthr.h.
Diffstat (limited to 'math/libm-test-cbrt.inc')
0 files changed, 0 insertions, 0 deletions