]> Cypherpunks.ru repositories - gostls13.git/commit
cmd/compile: intrinsify runtime/internal/atomic.{And,Or} on PPC64
authorMichael Pratt <mpratt@google.com>
Fri, 16 Oct 2020 21:07:14 +0000 (17:07 -0400)
committerMichael Pratt <mpratt@google.com>
Fri, 23 Oct 2020 15:11:03 +0000 (15:11 +0000)
commite223c6cf073fe1228c54050a43042b9c5721d4f8
treede6ec377e62ff00774df2856676078444118785f
parentcdb19b4dba58c0e3cabde8b728156dfe273707b3
cmd/compile: intrinsify runtime/internal/atomic.{And,Or} on PPC64

This is a simple case of changing the operand size of the existing 8-bit
And/Or.

I've also updated a few operand descriptions that were out-of-sync with
the implementation.

Change-Id: I95ac4445d08f7958768aec9a233698a2d652a39a
Reviewed-on: https://go-review.googlesource.com/c/go/+/263150
Run-TryBot: Michael Pratt <mpratt@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Trust: Michael Pratt <mpratt@google.com>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
src/cmd/compile/internal/gc/ssa.go
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/opGen.go
src/cmd/compile/internal/ssa/rewritePPC64.go