From patchwork Wed Jun 6 21:37:23 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 137843 Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp1290126lji; Wed, 6 Jun 2018 14:38:16 -0700 (PDT) X-Google-Smtp-Source: ADUXVKL5xAkXZo/jHizh5xVBZC0yJbJSwTEfKxCTlZqeBw/aExfYNP4Bjgstq0NKvmawvEgSzbFR X-Received: by 2002:a62:5b02:: with SMTP id p2-v6mr3979385pfb.96.1528321095916; Wed, 06 Jun 2018 14:38:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528321095; cv=none; d=google.com; s=arc-20160816; b=Ebfw+ZS2tuh2/931VW36WLTEBIBo7AjyZXnKCFjWaFdUc6UOM9DcHnteZBbdgfoR+J tmQJCu0bNVoiWmNv1r5DoD7FfF+i2hrCop5CuPv2iTsJpahHKR1G7nYGDja3rYDQD5Cc 3s8gzMuiR3sRtH9wihj4aKJhXPvpeSh4E+8JteQ8GYO1oj4ezFtMMVIdQ7ldgKLHL95A ruEJ9BOrXhBeY9CjFGbv1V9dJ88mXbDSdA3MXK8VHjFaIS7+scctNQojo4LJyNL5cwy4 xmAF7jv5wYSAg3ZesoB7k1/vgyY+OaYbnecw0aA7Ggr1deOisXdxu2kSWuODjTwIelNH cnKQ== 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=JRdQ1H0ueqDFP1F8s3rAUvdUbqbiayDnYzL8ejmgNV0siISB2s4Lk3tBJNdW/S5yXc nFDR2a04aF96MGrisckyTQKL8DJ0jy8XFEsfYD1Dt234mIcpEF8pkwEWeLmcIYHXstNj D0GDS2KWcDuWkGoO5dQs98LCtdKSUDS7o/wez6ivVkQt4dwH6zE6LyE7rQKxC3MLKnaU ekLVor35KOlZDYluux/0IBQ5CSeznxQjkPnI0XoSJGp+vsRBPj1cIPclKtSz2sKEOmXo hRtsQpoKC7IjuL9LV218B8lwTP8M/aVG03kcIYNyEzqReWPUIHrmCMN5XnQO4ztKRrOn L5SA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=uRGA3fbl; 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 i11-v6si23768790pgc.350.2018.06.06.14.38.15; Wed, 06 Jun 2018 14:38:15 -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=uRGA3fbl; 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 64E647754B; Wed, 6 Jun 2018 21:37:43 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pg0-f44.google.com (mail-pg0-f44.google.com [74.125.83.44]) by mail.openembedded.org (Postfix) with ESMTP id 100B9771B9 for ; Wed, 6 Jun 2018 21:37:32 +0000 (UTC) Received: by mail-pg0-f44.google.com with SMTP id p21-v6so3628984pgd.11 for ; Wed, 06 Jun 2018 14:37:34 -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=uRGA3fbl/nuBsIJcsHSEa1yt0oTkkyw89xr+rJNXZDgxVYl7Tv1qOv8fLj3wnmnf0S JhEmfmeGmIOSz3JDGCIE9fdIZgZSDDLlBYqx+UjZqJvBnTDOg76URLnfwvuNmhIW4i0G zBtJ/HWude32Dc1YMH7FBkFrHcJfZoJ6Qjq/gQFYGSNWZ3A5DdyDYadiwK7OH7FzPql6 jrKroCe1XYrAux0htpX63ertLI2MEJIixB59v0vNSDnLkbyeABvW5NB6pSBHSC+drZUe bHWZva7oc2RL2kwxs7XD/NOeGZh7XkD291tAe3h4t/nvIEHuMHur3GHsNlwUwS3U4D8K wZIQ== 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=VVa+3nz6AcfJBDo7AfJwtkYkT/IGNNKkqZktKFFZRPkLkFbIi5AVW9M55upnRFsLLU 5CAFtVG+pdF19jf26JFYPB8p4v1bQt0QRIXeDvmMJDeiq04xBU1ZdlJB5CTczrRENctH mLJmSpP2idSwizARhgi2jAaNZBjfCgtgbkVRW5tBiFM8QA2uETuFy5s5yjrswZcoxaoE IaBc+hcXOVJaDgglfe2KmYKF28AtrqNWR+C/qpE0Lf9tUG6r9jdlHy89TB5cLXSBi+bS g1o6cTdNoxStkbMCd2XoM60f4riihXm+gYam7GX6MRTOIgjy+UiuDUQGWu2DcmEPH7ab UV/Q== X-Gm-Message-State: APt69E1iKInGRaL39PAX7FJbxF5pXw9zdBqMUammlz1XjHB9gzV0PGC1 6v7htD9wrLtTh6NNs/niVLD3Fg== X-Received: by 2002:a65:5086:: with SMTP id r6-v6mr3814667pgp.375.1528321053727; Wed, 06 Jun 2018 14:37:33 -0700 (PDT) Received: from localhost.localdomain ([2601:646:877f:9499::c68]) by smtp.gmail.com with ESMTPSA id c191-v6sm30452374pfg.48.2018.06.06.14.37.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 06 Jun 2018 14:37:32 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Wed, 6 Jun 2018 14:37:23 -0700 Message-Id: <8514f4f99bb46946a792e7b952d1ef7de8d9a034.1528320772.git.raj.khem@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: References: Subject: [OE-core] [PATCH 07/12] 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 +