]> Cypherpunks.ru repositories - gostls13.git/commit
cmd/compile: make math/bits.RotateLeft{32,64} intrinsics on s390x
authorMichael Munday <mike.munday@ibm.com>
Mon, 3 Sep 2018 14:47:58 +0000 (10:47 -0400)
committerMichael Munday <mike.munday@ibm.com>
Wed, 5 Sep 2018 08:29:02 +0000 (08:29 +0000)
commitf94de9c9fbed2a8d52a84b565c54da6efb015c4d
tree6037323e075061d9d1ac1d395757201833ca5c31
parent0e9f1de0b7c934d9061f05f4781994fbd3ebd301
cmd/compile: make math/bits.RotateLeft{32,64} intrinsics on s390x

Extends CL 132435 to s390x. s390x has 32- and 64-bit variable
rotate left instructions.

Change-Id: Ic4f1ebb0e0543207ed2fc8c119e0163b428138a5
Reviewed-on: https://go-review.googlesource.com/133035
Run-TryBot: Michael Munday <mike.munday@ibm.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
src/cmd/compile/internal/gc/ssa.go
src/cmd/compile/internal/s390x/ssa.go
src/cmd/compile/internal/ssa/gen/S390X.rules
src/cmd/compile/internal/ssa/gen/S390XOps.go
src/cmd/compile/internal/ssa/opGen.go
src/cmd/compile/internal/ssa/rewriteS390X.go
test/codegen/mathbits.go