How do I optimize for a specific instruction set and scheduling model?
You can optimize for a specific instruction set and scheduling model with -mcpu=XXX, where XXX is your cpu type. Valid cpu types are ev4, ev45, ev5, ev56, pca56, ev6 and ev67. If you do not use the -mcpu=XXX flag, then gcc will default to the cpu type of the machine it was compiled on. -mcpu= is equivalent to the -march= flag on x86.