]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: add processor level selection support to ppc64{,le}
authorCarlos Eduardo Seo <cseo@linux.vnet.ibm.com>
Fri, 11 Jan 2019 19:16:28 +0000 (17:16 -0200)
committerLynn Boger <laboger@linux.vnet.ibm.com>
Wed, 13 Mar 2019 14:44:02 +0000 (14:44 +0000)
commit4ba69a9a17d643e2e18acebac7b176746564b897
tree8086f5a435ba430173c75bc07b67bfe39b3aca8e
parent82af9e67493b14ad1e10f28a384645e904a88d6f
cmd/compile: add processor level selection support to ppc64{,le}

ppc64{,le} processor level selection allows the compiler to generate instructions
targeting newer processors and processor-specific optimizations without breaking
compatibility with our current baseline. This feature introduces a new environment
variable, GOPPC64.

GOPPC64 is a GOARCH=ppc64{,le} specific option, for a choice between different
processor levels (i.e. Instruction Set Architecture versions) for which the
compiler will target. The default is 'power8'.

Change-Id: Ic152e283ae1c47084ece4346fa002a3eabb3bb9e
Reviewed-on: https://go-review.googlesource.com/c/go/+/163758
Run-TryBot: Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: David Chase <drchase@google.com>
doc/install-source.html
src/cmd/dist/build.go
src/cmd/dist/buildruntime.go
src/cmd/go/internal/cfg/cfg.go
src/cmd/go/internal/envcmd/env.go
src/cmd/internal/objabi/util.go
test/run.go