This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH][ARM] -m{cpu,tune,arch}=native


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]