Re: [PATCH][AArch64] Implement -m{cpu,tune,arch}=native using only /proc/cpuinfo

2015-04-24 Thread Marcus Shawcroft
On 22 April 2015 at 16:08, Kyrill Tkachov kyrylo.tkac...@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

Re: [PATCH][AArch64] Implement -m{cpu,tune,arch}=native using only /proc/cpuinfo

2015-04-24 Thread Kyrill Tkachov
On 24/04/15 09:39, Marcus Shawcroft wrote: On 22 April 2015 at 16:08, Kyrill Tkachov kyrylo.tkac...@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

RE: [PATCH][AArch64] Implement -m{cpu,tune,arch}=native using only /proc/cpuinfo

2015-04-24 Thread Kumar, Venkataramanan
Patches Cc: Marcus Shawcroft; Richard Earnshaw; James Greenhalgh; Evandro Menezes; Andrew Pinski Subject: Re: [PATCH][AArch64] Implement -m{cpu,tune,arch}=native using only /proc/cpuinfo On 22/04/15 12:46, Kyrill Tkachov wrote: [Sorry for resending twice. My mail client glitched] On 20/04/15

Re: [PATCH][AArch64] Implement -m{cpu,tune,arch}=native using only /proc/cpuinfo

2015-04-22 Thread Kyrill Tkachov
On 22/04/15 12:46, Kyrill Tkachov wrote: [Sorry for resending twice. My mail client glitched] On 20/04/15 16:47, Kyrill Tkachov wrote: Hi all, This is an attempt to add native CPU detection to AArch64 GNU/Linux targets. Similar to other ports we use SPEC rewriting to rewrite

Re: [PATCH][AArch64] Implement -m{cpu,tune,arch}=native using only /proc/cpuinfo

2015-04-22 Thread Kyrill Tkachov
[Sorry for resending twice. My mail client glitched] On 20/04/15 16:47, Kyrill Tkachov wrote: Hi all, This is an attempt to add native CPU detection to AArch64 GNU/Linux targets. Similar to other ports we use SPEC rewriting to rewrite -m{cpu,tune,arch}=native options into the appropriate

Re: [PATCH][AArch64] Implement -m{cpu,tune,arch}=native using only /proc/cpuinfo

2015-04-21 Thread Kyrill Tkachov
On 21/04/15 05:41, Kumar, Venkataramanan wrote: Hi Kyrill, In AMD Seattle board, I see that CPU implementer is 0x41 and CPU part is 0xd07.CPU variant is 1 but you don’t do anything with that. It matches with cortex-a57 and its features. Thanks, that's a Cortex-A57. I will try a

RE: [PATCH][AArch64] Implement -m{cpu,tune,arch}=native using only /proc/cpuinfo

2015-04-21 Thread Evandro Menezes
Kyrill, Here's what I get on an Exynos M1: $ cat /proc/cpuinfo Processor : AArch64 Processor rev 0 (aarch64) ... Features: fp asimd aes pmull sha1 sha2 crc32 CPU implementer : 0x53 CPU architecture: AArch64 CPU variant : 0x0 CPU part

RE: [PATCH][AArch64] Implement -m{cpu,tune,arch}=native using only /proc/cpuinfo

2015-04-20 Thread Kumar, Venkataramanan
Hi Kyrill, In AMD Seattle board, I see that CPU implementer is 0x41 and CPU part is 0xd07.CPU variant is 1 but you don’t do anything with that. It matches with cortex-a57 and its features. I will try a bootstrap test as well. Regards, Venkat. -Original Message- From:

Re: [PATCH][AArch64] Implement -m{cpu,tune,arch}=native using only /proc/cpuinfo

2015-04-20 Thread Andrew Pinski
On Mon, Apr 20, 2015 at 8:47 AM, Kyrill Tkachov kyrylo.tkac...@arm.com wrote: Hi all, This is an attempt to add native CPU detection to AArch64 GNU/Linux targets. Similar to other ports we use SPEC rewriting to rewrite -m{cpu,tune,arch}=native options into the appropriate CPU/architecture