]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: intrinsify runtime/internal/atomic.{And,Or} on MIPS
authorMichael Pratt <mpratt@google.com>
Fri, 16 Oct 2020 20:49:56 +0000 (16:49 -0400)
committerMichael Pratt <mpratt@google.com>
Fri, 23 Oct 2020 16:25:07 +0000 (16:25 +0000)
commite5ad73508e5ab5cadfba25e25d6cc3b025865e29
tree428849371c786490aca11f2e2ff84eeba94b24f7
parente313fd7448ed0dabf98dc725bee2361e905f208b
cmd/compile: intrinsify runtime/internal/atomic.{And,Or} on MIPS

This one is trivial, as there are already 32-bit AND and OR ops used to
implement the more complex 8-bit versions.

Change-Id: Ic48a53ea291d0067ebeab8e96c82e054daf20ae7
Reviewed-on: https://go-review.googlesource.com/c/go/+/263149
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/ssa/gen/MIPS.rules
src/cmd/compile/internal/ssa/rewriteMIPS.go