From patchwork Fri Jun 8 07:28:24 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 137931 Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp538912lji; Fri, 8 Jun 2018 00:28:53 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLmRSTtpjrOpWYDn/HCW5FWNUjDkr/zgj1HoA/z5jNAateWti0DSxO31FegH0VLbakBQn7A X-Received: by 2002:a17:902:7883:: with SMTP id q3-v6mr5434590pll.71.1528442933036; Fri, 08 Jun 2018 00:28:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528442933; cv=none; d=google.com; s=arc-20160816; b=JybY0lwgaPP42Yme3YY3f7yQenyMrk1DgxFoEiZaXvIur5Hc60yxcFbT9T40SPWq2V H+pblfgG/EOh+9rURk5pC2A4DX8yxAFIlKJn98qbdA/SyHSfGOfsMHKtA1q5SddMYpLJ Fj0WhB9zfAkk1spm/sTj+qPM03iSXIIxueJeLakOvdpbwO7qy0X/HyEojE46bhcPqxDv LCUmjDEM2NLxoXotGfSHd2aq/P+SxIGXt2OS/1U94BRWH2t/LQbKeRC8HiHtqomw39sY gzcnOXTktvZr2IfGUPD6Knn/YK0nbUurUixAkP94m2QongLcBk4IqzuNOkAXM5U4whgP Ieqg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=c1oLrENu3hPL7RXZpWm3eAH4Rvpq+h5DMQvHx1RX/Z0=; b=PWV3JcOxhDxY8rqYVqB19SG97oX6LiEjcP6Wna5/IcPjhuIga7y1ozQgb8bOiUJdod uzBxB76yVDWutfX/0nvZKTrgAxmXNTzOI/UTea3z4GjUdepSReJIyRPlINxYf07vc9R/ G8O7ZcZtdiJDxTWYQC4mqyvOWWnQdgXZHvMrRf4J6rJEhXjFvkRL14gjVSvQ9P7Upw2P nkdZjUDnQ9rOXAUwJAKypcQLYyX54YCaFSpDBSuAk4PH92iXSwqqWiEenpUD1n1lKU/H 9GzjcddCFJ/llagoyC5H8vDv3YXnOUYx2T5L+5Coo62yjt49g+AzFa8wARJ+572GMQD6 0+0Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=IJTj7q2G; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id a35-v6si57234076pli.85.2018.06.08.00.28.52; Fri, 08 Jun 2018 00:28:53 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=IJTj7q2G; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 506997718E; Fri, 8 Jun 2018 07:28:34 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pg0-f49.google.com (mail-pg0-f49.google.com [74.125.83.49]) by mail.openembedded.org (Postfix) with ESMTP id 92193770F8 for ; Fri, 8 Jun 2018 07:28:30 +0000 (UTC) Received: by mail-pg0-f49.google.com with SMTP id m5-v6so5977941pgd.3 for ; Fri, 08 Jun 2018 00:28:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=z1n0eWV8IXcejJyJjFVApfbsjbSIVqAEO1FpHmsE9bE=; b=IJTj7q2GzSUmqvX5gTH1H7wIL6QmrZRUFhn1tgDf1OfG7GfWSoT0PpsGmckj5+t/7e NdX+YZ0LIueFcy4HOLpTgakW+u79jhPRHBUvFwQLbS02zw2drXNELsnObwzNXh4a4JL3 5PdmCHnzmG9KAn0tuAnfD9nFaVrZT04aJ9V4zeg1ccU6YiaRh2C7vLY8FdFfpIvADynR jcAtvBA4LIjx/+wTNZHNba8YO/s6xAaejxbELRLEeqe2vlRjSpdMEOCRDal3BEEVd8qH 7vA1pPgOdelpVDH/aYns/Y9+FoYMlwVxHXBjoNP5JPiyP61XTbzZcQUy1ibCSBuuQzhV wnlQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=z1n0eWV8IXcejJyJjFVApfbsjbSIVqAEO1FpHmsE9bE=; b=Ppg/UUFTZxXgdARPgh/7toY/KSmtqY7qDHiL5lwe6OU/Ce1jk3hsIvFunHsjEa8zSu crY2YF0khDzair1r/aTkSbjPrPmHsg0wDHJ2IGnbxDZtKURid9im/oddTNOkCzsMv6SV zVE6mhdaSk8/PQKifYGA0F/80eSMZ4Pl/xeTH277Oc0oe63wYY6K3qu5DSNjrIkqRApP 8XWIKwdrwB0+LjQFBd9bw4Uz5XmJ7HcWtdeWTV7U7apaAvZ+ZTwbqoOATax8xHW+IC6n tfQWS93RZ2KpSnRNRlI4Ru54KKQ92EhRG8pAhskqtOM0eVcU6cxj1z6sgzlWs+tzrA0m YY3A== X-Gm-Message-State: APt69E2BCFSnRczYfN5hend3n+JitavwYG4khUv5a7uIbu8PYutUpY4f nJTsThOmkCHuuZeRgFKQrwJUzg== X-Received: by 2002:a63:b91b:: with SMTP id z27-v6mr4249365pge.240.1528442911520; Fri, 08 Jun 2018 00:28:31 -0700 (PDT) Received: from localhost.localdomain ([2601:646:877f:9499::c68]) by smtp.gmail.com with ESMTPSA id v15-v6sm33935578pfk.12.2018.06.08.00.28.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 08 Jun 2018 00:28:30 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Fri, 8 Jun 2018 00:28:24 -0700 Message-Id: <72b0cbaa3538fae799b63c0c7ab68ac9bcf7fa9f.1528442551.git.raj.khem@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: References: Subject: [OE-core] [PATCH 4/7] gcc-8: Enabled mspe options for rs6000 ppc backend X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org Signed-off-by: Khem Raj --- meta/recipes-devtools/gcc/gcc-8.1.inc | 1 + ...Re-introduce-spe-commandline-options.patch | 41 +++++++++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 meta/recipes-devtools/gcc/gcc-8.1/0040-Re-introduce-spe-commandline-options.patch -- 2.17.1 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-devtools/gcc/gcc-8.1.inc b/meta/recipes-devtools/gcc/gcc-8.1.inc index 2b176ac98d..cb0fbd9379 100644 --- a/meta/recipes-devtools/gcc/gcc-8.1.inc +++ b/meta/recipes-devtools/gcc/gcc-8.1.inc @@ -70,6 +70,7 @@ SRC_URI = "\ file://0037-sync-gcc-stddef.h-with-musl.patch \ file://0038-fix-segmentation-fault-in-precompiled-header-generat.patch \ file://0039-Fix-for-testsuite-failure.patch \ + file://0040-Re-introduce-spe-commandline-options.patch \ ${BACKPORTS} \ " BACKPORTS = "\ diff --git a/meta/recipes-devtools/gcc/gcc-8.1/0040-Re-introduce-spe-commandline-options.patch b/meta/recipes-devtools/gcc/gcc-8.1/0040-Re-introduce-spe-commandline-options.patch new file mode 100644 index 0000000000..8afa0102da --- /dev/null +++ b/meta/recipes-devtools/gcc/gcc-8.1/0040-Re-introduce-spe-commandline-options.patch @@ -0,0 +1,41 @@ +From 8fb8f773e117ee70be00bb0da5f343fe110da5c4 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Wed, 6 Jun 2018 12:10:22 -0700 +Subject: [PATCH 40/40] Re-introduce spe commandline options + +This should ensure that we keep accepting +spe options + +Upstream-Status: Inappropriate [SPE port is removed from rs600 port] + +Signed-off-by: Khem Raj +--- + gcc/config/rs6000/rs6000.opt | 12 ++++++++++++ + 1 file changed, 12 insertions(+) + +diff --git a/gcc/config/rs6000/rs6000.opt b/gcc/config/rs6000/rs6000.opt +index ace8a477550..d6a8f825d88 100644 +--- a/gcc/config/rs6000/rs6000.opt ++++ b/gcc/config/rs6000/rs6000.opt +@@ -365,6 +365,18 @@ mdebug= + Target RejectNegative Joined + -mdebug= Enable debug output. + ++mspe ++Target Var(rs6000_spe) Save ++Generate SPE SIMD instructions on E500. ++ ++mabi=spe ++Target RejectNegative Var(rs6000_spe_abi) Save ++Use the SPE ABI extensions. ++ ++mabi=no-spe ++Target RejectNegative Var(rs6000_spe_abi, 0) ++Do not use the SPE ABI extensions. ++ + mabi=altivec + Target RejectNegative Var(rs6000_altivec_abi) Save + Use the AltiVec ABI extensions. +-- +2.17.1 +