about summary refs log tree commit diff
path: root/sunrpc/create_xid.c
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2019-02-05 18:55:59 -0200
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2019-02-27 10:00:37 -0300
commit457208b1e9498c1238b7af4387529388df0414c1 (patch)
treed7310c4d50b115ceef62d4c7a1de7fff9b2657e9 /sunrpc/create_xid.c
parent30a7e2081c690dbb22022e1a7d276341b7391434 (diff)
downloadglibc-457208b1e9498c1238b7af4387529388df0414c1.tar.gz
glibc-457208b1e9498c1238b7af4387529388df0414c1.tar.xz
glibc-457208b1e9498c1238b7af4387529388df0414c1.zip
wcsmbs: optimize wcsnlen
This patch rewrites wcsnlen using wmemchr.  The generic wmemchr
already uses the strategy (loop unrolling and tail handling) and
by using it it allows architectures that have optimized wmemchr
(s390 and x86_64) to optimize wcsnlen as well.

Checked on x86_64-linux-gnu.

	* wcsmbs/wcsnlen.c (__wcsnlen): Rewrite using wmemchr.
Diffstat (limited to 'sunrpc/create_xid.c')
0 files changed, 0 insertions, 0 deletions