]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: add SSA backend for s390x and enable by default
authorMichael Munday <munday@ca.ibm.com>
Mon, 12 Sep 2016 18:50:10 +0000 (14:50 -0400)
committerMichael Munday <munday@ca.ibm.com>
Tue, 13 Sep 2016 19:39:38 +0000 (19:39 +0000)
commit6ec993adc3373d31392b301ebe0c376b02d68051
treeab8e5c5afe559521792464976e0dc8f0101d9779
parentb7e53038b8abb4d82cf25cb844395af602150a29
cmd/compile: add SSA backend for s390x and enable by default

The new SSA backend modifies the ABI slightly: R0 is now a usable
general purpose register.

Fixes #16677.

Change-Id: I367435ce921e0c7e79e021c80cf8ef5d1d1466cf
Reviewed-on: https://go-review.googlesource.com/28978
Run-TryBot: Michael Munday <munday@ca.ibm.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Keith Randall <khr@golang.org>
18 files changed:
src/cmd/compile/internal/gc/ssa.go
src/cmd/compile/internal/s390x/galign.go
src/cmd/compile/internal/s390x/ggen.go
src/cmd/compile/internal/s390x/prog.go
src/cmd/compile/internal/s390x/ssa.go [new file with mode: 0644]
src/cmd/compile/internal/ssa/config.go
src/cmd/compile/internal/ssa/gen/S390X.rules [new file with mode: 0644]
src/cmd/compile/internal/ssa/gen/S390XOps.go [new file with mode: 0644]
src/cmd/compile/internal/ssa/opGen.go
src/cmd/compile/internal/ssa/regalloc.go
src/cmd/compile/internal/ssa/rewrite.go
src/cmd/compile/internal/ssa/rewriteS390X.go [new file with mode: 0644]
src/cmd/compile/internal/ssa/schedule.go
test/live.go
test/live_ssa.go
test/nilptr3_ssa.go
test/phiopt.go
test/sliceopt.go