]> sourceware.org Git - glibc.git/commit
AArch64: Improve strrchr
authorWilco Dijkstra <wilco.dijkstra@arm.com>
Wed, 11 Jan 2023 13:53:19 +0000 (13:53 +0000)
committerWilco Dijkstra <wilco.dijkstra@arm.com>
Tue, 17 Jan 2023 15:09:18 +0000 (15:09 +0000)
commit55599d480437dcf129b41b95be32b48f2a9e5da9
treeebcf9b0156026af93b6fa771805480fd8994b34a
parentad098893ba3c3344a5f2f6ab1627c47204afdb47
AArch64: Improve strrchr

Use shrn for narrowing the mask which simplifies code and speeds up small
strings.  Unroll the first search loop to improve performance on large
strings.

Reviewed-by: Szabolcs Nagy <szabolcs.nagy@arm.com>
sysdeps/aarch64/strrchr.S
This page took 0.04084 seconds and 5 git commands to generate.