On Sat, Aug 27, 2011 at 3:19 AM, Andrew Stubbs <a...@codesourcery.com> 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.
Could you send linaro-dev@ an email and ask them where this API is documented? Hmm. Should there be a -mfpu=native that picks between soft, VFP, and NEON based on the host? -- Michael