]> Cypherpunks repositories - gostls13.git/commit
internal/bytealg: use CBZ instructions
authorHeisenberg <lziqiang1@gmail.com>
Thu, 11 Jun 2020 02:16:33 +0000 (10:16 +0800)
committerKeith Randall <khr@golang.org>
Mon, 17 Aug 2020 21:02:28 +0000 (21:02 +0000)
commit99d6e3eec2cad4387b28759322273d774cc94fe5
tree1eea449754020aef845b74c7a180a02edf09cf78
parenta61a3c378d9ce71d9b97a1b4fb3320b8b3d6a599
internal/bytealg: use CBZ instructions

Use CBZ to replace the comparison and jump to the zero instruction in the arm64 assembly file.

Change-Id: Ie16fb52e27b4d327343e119ebc0f0ca756437bc4
Reviewed-on: https://go-review.googlesource.com/c/go/+/237477
Reviewed-by: Keith Randall <khr@golang.org>
Run-TryBot: Keith Randall <khr@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/internal/bytealg/compare_arm64.s