ARM CPU part numbers

Andrew Stubbs ams at codesourcery.com
Thu Sep 1 09:40:27 UTC 2011


Hi all,

I'm currently trying to get GCC to auto-detect what CPU to optimize for 
by finding out what CPU it's actually running on (the user would only 
have to pass -mcpu=native). It does this simply by reading /proc/cpuinfo.

The problem is finding what magic numbers correspond to what CPU. I've 
found the numbers for A8 and A9 empirically, but I'd like a longer list 
than that!

Does anybody have a list of such numbers?

Or else, perhaps people could just post any number they happen to know?

I do have a few devices other than A8 and A9 lying around I can look at, 
but the problem there is I don't actually know for certain what exact 
CPU model those numbers map to, so confirmed numbers only please.

Thanks

Andrew



More information about the linaro-dev mailing list