re PR go/89169 (FAIL: internal/cpu)
authorIan Lance Taylor <ian@gcc.gnu.org>
Tue, 19 Feb 2019 15:42:09 +0000 (15:42 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Tue, 19 Feb 2019 15:42:09 +0000 (15:42 +0000)
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

gcc/go/gofrontend/MERGE
libgo/go/internal/cpu/cpu_ppc64x.go

index 07437d4..e3db885 100644 (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.
index c59503f..02f2c06 100644 (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