diff mbox series

libgo patch committed: Do not require POWER8

Message ID CAOyqgcXh=L0gOogwEcshfsJqR2pGqgvOk2wr-EBfs-SkuWyxDw@mail.gmail.com
State New
Headers show
Series libgo patch committed: Do not require POWER8 | expand

Commit Message

Ian Lance Taylor Feb. 19, 2019, 3:42 p.m. UTC
Although the gc toolchain requires POWER8, gccgo does not.  This libgo
patch removes a check that POWER8 is required.  This fixes GCC PR
89169.  Bootstrapped and tested on x86_64-pc-linux-gnu and
ppc64-linux-gnu.  Committed to mainline.

Ian
diff mbox series

Patch

Index: gcc/go/gofrontend/MERGE
===================================================================
--- gcc/go/gofrontend/MERGE	(revision 269018)
+++ gcc/go/gofrontend/MERGE	(working copy)
@@ -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: libgo/go/internal/cpu/cpu_ppc64x.go
===================================================================
--- libgo/go/internal/cpu/cpu_ppc64x.go	(revision 268949)
+++ libgo/go/internal/cpu/cpu_ppc64x.go	(working copy)
@@ -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