• Carlos Eduardo Seo's avatar
    cmd/compile: add processor level selection support to ppc64{,le} · 4ba69a9a
    Carlos Eduardo Seo authored
    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: default avatarDavid Chase <drchase@google.com>
    4ba69a9a
buildruntime.go 3.28 KB