]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: intrinsify math.MulUintptr on PPC64
authorPaul E. Murphy <murp@ibm.com>
Wed, 27 Mar 2024 21:03:11 +0000 (16:03 -0500)
committerPaul Murphy <murp@ibm.com>
Mon, 26 Aug 2024 17:02:43 +0000 (17:02 +0000)
commit2b0a157d68365dc9515bd643ab0f5d0cd537cd8f
tree1a1be07baee109fbd9784ffbf81f7636d0933439
parent7c7d6d31f3a88d79d66ae2224e1a8ef61da4cd67
cmd/compile: intrinsify math.MulUintptr on PPC64

This can be done efficiently with few instructions.

This also adds MULHDUCC for further codegen improvement.

Change-Id: I06320ba4383a679341b911a237a360ef07b19168
Reviewed-on: https://go-review.googlesource.com/c/go/+/605975
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Archana Ravindar <aravinda@redhat.com>
Reviewed-by: Michael Pratt <mpratt@google.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
src/cmd/compile/internal/ppc64/ssa.go
src/cmd/compile/internal/ssa/_gen/PPC64.rules
src/cmd/compile/internal/ssa/_gen/PPC64Ops.go
src/cmd/compile/internal/ssa/_gen/PPC64latelower.rules
src/cmd/compile/internal/ssa/opGen.go
src/cmd/compile/internal/ssa/rewrite.go
src/cmd/compile/internal/ssa/rewritePPC64.go
src/cmd/compile/internal/ssa/rewritePPC64latelower.go
src/cmd/compile/internal/ssagen/intrinsics.go
src/cmd/compile/internal/ssagen/intrinsics_test.go
test/codegen/bool.go