diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2019-02-19 15:42:09 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2019-02-19 15:42:09 +0000 |
commit | b05b2dba3dc4f7a8fc18511d51033374e0b37814 (patch) | |
tree | ef90770f5311e8046685c161e23e63906174e644 | |
parent | 6bd37418a378bec4916ad70403375af00df91938 (diff) | |
download | gcc-b05b2dba3dc4f7a8fc18511d51033374e0b37814.zip gcc-b05b2dba3dc4f7a8fc18511d51033374e0b37814.tar.gz gcc-b05b2dba3dc4f7a8fc18511d51033374e0b37814.tar.bz2 |
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
-rw-r--r-- | gcc/go/gofrontend/MERGE | 2 | ||||
-rw-r--r-- | libgo/go/internal/cpu/cpu_ppc64x.go | 4 |
2 files changed, 2 insertions, 4 deletions
diff --git a/gcc/go/gofrontend/MERGE b/gcc/go/gofrontend/MERGE index 07437d4..e3db885 100644 --- a/gcc/go/gofrontend/MERGE +++ b/gcc/go/gofrontend/MERGE @@ -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. diff --git a/libgo/go/internal/cpu/cpu_ppc64x.go b/libgo/go/internal/cpu/cpu_ppc64x.go index c59503f..02f2c06 100644 --- a/libgo/go/internal/cpu/cpu_ppc64x.go +++ b/libgo/go/internal/cpu/cpu_ppc64x.go @@ -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 |