From: Brian Dessent <brian@de...> - 2007-04-24 09:36:34
Zuxy Meng wrote:
> What will gcc do if I don't specify any -mtune? Will gcc optimize for some
> default target or not do any scheduling at all?
It depends on how the compiler was built. If you're talking about the
gcc provided by MinGW packages, it was not built with either --with-tune
or --with-arch so specifying nothing is the equivalent of -mtune=386
Note that -mtune does *not* affect the instruction set used, only
scheduling and cost models and the like. Without -march you still get
binaries that don't use anything the 386 didn't have, no matter the
Get latest updates about Open Source Projects, Conferences and News.