From patchwork Wed May 25 17:24:52 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Preudhomme X-Patchwork-Id: 626291 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 3rFK0q49Msz9rxv for ; Thu, 26 May 2016 03:25:15 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b=jjBt6mqX; dkim-atps=neutral DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:subject:date:message-id:mime-version :content-transfer-encoding:content-type; q=dns; s=default; b=ZUn h0L9rqHk+WkbMNUF16Cz2QI3CtlWTKw3Wxsz4JexgOXRSqTElgZI9FIb0RSniAqC E8fcvcRE0jfd6EZTg67nsqgW4peQX5LAizhRRL6xF0aE54UYm33NptOH8aLG0dmd yb8ZuG8AyYFqzrtlnoNl+90qrn/UQYCD+L+bWRtg= 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:from :to:subject:date:message-id:mime-version :content-transfer-encoding:content-type; s=default; bh=yYaFa5Sjr C1sgUF267LHKAJtOMc=; b=jjBt6mqXGlSH64QyGE/UgVrqenI5uWmEHmofjpY8V prxE/trZVPHu0/Khc8TChT+4lBi4Ex5XL9AyqWBlvjX8+eiiodnfLk+qL1PsGvZq oa7ljmS+DywauVdheKxeiqfEbfDaIgKt//2EEYDw7j4afGZLrl0qNCAHCmoyPl9J cQ= Received: (qmail 16933 invoked by alias); 25 May 2016 17:25:07 -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 16911 invoked by uid 89); 25 May 2016 17:25:05 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.3 required=5.0 tests=BAYES_00, KAM_LAZY_DOMAIN_SECURITY, RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=HContent-Transfer-Encoding:7Bit X-HELO: foss.arm.com Received: from foss.arm.com (HELO foss.arm.com) (217.140.101.70) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 25 May 2016 17:24:55 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 3832E34 for ; Wed, 25 May 2016 10:25:18 -0700 (PDT) Received: from e108577-lin.localnet (usa-sjc-imap-foss1.foss.arm.com [10.72.51.249]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 3B3DE3F218 for ; Wed, 25 May 2016 10:24:54 -0700 (PDT) From: Thomas Preudhomme To: gcc-patches@gcc.gnu.org Subject: [PATCH, arm-embedded] Map armv8-m.main+dsp multilib to armv8-m.main one Date: Wed, 25 May 2016 18:24:52 +0100 Message-ID: <2981903.lfCclBUFIT@e108577-lin> User-Agent: KMail/4.13.3 (Linux/3.13.0-85-generic; KDE/4.13.3; x86_64; ; ) MIME-Version: 1.0 X-IsSubscribed: yes Hi, ARMv8-M Mainline with DSP extension currently uses ARMv4T multilib because no multilib is built for it and there is no directive telling GCC how to map it to the right multilib. Therefore, we have applied the below patch ARM/embedded-5-branch to add a directive to map it to ARMv8-M Mainline multilibs (several multilibs exist for different mfpu options). *** gcc/ChangeLog.arm *** 2016-05-24 Thomas Preud'homme * config/arm/t-baremetal (MULTILIB_MATCHES): Match ARMv8-M Mainline with DSP extensions to ARMv8-M Mainline. Best regards, Thomas diff --git a/gcc/config/arm/t-baremetal b/gcc/config/arm/t-baremetal index ffd29815e6ec22c747e77747ed9b69e0ae21b63a..47522edba29e00c34f52d6a03dc04ab53f4925f3 100644 --- a/gcc/config/arm/t-baremetal +++ b/gcc/config/arm/t-baremetal @@ -50,6 +50,7 @@ MULTILIB_MATCHES += march?armv7=mcpu?exynos-m1 MULTILIB_MATCHES += march?armv7=mcpu?xgene1 MULTILIB_MATCHES += march?armv7=mcpu?cortex-a57.cortex-a53 MULTILIB_MATCHES += march?armv7=mcpu?cortex-a72.cortex-a53 +MULTILIB_MATCHES += march?armv8-m.main=march?armv8-m.main+dsp MULTILIB_MATCHES += mfpu?vfpv3-d16=mfpu?vfpv3 MULTILIB_MATCHES += mfpu?vfpv3-d16=mfpu?vfpv3-fp16 MULTILIB_MATCHES += mfpu?vfpv3-d16=mfpu?vfpv3-d16-fp16