]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: intrinsify runtime/internal/atomic.{And,Or} on AMD64
authorMichael Pratt <mpratt@google.com>
Fri, 9 Oct 2020 16:41:50 +0000 (12:41 -0400)
committerMichael Pratt <mpratt@google.com>
Fri, 23 Oct 2020 14:18:13 +0000 (14:18 +0000)
commit44dbeaf35600ae70f3e6296914ea31147d5f010c
tree2e5d0ce9861972d1a89ecaf319c52a501e53c0d8
parentad61343f886cc5ce677e7bd62385144b2ba7b8f5
cmd/compile: intrinsify runtime/internal/atomic.{And,Or} on AMD64

These are identical to And8 and Or8, just using ANDL/ORL instead of
ANDB/ORB.

Change-Id: I99cf90a8b0b5f211fb23325dddd55821875f0c8f
Reviewed-on: https://go-review.googlesource.com/c/go/+/263140
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/amd64/ssa.go
src/cmd/compile/internal/gc/ssa.go
src/cmd/compile/internal/ssa/gen/AMD64.rules
src/cmd/compile/internal/ssa/gen/AMD64Ops.go
src/cmd/compile/internal/ssa/gen/genericOps.go
src/cmd/compile/internal/ssa/opGen.go
src/cmd/compile/internal/ssa/rewriteAMD64.go