about summary refs log tree commit diff
path: root/sysvipc/test-sysvsem.c
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2023-01-10 18:01:02 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2023-02-06 16:19:35 -0300
commitc62b1c29c2100f6d0bb8fe6d5e35811bd8ab49d9 (patch)
tree0512bf2d4e936afdad81efd54c85a43260ce1073 /sysvipc/test-sysvsem.c
parentbe836d9153eb6c1203c6659befb38427514eb349 (diff)
downloadglibc-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 'sysvipc/test-sysvsem.c')
0 files changed, 0 insertions, 0 deletions