x86_64 == athlon-4?

Scott Robert Ladd coyote@coyotegulch.com
Fri Apr 23 17:25:00 GMT 2004


Neal D. Becker wrote:
> What setting of -mcpu=CPU-TYPE is best for x86_64?  Is this the same as
> "athlon-4"?
> 
> (It would be helpful if the gcc info explained these terms)

Up until GCC 3.4, there were no tuning switches for x86_64. With GCC 
3.4.0 and later, you can use -march=k8 or -march=opteron (which are, I 
believe, equivalent) to compile specifically for x86_64.

-- 
Scott Robert Ladd
Coyote Gulch Productions (http://www.coyotegulch.com)
Software Invention for High-Performance Computing



More information about the Gcc mailing list