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

Andrew Stubbs ams@codesourcery.com
Tue Sep 6 13:35:00 GMT 2011


This update adds many more "magic numbers" for various ARM CPUs, and 
also ensures that the implementer is ARM (as opposed to Marvell, etc.). 
The list is far from comprehensive, but it should cover many (but by no 
means all) of the cores in current use and it would not be hard to add 
support for other implementers and CPU names in future.

It has been suggested that this patch should use auxv rather than 
/proc/cpuinfo. Does anybody here have any insight/preferences?

Is the patch OK?

Andrew
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tune-native.patch
Type: text/x-patch
Size: 7998 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20110906/b24d7c53/attachment.bin>


More information about the Gcc-patches mailing list