mirror of
https://github.com/golang/go
synced 2024-11-17 14:04:48 -07:00
internal/abi, internal/buildcfg: always enable register ABI on PPC64
In last cycle we developed register ABI for ARM64, enabled by default as a GOEXPERIMENT. This cycle we turn it on all the time. Later CLs will clean up fallback code. Change-Id: Idac4dcff634791cbc3d30988052ecd742b55ab8b Reviewed-on: https://go-review.googlesource.com/c/go/+/394214 Trust: Cherry Mui <cherryyz@google.com> Run-TryBot: Cherry Mui <cherryyz@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Michael Knyszek <mknyszek@google.com>
This commit is contained in:
parent
0aaa55526e
commit
b810a74da3
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
//go:build !goexperiment.regabiargs && !amd64 && !arm64
|
||||
//go:build !goexperiment.regabiargs && !amd64 && !arm64 && !ppc64 && !ppc64le
|
||||
|
||||
package abi
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
//go:build goexperiment.regabiargs && (ppc64 || ppc64le)
|
||||
//go:build ppc64 || ppc64le
|
||||
|
||||
package abi
|
||||
|
||||
|
@ -62,10 +62,8 @@ func ParseGOEXPERIMENT(goos, goarch, goexp string) (*ExperimentFlags, error) {
|
||||
// always on.
|
||||
var regabiSupported, regabiAlwaysOn bool
|
||||
switch goarch {
|
||||
case "amd64", "arm64":
|
||||
case "amd64", "arm64", "ppc64le", "ppc64":
|
||||
regabiAlwaysOn = true
|
||||
fallthrough
|
||||
case "ppc64le", "ppc64":
|
||||
regabiSupported = true
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user