[ale] GCC options...

Brian J. Dowd bdowd at dentfirst.com
Thu Aug 28 21:14:29 EDT 2003


|Can someone translate the paragraph with the bold type into common 
English for me?
This is cut straight from the Gnu GCC Manual.
Should I just not worry about the -mcpu option since -march will 
properly optimise the same way?
-Brian
Apologies in advance to those who eschew html e-mail.....

-mcpu=cpu type|
    Assume the defaults for the machine type cpu type when scheduling
    instructions. The choices for cpu type are:

    `i386' 	`i486' 	`i586' 	`i686'
    `pentium' 	`pentiumpro' 	`k6'

    * While picking a specific cpu type will schedule things
    appropriately for that particular chip*, *the compiler will not
    generate any code that does not run on the i386* *without the
    `-march=cpu type' option being used*. `i586' is equivalent to
    `pentium' and `i686' is equivalent to `pentiumpro'. `k6' is the AMD
    chip as opposed to the Intel ones.

|-march=cpu type|
    Generate instructions for the machine type cpu type. The choices for
    cpu type are the same as for `-mcpu'. Moreover, specifying
    `-march=cpu type' implies `-mcpu=cpu type'. 

||<snip>


_______________________________________________
Ale mailing list
Ale at ale.org
http://www.ale.org/mailman/listinfo/ale





More information about the Ale mailing list