]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: make some s390x rules use strongly typed aux values
authorMichael Munday <mike.munday@ibm.com>
Thu, 16 Apr 2020 10:40:09 +0000 (11:40 +0100)
committerMichael Munday <mike.munday@ibm.com>
Fri, 17 Apr 2020 14:54:05 +0000 (14:54 +0000)
commitb1cae8cd1d66714d7fe7e84eb6aea04986b797f1
tree4cde6cd5a85b7d95cb4a5d1c13b2baf4cbd577bd
parent8ce21fae6009adc0d528945b09293ff2c4530364
cmd/compile: make some s390x rules use strongly typed aux values

This first pass makes the rules using the condition code mask
(CCMask) and rotate parameters (RotateParams) aux values strongly
typed. This required adding strongly typed aux handling to the
block rulegen.

More CLs like this to follow, but this is probably the most
complex.

Passes toolstash-check -all.

Change-Id: Ie513b07d527f0c1b398d7748331442dcb5f7b17d
Reviewed-on: https://go-review.googlesource.com/c/go/+/228518
Run-TryBot: Michael Munday <mike.munday@ibm.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Keith Randall <khr@golang.org>
src/cmd/compile/internal/ssa/block.go
src/cmd/compile/internal/ssa/check.go
src/cmd/compile/internal/ssa/gen/S390X.rules
src/cmd/compile/internal/ssa/gen/S390XOps.go
src/cmd/compile/internal/ssa/gen/main.go
src/cmd/compile/internal/ssa/gen/rulegen.go
src/cmd/compile/internal/ssa/op.go
src/cmd/compile/internal/ssa/opGen.go
src/cmd/compile/internal/ssa/rewrite.go
src/cmd/compile/internal/ssa/rewriteS390X.go
src/cmd/compile/internal/ssa/value.go