From patchwork Fri Nov 28 08:23:27 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ramana Radhakrishnan X-Patchwork-Id: 415798 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org 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 87A6714012E for ; Fri, 28 Nov 2014 19:23:45 +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 :message-id:date:from:mime-version:to:subject:content-type; q= dns; s=default; b=eHW28UE9nkg1YDzdFsGjnEJomNuSZwXq6YWEzxs3I1fIGZ TQp3dv3rGbLB8TfHIZAden1P11s22TrzW9bO8K6i0djjaQKYo/848qAxkAMlNX5M kQR8PRC+qodhcUkfPrAejUfimPOUhalsusnaTH8Z6UWr7NscjDYbn5BwP6y0E= 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 :message-id:date:from:mime-version:to:subject:content-type; s= default; bh=i05YI/THIuMYuRC/NWKS/dc5ff8=; b=x+Z3AH4WJxctcrrvpVZp OE01BIG5yPYFqFzg8Q9cKijQE3gllumHHNvCt1dI1jOmBZmZbjN+VoEoYJhy078Z l575ZqMmmaF9IpUrUYUDMF9VIKetfEy0fihAFZLbc9lIBlXBGCThg0iZWt0O7KsN TzCdeoFHg4rs0szphTz7xvQ= Received: (qmail 6197 invoked by alias); 28 Nov 2014 08:23:38 -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 6186 invoked by uid 89); 28 Nov 2014 08:23:37 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL, BAYES_00, SPF_PASS, T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: foss-mx-na.foss.arm.com Received: from foss-mx-na.foss.arm.com (HELO foss-mx-na.foss.arm.com) (217.140.108.86) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 28 Nov 2014 08:23:36 +0000 Received: from foss-smtp-na-1.foss.arm.com (unknown [10.80.61.8]) by foss-mx-na.foss.arm.com (Postfix) with ESMTP id EF007D6 for ; Fri, 28 Nov 2014 02:23:30 -0600 (CST) Received: from collaborate-mta1.arm.com (highbank-bc01-b06.austin.arm.com [10.112.81.134]) by foss-smtp-na-1.foss.arm.com (Postfix) with ESMTP id CE3415FAD7 for ; Fri, 28 Nov 2014 02:23:28 -0600 (CST) Received: from [10.1.209.161] (e105545-lin.cambridge.arm.com [10.1.209.161]) by collaborate-mta1.arm.com (Postfix) with ESMTPS id 620A613F793 for ; Fri, 28 Nov 2014 02:23:28 -0600 (CST) Message-ID: <547830FF.6050903@arm.com> Date: Fri, 28 Nov 2014 08:23:27 +0000 From: Ramana Radhakrishnan User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: "gcc-patches@gcc.gnu.org" Subject: [Patch ARM] Add entry for march=armv8-a+crc in t-aprofile. X-IsSubscribed: yes Hi, An internal user reported that -march=armv8-a+crc wasn't allowing the driver to pick up the right multilib for an arm-none-eabi toolchain configured with --with-multilib-list=aprofile. Without this patch on arm-none-eabi with --with-multilib-list=aprofile prints. $)./xgcc -S -O2 -march=armv8-a+crc -mfpu=neon -mfloat-abi=softfp -print-multi-directory /tmp/tst.c . $) with this patch $>./xgcc -S -O2 -march=armv8-a+crc -mfpu=neon -mfloat-abi=softfp -print-multi-directory /tmp/tst.c v7-a/simdv1/softfp Applied to trunk after simple cross build and test on arm-none-eabi. I intend to backport the same to the 4.9 branch as the issue exists there too and this is just in the configury and build of the baremetal toolchain. regards Ramana 2014-11-28 Ramana Radhakrishnan * config/arm/t-aprofile (MULTILIB_MATCHES): New entry for -march=armv8-a+crc. diff --git a/gcc/config/arm/t-aprofile b/gcc/config/arm/t-aprofile index ff9e2e1..86741e6 100644 --- a/gcc/config/arm/t-aprofile +++ b/gcc/config/arm/t-aprofile @@ -88,6 +88,9 @@ MULTILIB_MATCHES += march?armv8-a=mcpu?cortex-a53 MULTILIB_MATCHES += march?armv8-a=mcpu?cortex-a57 MULTILIB_MATCHES += march?armv8-a=mcpu?cortex-a57.cortex-a53 +# Arch Matches +MULTILIB_MATCHES += march?armv8-a=march?armv8-a+crc + # FPU matches MULTILIB_MATCHES += mfpu?vfpv3-d16=mfpu?vfpv3 MULTILIB_MATCHES += mfpu?vfpv3-d16=mfpu?vfpv3-fp16