]> Cypherpunks repositories - gostls13.git/commit
runtime: use the CBZ instruction in the assembler
authorHeisenberg <lziqiang1@gmail.com>
Thu, 11 Jun 2020 03:17:20 +0000 (11:17 +0800)
committerKeith Randall <khr@golang.org>
Mon, 17 Aug 2020 20:59:59 +0000 (20:59 +0000)
commita61a3c378d9ce71d9b97a1b4fb3320b8b3d6a599
tree0a9e574ee9ccb7c18d0ee6a861c6d268a69cebfa
parente6d0bd2b8951bde6f0ac6421f20e18efc7ba0cdb
runtime: use the CBZ instruction in the assembler

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

Change-Id: Id6c03e9af13aadafc3ad3953f82d2ffa29c12926
Reviewed-on: https://go-review.googlesource.com/c/go/+/237497
Reviewed-by: Keith Randall <khr@golang.org>
Run-TryBot: Keith Randall <khr@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/runtime/rt0_freebsd_arm64.s
src/runtime/rt0_netbsd_arm64.s
src/runtime/rt0_openbsd_arm64.s