From patchwork Mon Dec 9 13:53:12 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Richard Earnshaw \(lists\)" X-Patchwork-Id: 181024 Delivered-To: patch@linaro.org Received: by 2002:a92:3001:0:0:0:0:0 with SMTP id x1csp4374718ile; Mon, 9 Dec 2019 05:53:28 -0800 (PST) X-Google-Smtp-Source: APXvYqyDSbSVG2DRgrMjYKM4UWFXUSNN6uSxJlOCwYyqkItg94gUg8q2oMS91ua7/sgFudT7vWg+ X-Received: by 2002:a05:6830:1e8a:: with SMTP id n10mr7782771otr.228.1575899608166; Mon, 09 Dec 2019 05:53:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575899608; cv=none; d=google.com; s=arc-20160816; b=UEzjrqS5TtcPLK63VNgeHPV/pNwVhJj0WlqMfAi6wc4hRMgmlzPEqUlvR53kycY9+p LiIFD6T64BrBx8TDH8lpa2PpoMmOZMZkxMKtYoj7e5STnYjcwseH/AX7aB/d6PzoTm7Q z2UL0UEjY3Nf9phtNdMh8QxmBUECOziyErc9jnJW1kmgY3xk+b5dJ5N7sB/96pBl9PcB VTaSsrpYRBu5vnJZYVQQZd9R7zb1nCsDC64FjBHbu8jDeNhFgoM8pljpnmu+F2hv60lD 0cveSuVvu8MJiYg2euxwJ+sy5KOV0mVsk2JDauSxHeykZJbx4zztabRbSvzWRIzy9vi2 mzXA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:user-agent:date:message-id:subject:from:to :delivered-to:sender:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:mailing-list:dkim-signature :domainkey-signature; bh=djn5m/NbOq3yuGSSK7z7MjctDY7cpWHWgUqnUxpeO78=; b=TVJvk9rck5btrpLcqOALCV65lcz5SWanwsJu8OouNS5M/umeJLuVtSEMgSV0h4u8ZR 5pzuYGoR0uCCwsbWq4Utt/pjBovjD/sZCZN5w17f9F7EsiywGgfdKxa8woc2rqWhM0D7 ZcOK+vJq8/T/urh9wXG6oEMtdHH92qhaWO4+jZGPoIAJ7ISw5WHsJOYr+4Ea7ARbYdtr bQJm/bW5GkYfRKYTyNMVXeWWbmyj+Q/W00Hh5hwha4th439UvyCzTZ/ocWNHUn+isB7T 1iPSyj7x28A2L5YdDEFNwKlRQ5+fE7gSwuuZ6zhbGi+zx38H2rP7Ubxj2uKWGWhUDBoq pdvQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=Ijs5d3RR; spf=pass (google.com: domain of gcc-patches-return-515524-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) smtp.mailfrom="gcc-patches-return-515524-patch=linaro.org@gcc.gnu.org" Return-Path: Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id u11si11085951oic.152.2019.12.09.05.53.27 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 09 Dec 2019 05:53:28 -0800 (PST) Received-SPF: pass (google.com: domain of gcc-patches-return-515524-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; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=Ijs5d3RR; spf=pass (google.com: domain of gcc-patches-return-515524-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) smtp.mailfrom="gcc-patches-return-515524-patch=linaro.org@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:to :from:subject:message-id:date:mime-version:content-type; q=dns; s=default; b=V3CI5WCkbauB7O6pZoLLVVdnHgyKZ8GmEDCnP/qpmUThRzQBzh ofI/AEH2ecgo7lP6z3TIUVUfj6MZ5zCdfbvfocCNg0XM34tn1XfXwDDT9KvDXJQG 5dj7UfHHRw2NE7LH2I+YonIvPEixcEZIW94psCfKqyzt4VJxCcXdVgbCc= 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:to :from:subject:message-id:date:mime-version:content-type; s= default; bh=P0GzuoyP56ztN2McMaZY9ObOpXg=; b=Ijs5d3RRORnCuF36oYBd cdjAPr3VX9HOn6m7E/S4r3aI74NIm5deeUnOswAEl5XLjL4EsZPUU0fzzGCFD7iR bdGHJkFVVvjjOimckHNc5PHp6t02n9leBleVQLdd5EHS8tuMAW0QqmoVIJ7vuKmH rDG/JKMckvKpeJ3ymXwow9M= Received: (qmail 6172 invoked by alias); 9 Dec 2019 13:53:16 -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 6164 invoked by uid 89); 9 Dec 2019 13:53:16 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-18.6 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 spammy=picked X-HELO: foss.arm.com Received: from foss.arm.com (HELO foss.arm.com) (217.140.110.172) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 09 Dec 2019 13:53:15 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id AEDF4328; Mon, 9 Dec 2019 05:53:13 -0800 (PST) Received: from e120077-lin.cambridge.arm.com (e120077-lin.cambridge.arm.com [10.2.78.81]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 590C73F718; Mon, 9 Dec 2019 05:53:13 -0800 (PST) To: "gcc-patches@gcc.gnu.org" From: "Richard Earnshaw (lists)" Subject: [PATCH, COMMITTED] arm: fix v[78]-r multilibs when configured with --with-multlib-list=aprofile Message-ID: Date: Mon, 9 Dec 2019 13:53:12 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 When gcc for Arm is configured with --with-multilib-list=aprofile a misplaced endif directive in the makefile was causing the arm->thumb mapping for multilibs to be omitted from the reuse rules. This resulted in the default multilib being picked rather than the thumb2 opimized version. * config/arm/t-multilib: Use arm->thumb multilib reuse rules on a-profile. Committed to trunk. diff --git a/gcc/config/arm/t-multilib b/gcc/config/arm/t-multilib index dc97c8f09fb..d5ee537193f 100644 --- a/gcc/config/arm/t-multilib +++ b/gcc/config/arm/t-multilib @@ -185,6 +185,8 @@ MULTILIB_MATCHES += march?armv7=march?armv8.5-a MULTILIB_MATCHES += $(foreach ARCH, $(v8_5_a_simd_variants), \ march?armv7+fp=march?armv8.5-a$(ARCH)) +endif # Not APROFILE. + # Use Thumb libraries for everything. MULTILIB_REUSE += mthumb/march.armv7/mfloat-abi.soft=marm/march.armv7/mfloat-abi.soft @@ -198,4 +200,3 @@ MULTILIB_REUSE += $(foreach MODE, arm thumb, \ $(foreach ARCH, armv7, \ mthumb/march.$(ARCH)/mfloat-abi.soft=m$(MODE)/march.$(ARCH)/mfloat-abi.softfp)) -endif # Not APROFILE.