From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 79527 invoked by alias); 22 Feb 2018 10:59:06 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 79515 invoked by uid 89); 22 Feb 2018 10:59:05 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.9 required=5.0 tests=BAYES_00,KAM_LAZY_DOMAIN_SECURITY,T_RP_MATCHES_RCVD autolearn=no version=3.3.2 spammy=HContent-Transfer-Encoding:8bit X-HELO: foss.arm.com Received: from usa-sjc-mx-foss1.foss.arm.com (HELO foss.arm.com) (217.140.101.70) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 22 Feb 2018 10:59:04 +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 199411596; Thu, 22 Feb 2018 02:59:03 -0800 (PST) Received: from [10.2.207.77] (e100706-lin.cambridge.arm.com [10.2.207.77]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 0746D3F25C; Thu, 22 Feb 2018 02:59:01 -0800 (PST) Message-ID: <5A8EA274.70106@foss.arm.com> Date: Thu, 22 Feb 2018 10:59:00 -0000 From: Kyrill Tkachov User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: =?UTF-8?B?TWFydGluIExpxaFrYQ==?= , gcc-patches@gcc.gnu.org CC: Jakub Jelinek , Jan Hubicka , James Greenhalgh , Ramana Radhakrishnan Subject: Re: Add "native" as a valid option value for -march= on arm (PR driver/83193). References: <12f28b57-c526-c85e-5c9b-05fa5724cf17@suse.cz> <5A8D3A9A.3040202@foss.arm.com> <86ac9232-0038-d168-6f74-c4dc6338099b@suse.cz> In-Reply-To: <86ac9232-0038-d168-6f74-c4dc6338099b@suse.cz> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-SW-Source: 2018-02/txt/msg01266.txt.bz2 Hi Martin, On 22/02/18 08:51, Martin Liška wrote: > On 02/21/2018 10:23 AM, Kyrill Tkachov wrote: >> On arm we also support "native" as a value for -mcpu and -mtune. These are both handled by >> the arm_print_hint_for_cpu_option function in the same file. Can you please add this snippet >> to them as well? > Hi. > > Can you please test for me attached follow up patch? I've bootstrapped and tested this patch on a native and a cross compiler and confirmed the help string for -mcpu behaves as intended. This patch is ok for trunk. Thanks, Kyrill > Thanks, > Martin