]> Cypherpunks repositories - gostls13.git/commit
all: convert PPC64 CMPx ...,R0,... to CMPx Rx,$0
authorPaul E. Murphy <murp@ibm.com>
Tue, 14 May 2024 15:05:00 +0000 (10:05 -0500)
committerPaul Murphy <murp@ibm.com>
Wed, 22 May 2024 18:17:17 +0000 (18:17 +0000)
commitcc673d2ec5df9e0894ea2cc3e16a9c309c219bd8
tree15a41e809178a1db303ea4e656e0e313349570ea
parent41884dcd05546ced3634496d931d0b005fc8c2e6
all: convert PPC64 CMPx ...,R0,... to CMPx Rx,$0

Cleanup all remaining trivial compares against $0 in ppc64x assembly.

In math, SRD ...,Rx; CMP Rx, $0 is further simplified to SRDCC.

Change-Id: Ia2bc204953e32f08ee142bfd06a91965f30f99b6
Reviewed-on: https://go-review.googlesource.com/c/go/+/587016
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Lynn Boger <laboger@linux.vnet.ibm.com>
Run-TryBot: Paul Murphy <murp@ibm.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
src/cmd/compile/internal/ppc64/ssa.go
src/cmd/internal/obj/ppc64/obj9.go
src/crypto/subtle/xor_ppc64x.s
src/math/big/arith_ppc64x.s
src/runtime/asm_ppc64x.s
src/runtime/rt0_linux_ppc64le.s
src/runtime/sys_linux_ppc64x.s