]> Cypherpunks repositories - gostls13.git/commit
internal/bytealg: share code for IndexByte functions on arm
authorTobias Klauser <tklauser@distanz.ch>
Sun, 17 Mar 2019 21:39:42 +0000 (22:39 +0100)
committerTobias Klauser <tobias.klauser@gmail.com>
Mon, 18 Mar 2019 07:37:13 +0000 (07:37 +0000)
commit3496ff1d1905fca857e009584f4c9a15481739d6
tree522d8142d7b9e67b1e35b5ee35beafbc0ccea248
parentbedb6a18d855d1968a685ccd90c81a43b3def9fa
internal/bytealg: share code for IndexByte functions on arm

Move the shared code of IndexByte and IndexByteString into
indexbytebody. This will allow to implement optimizations (e.g.
for #29001) in a single function.

Change-Id: I1d550da8eb65f95e492a460a12058cc35b1162b6
Reviewed-on: https://go-review.googlesource.com/c/go/+/167939
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/internal/bytealg/indexbyte_arm.s