]> Cypherpunks repositories - gostls13.git/commit
internal/bytealg: fix Separator length check for Index/ppc64le
authorArchana R <aravind5@in.ibm.com>
Tue, 19 Oct 2021 09:11:46 +0000 (04:11 -0500)
committerLynn Boger <laboger@linux.vnet.ibm.com>
Thu, 21 Oct 2021 15:45:05 +0000 (15:45 +0000)
commit6ec9a1da2d48fdc94093feb0ea3465129e11fc24
treea4a261cb76b65760177ccee899a035a132976dd8
parent8b0bea993d452ef7861642a9c04bae213246ded1
internal/bytealg: fix Separator length check for Index/ppc64le

Modified condition in the ASM implementation of indexbody to
determine if separator length crosses 16 bytes to BGT from BGE
to avoid incorrectly crossing a page.

Also fixed IndexString to invoke indexbodyp9 when on the POWER9
platform

Change-Id: I0602a797cc75287990eea1972e9e473744f6f5a9
Reviewed-on: https://go-review.googlesource.com/c/go/+/356849
Run-TryBot: Lynn Boger <laboger@linux.vnet.ibm.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Lynn Boger <laboger@linux.vnet.ibm.com>
Trust: Keith Randall <khr@golang.org>
src/internal/bytealg/index_ppc64x.s