Automatic architecture optimization

Eric Christopher echristo@redhat.com
Thu Sep 4 20:18:00 GMT 2003


On Thu, 2003-09-04 at 11:32, Matt Fago wrote:
> Hopefully not a FAQ: I'm curious about why gcc does not support the 
> "-march" optimization flag, without an architecture given, to 
> automatically set the appropriate optimization flags for the processor 
> type the compiler is running on. This would require methods to determine 
> the processor type on all platforms that gcc runs on -- perhaps a 
> non-trivial task.

Appropriate could often depend on the code you are compiling.

-eric

-- 
Eric Christopher <echristo@redhat.com>



More information about the Gcc mailing list