diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2023-01-10 18:01:02 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2023-02-06 16:19:35 -0300 |
commit | c62b1c29c2100f6d0bb8fe6d5e35811bd8ab49d9 (patch) | |
tree | 0512bf2d4e936afdad81efd54c85a43260ce1073 /sysdeps/x86 | |
parent | be836d9153eb6c1203c6659befb38427514eb349 (diff) | |
download | glibc-c62b1c29c2100f6d0bb8fe6d5e35811bd8ab49d9.tar.gz glibc-c62b1c29c2100f6d0bb8fe6d5e35811bd8ab49d9.tar.xz glibc-c62b1c29c2100f6d0bb8fe6d5e35811bd8ab49d9.zip |
hppa: Add string-fza.h, string-fzc.h, and string-fzi.h
Use UXOR,SBZ to test for a zero byte within a word. While we can get semi-decent code out of asm-goto, we would do slightly better with a compiler builtin. For index_zero et al, sequential testing of bytes is less expensive than any tricks that involve a count-leading-zeros insn that we don't have. Checked on hppa-linux-gnu. Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'sysdeps/x86')
0 files changed, 0 insertions, 0 deletions