summary refs log tree commit diff
path: root/debug/stpncpy_chk.c
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2023-02-01 12:44:17 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2023-02-06 16:19:35 -0300
commit25788431c0f5264c4830415de0cdd4d9926cbad9 (patch)
tree5597dd9a3d673451af029bc89f99c50d18e42baf /debug/stpncpy_chk.c
parentc505eb828e2f7415397ae445cfb89661d78f291e (diff)
downloadglibc-25788431c0f5264c4830415de0cdd4d9926cbad9.tar.gz
glibc-25788431c0f5264c4830415de0cdd4d9926cbad9.tar.xz
glibc-25788431c0f5264c4830415de0cdd4d9926cbad9.zip
riscv: Add string-fza.h and string-fzi.h
It uses the bitmanip extension to optimize index_fist and index_last
with clz/ctz (using generic implementation that routes to compiler
builtin) and orc.b to check null bytes.

Checked the string test on riscv64 user mode.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'debug/stpncpy_chk.c')
0 files changed, 0 insertions, 0 deletions