This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH][AArch64] Implement -m{cpu,tune,arch}=native using only /proc/cpuinfo
- From: Kyrill Tkachov <kyrylo dot tkachov at arm dot com>
- To: Marcus Shawcroft <marcus dot shawcroft at gmail dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>, Marcus Shawcroft <Marcus dot Shawcroft at arm dot com>, Richard Earnshaw <Richard dot Earnshaw at arm dot com>, James Greenhalgh <James dot Greenhalgh at arm dot com>, Evandro Menezes <e dot menezes at samsung dot com>, Andrew Pinski <apinski at cavium dot com>
- Date: Fri, 24 Apr 2015 15:55:18 +0100
- Subject: Re: [PATCH][AArch64] Implement -m{cpu,tune,arch}=native using only /proc/cpuinfo
- Authentication-results: sourceware.org; auth=none
- References: <55351FA9 dot 4020603 at arm dot com> <55378A03 dot 5040509 at arm dot com> <5537B95A dot 9050606 at arm dot com> <CAFqB+PwYBa_cn80BtkKoAk9KcCh0Sp_ZrHgA4kiscVwpKSWbSQ at mail dot gmail dot com>
On 24/04/15 09:39, Marcus Shawcroft wrote:
On 22 April 2015 at 16:08, Kyrill Tkachov <kyrylo.tkachov@arm.com> 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=-O2 -mcpu=native and CFLAGS_FOR_TARGET=-O2 -mcpu=native.
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