From patchwork Wed Jan 13 14:41:29 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yvan Roux X-Patchwork-Id: 59667 Delivered-To: patch@linaro.org Received: by 10.112.130.2 with SMTP id oa2csp3405046lbb; Wed, 13 Jan 2016 06:41:46 -0800 (PST) X-Received: by 10.66.152.204 with SMTP id va12mr115150882pab.0.1452696106408; Wed, 13 Jan 2016 06:41:46 -0800 (PST) Return-Path: Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id mi6si2442451pab.95.2016.01.13.06.41.46 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 13 Jan 2016 06:41:46 -0800 (PST) Received-SPF: pass (google.com: domain of gcc-patches-return-418894-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) client-ip=209.132.180.131; Authentication-Results: mx.google.com; spf=pass (google.com: domain of gcc-patches-return-418894-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=gcc-patches-return-418894-patch=linaro.org@gcc.gnu.org; dkim=pass header.i=@gcc.gnu.org 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:date:message-id:subject:from:to:content-type; q= dns; s=default; b=YFn5tw/9aWkWY6OPSi/o0vyXhFYoDKeib4aW4ndcqDFyqC OMKZ6pqCd/FYWhMekjzikJ+e9UzfELhIGFkUhhTczFzkxOClcNgir2F4RfRcfrBq kgHbaAwdm7uwgn+YggpxQNkbSPnrPsPrcvk5C6YBTH4vGovoO+mtdrJtShkqQ= 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:date:message-id:subject:from:to:content-type; s= default; bh=Q4nEIyLyutoDsOtgJHPjks9t/BE=; b=pVnkUwlq2ZtEHLtm1hmc kRIMJPbapihRzXw2QWzbUudoJGLNtfK2YYkcrQv9BtgFXnO+zCim56KMUY9849xY gAhbNLPMpXa6TujXXdFB7G09VEvFzxm0iGXpL/mYCyJ6yIH7sLLw5GO+Z9pwoK59 yDtZFVSdKB5v3m143kZctNI= Received: (qmail 94235 invoked by alias); 13 Jan 2016 14:41:34 -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 93816 invoked by uid 89); 13 Jan 2016 14:41:32 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.1 required=5.0 tests=BAYES_50, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=ham version=3.3.2 spammy=cortexm3, armv7-m, armv7m, genopt.sh X-HELO: mail-yk0-f182.google.com Received: from mail-yk0-f182.google.com (HELO mail-yk0-f182.google.com) (209.85.160.182) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Wed, 13 Jan 2016 14:41:31 +0000 Received: by mail-yk0-f182.google.com with SMTP id x67so491406630ykd.2 for ; Wed, 13 Jan 2016 06:41:31 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to :content-type; bh=acTrv2e/AsH8TAqyl7JhJYYiGvdrkwlTabSqREq2xJQ=; b=jtVskEYnDU9gxSuwLqCcb7WpSRLYH5d8Ba73+Kz6TIwKPgSH05L29vBz36/yyJllXx Aix2MrbTexCEgMMhb9k2qJcq8XH9aWP/ETvROFl7K9cr6/q3xZSK2oX8K+AZ2wrxpklE NhHNqzLam12z7EZ8Uu+G/XBgumPW64vMX53b3K5+LmrUP6mDOoPGHNDE4JWfCtMCOu70 +QiZmvSAU8VWcTFnL6iWCwioY/B/BGpL/dW27QFGnaKd8XpQIyaseoRYIFH5v4NbM4f1 tK0OYVkZFNZ8BUkhQDKbJnidm28bKQJbf9iQ/WbPQYOnWfsbke+TD6nmpbQL2iPlSJYI 7H2w== X-Gm-Message-State: ALoCoQkeksEA8eQI65eedGkviDrhtg7grHnPuXqhHJqjt9meYDXRaH1uPZsPyUZy4OKy5KN3kDAhVzhA2Bcd6o8C8vZqR6/ITP4A8YfbFvQ/UXScr1s/6Ok= MIME-Version: 1.0 X-Received: by 10.129.49.129 with SMTP id x123mr102963510ywx.8.1452696089515; Wed, 13 Jan 2016 06:41:29 -0800 (PST) Received: by 10.37.15.87 with HTTP; Wed, 13 Jan 2016 06:41:29 -0800 (PST) Date: Wed, 13 Jan 2016 15:41:29 +0100 Message-ID: Subject: [PATCH, ARM] Fix armv8.1 support at configure time From: Yvan Roux To: "gcc-patches@gcc.gnu.org" , Ramana Radhakrishnan , Richard Earnshaw , Kyrylo Tkachov X-IsSubscribed: yes Hi, There is a small typo into arm-arches.def which prevent the compiler to be configured for armv8.1-a and armv8.1-a+crc, config.gcc and genopt.sh assume no whitespace up to the first "," in each entry. I think that this change is obvious, but is it ok for trunk ? (Tested by building an armv8l-linux-gnueabihf compiler configured for armv8.1-a) Thanks Yvan 2016-01-13 Yvan Roux * config/arm/arm-arches.def: Remove spurious whitespace in "armv8.1-a" and "armv8.1-a+crc" entries. diff --git a/gcc/config/arm/arm-arches.def b/gcc/config/arm/arm-arches.def index 59633c4..fd02b18 100644 --- a/gcc/config/arm/arm-arches.def +++ b/gcc/config/arm/arm-arches.def @@ -57,9 +57,9 @@ ARM_ARCH("armv7-m", cortexm3, 7M, ARM_FSET_MAKE_CPU1 (FL_CO_PROC | FL_FOR_ ARM_ARCH("armv7e-m", cortexm4, 7EM, ARM_FSET_MAKE_CPU1 (FL_CO_PROC | FL_FOR_ARCH7EM)) ARM_ARCH("armv8-a", cortexa53, 8A, ARM_FSET_MAKE_CPU1 (FL_CO_PROC | FL_FOR_ARCH8A)) ARM_ARCH("armv8-a+crc",cortexa53, 8A, ARM_FSET_MAKE_CPU1 (FL_CO_PROC | FL_CRC32 | FL_FOR_ARCH8A)) -ARM_ARCH ("armv8.1-a", cortexa53, 8A, +ARM_ARCH("armv8.1-a", cortexa53, 8A, ARM_FSET_MAKE (FL_CO_PROC | FL_FOR_ARCH8A, FL2_FOR_ARCH8_1A)) -ARM_ARCH ("armv8.1-a+crc",cortexa53, 8A, +ARM_ARCH("armv8.1-a+crc",cortexa53, 8A, ARM_FSET_MAKE (FL_CO_PROC | FL_CRC32 | FL_FOR_ARCH8A, FL2_FOR_ARCH8_1A)) ARM_ARCH("iwmmxt", iwmmxt, 5TE, ARM_FSET_MAKE_CPU1 (FL_LDSCHED | FL_STRONG | FL_FOR_ARCH5TE | FL_XSCALE | FL_IWMMXT))