From patchwork Tue Feb 19 15:42:13 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ian Lance Taylor X-Patchwork-Id: 1044735 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=gcc.gnu.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=gcc-patches-return-496643-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=golang.org Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="G08XE/gX"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=golang-org.20150623.gappssmtp.com header.i=@golang-org.20150623.gappssmtp.com header.b="j3wc8F2A"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 443lNt2F4Rz9sD4 for ; Wed, 20 Feb 2019 02:42:36 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :mime-version:from:date:message-id:subject:to:content-type; q= dns; s=default; b=hATNfo8Sfk8D28qaG8w2xp6J3WdLbdwguD3Uzi1TUIeynq Z73NxJXKr8W3z7BzEWazTXGIWAptuUAcEUFCCcIyRTXTPM5OT+93CiAHLXULKY1m Kr2LT551+G40u5WbuPlwfcGfEMaCjROnJt5WVKTpCvCzYO6JyCY2NmraYLthU= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :mime-version:from:date:message-id:subject:to:content-type; s= default; bh=HA36FfDX2K1Z4/B08r9TyhHKnMw=; b=G08XE/gXyFKFpMF928Ba dVGtqveM4RucqtbgI6KRYGybrjrpHXDvPgTPdOH2NsUbtiLFviXbGYqbBnJ+HcLH Fee5nQTLoPXbUXH5xhoBPCWmp8isdrVsp13IMf+DtVCa7kiuAGX6gBkwC7y4SkgI OJv/uRikuZLF3JAZPrRVQrg= Received: (qmail 90811 invoked by alias); 19 Feb 2019 15:42:30 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 90800 invoked by uid 89); 19 Feb 2019 15:42:29 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-10.6 required=5.0 tests=BAYES_00, GIT_PATCH_2, GIT_PATCH_3, KAM_ASCII_DIVIDERS, KAM_NUMSUBJECT, RCVD_IN_DNSWL_NONE, SPF_PASS autolearn=ham version=3.3.2 spammy=darn, HX-Received:f517 X-HELO: mail-lf1-f50.google.com Received: from mail-lf1-f50.google.com (HELO mail-lf1-f50.google.com) (209.85.167.50) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 19 Feb 2019 15:42:28 +0000 Received: by mail-lf1-f50.google.com with SMTP id q12so15299152lfm.0 for ; Tue, 19 Feb 2019 07:42:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=golang-org.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=tFtuAhib2baJJUJ+jfShyMPH8E+U49lEsLilmmLovsQ=; b=j3wc8F2As7CuMyYAxTdMYqQNb7U2Hv+y1IeyZnpXLD0tGDBze2KdpNkMcnIWHc1FrY w8Dpt6nFCw6bK7dvPgWZr1ExgwXxGX+Ql9yJndJorC/FBuyIJjxpX9aXztHP/8KMqD9o ULsQlSawAjcofCLXr4ABdIb3QuddFBOfxZT2a2QYyMnG+WIaPgxdceR4IF13X377JiUG cSPD8Z5FyUw2PswFwj8PMgj60l9ci0JFz/7tWy/qPgdrc+9sBPru9ceYVGSHC5pAJr1o TGbbnuGtCvczPOPRwulE/xWkx8tzwVi5Wvn70o0EB/aCPqE7PscXASOaz9Q5KyGcB8MW MtkA== MIME-Version: 1.0 From: Ian Lance Taylor Date: Tue, 19 Feb 2019 07:42:13 -0800 Message-ID: Subject: libgo patch committed: Do not require POWER8 To: gcc-patches , gofrontend-dev 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 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