]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: do not let regopt use REGTMP on ppc64
authorMichael Hudson-Doyle <michael.hudson@canonical.com>
Mon, 5 Oct 2015 03:07:59 +0000 (16:07 +1300)
committerMichael Hudson-Doyle <michael.hudson@canonical.com>
Mon, 5 Oct 2015 03:50:51 +0000 (03:50 +0000)
commit0357c38adfd5d368390d82a2ab5b32748e4bb549
tree0c98242b3fcd9431803d3b2d8387e66ef01d3c68
parentf7a39a54e9c75207bdf2f54fbb5e41d947e058f1
cmd/compile: do not let regopt use REGTMP on ppc64

ppc64 codegen assumes that it is OK to stomp on r31 at any time, but it is not
excluded from the set of registers that regopt is allowed to use.

Fixes #12597

Change-Id: I29c7655e32abd22f3c21d88427b73e4fca055233
Reviewed-on: https://go-review.googlesource.com/15245
Reviewed-by: Minux Ma <minux@golang.org>
src/cmd/compile/internal/ppc64/reg.go