This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH][ARM] -m{cpu,tune,arch}=native
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: Andrew Stubbs <ams at codesourcery dot com>
- Cc: gcc-patches at gcc dot gnu dot org, patches at linaro dot org
- Date: Fri, 26 Aug 2011 16:16:23 +0000 (UTC)
- Subject: Re: [PATCH][ARM] -m{cpu,tune,arch}=native
- References: <4E57B995.2010605@codesourcery.com>
On Fri, 26 Aug 2011, Andrew Stubbs wrote:
> Hi all,
>
> This patch adds support for -mcpu=native, -mtune=native, and -march=native for
> ARM Linux hosts.
>
> So far, it only recognises Cortex-A8 and Cortex-A9, so I really need to find
> out what the magic part numbers are for other cpus before this patch is
> complete. I couldn't just find this information listed anywhere. I think there
> are a lot of clues in the kernel code, but it's hard to mine and it mostly
> only goes as far the architecture version, not the individual cpu. Any
> suggestions?
>
> Otherwise, is this OK?
arm-tables.opt is a generated file. You need to modify the source files
and regenerate it, not modify the generated file.
--
Joseph S. Myers
joseph@codesourcery.com