re PR go/89169 (FAIL: internal/cpu)

PR go/89169
    internal/cpu: do not require POWER8
    
    Although the gc toolchain requires POWER8, the gccgo toolchain does not.
    
    Fixes https://gcc.gnu.org/PR89169
    
    Reviewed-on: https://go-review.googlesource.com/c/162979

From-SVN: r269019
This commit is contained in:
Ian Lance Taylor 2019-02-19 15:42:09 +00:00
parent 6bd37418a3
commit b05b2dba3d
2 changed files with 2 additions and 4 deletions

View File

@ -1,4 +1,4 @@
672572130ba7a7b277a4c9c8f93576fc42accf63
fe0382eabbf1e8b148dc8cb7733348bd9d887e10
The first line of this file holds the git revision number of the last
merge done from the gofrontend repository.

View File

@ -29,9 +29,7 @@ func doinit() {
{Name: "darn", Feature: &PPC64.HasDARN},
{Name: "scv", Feature: &PPC64.HasSCV},
{Name: "power9", Feature: &PPC64.IsPOWER9},
// These capabilities should always be enabled on ppc64 and ppc64le:
{Name: "power8", Feature: &PPC64.IsPOWER8, Required: true},
{Name: "power8", Feature: &PPC64.IsPOWER8},
}
// HWCAP2 feature bits