]> Cypherpunks repositories - gostls13.git/commit
[release-branch.go1.5] 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)
committerAustin Clements <austin@google.com>
Tue, 17 Nov 2015 02:23:39 +0000 (02:23 +0000)
commit8b3f554d869e1d6e7a0bd1574135402cfc6dc1a3
tree60c9a9e3d962067c522bee44925fa3a448dc4085
parent244294f821c9256394d29218ee1f17ab4313551f
[release-branch.go1.5] 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>
Reviewed-on: https://go-review.googlesource.com/16981
Run-TryBot: Austin Clements <austin@google.com>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Russ Cox <rsc@golang.org>
src/cmd/compile/internal/ppc64/reg.go