From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 114881 invoked by alias); 24 Apr 2015 14:55:29 -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 114864 invoked by uid 89); 24 Apr 2015 14:55:28 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00,SPF_PASS autolearn=ham version=3.3.2 X-HELO: eu-smtp-delivery-143.mimecast.com Received: from eu-smtp-delivery-143.mimecast.com (HELO eu-smtp-delivery-143.mimecast.com) (146.101.78.143) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 24 Apr 2015 14:55:23 +0000 Received: from cam-owa1.Emea.Arm.com (fw-tnat.cambridge.arm.com [217.140.96.140]) by uk-mta-23.uk.mimecast.lan; Fri, 24 Apr 2015 15:55:19 +0100 Received: from [10.2.207.50] ([10.1.2.79]) by cam-owa1.Emea.Arm.com with Microsoft SMTPSVC(6.0.3790.3959); Fri, 24 Apr 2015 15:55:19 +0100 Message-ID: <553A5956.7070500@arm.com> Date: Fri, 24 Apr 2015 14:55: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: Marcus Shawcroft CC: GCC Patches , Marcus Shawcroft , Richard Earnshaw , James Greenhalgh , Evandro Menezes , Andrew Pinski Subject: Re: [PATCH][AArch64] Implement -m{cpu,tune,arch}=native using only /proc/cpuinfo References: <55351FA9.4020603@arm.com> <55378A03.5040509@arm.com> <5537B95A.9050606@arm.com> In-Reply-To: X-MC-Unique: 6E0ZgNX8S0mK4o7B1mWuQA-1 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes X-SW-Source: 2015-04/txt/msg01511.txt.bz2 On 24/04/15 09:39, Marcus Shawcroft wrote: > On 22 April 2015 at 16:08, Kyrill Tkachov wrote: >> On 22/04/15 12:46, Kyrill Tkachov wrote: >>> [Sorry for resending twice. My mail client glitched] > > +/* Native CPU detection for aarch64. > + Copyright (C) 2014 Free Software Foundation, Inc. > + > > > That should be 2015, otherwise OK. Thanks, I've committed the patch with that change with r222415. Venkat kindly gave it a bootstrap on an AMD Seattle board as well with BOOT_CFLAGS=3D-O2 -mcpu=3Dnative and CFLAGS_FOR_TARGET=3D-O2 -mcpu=3Dn= ative. If anyone finds that cpu detection doesn't work on their system do let me know, together with the contents of your /proc/cpuinfo. Cheers, Kyrill > > Cheers > /Marcus >