]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: fix s390x load-combining rules
authorMichael Munday <munday@ca.ibm.com>
Mon, 13 Feb 2017 19:39:58 +0000 (14:39 -0500)
committerMichael Munday <munday@ca.ibm.com>
Mon, 13 Feb 2017 20:04:14 +0000 (20:04 +0000)
commit074b73b1b2db1a1d1bb17d25bb335802e7b59f69
tree4bc04cd9d230fde0d7428198bac613345962ee7c
parent40c27ed5bc9297718809e00e3158967414aa9ee5
cmd/compile: fix s390x load-combining rules

MOVD{reg,nop} operations (added in CL 36256) inserted to preserve
type information were blocking the load-combining rules. Fix this
by merging type changes into loads wherever possible.

Fixes #19059.

Change-Id: I8a1df06eb0f231b40ae43107d4a3bd0b9c441b59
Reviewed-on: https://go-review.googlesource.com/36843
Run-TryBot: Michael Munday <munday@ca.ibm.com>
Reviewed-by: Keith Randall <khr@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/cmd/compile/internal/gc/asm_test.go
src/cmd/compile/internal/ssa/gen/S390X.rules
src/cmd/compile/internal/ssa/rewriteS390X.go