aboutsummaryrefslogtreecommitdiff
path: root/libgo/go/internal/cpu
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@gcc.gnu.org>2019-02-19 15:42:09 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2019-02-19 15:42:09 +0000
commitb05b2dba3dc4f7a8fc18511d51033374e0b37814 (patch)
treeef90770f5311e8046685c161e23e63906174e644 /libgo/go/internal/cpu
parent6bd37418a378bec4916ad70403375af00df91938 (diff)
downloadgcc-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
Diffstat (limited to 'libgo/go/internal/cpu')
-rw-r--r--libgo/go/internal/cpu/cpu_ppc64x.go4
1 files changed, 1 insertions, 3 deletions
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