Is generic tuning adapted to the cpu-type selected with -march ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,
If I use "-march=cpu-type" and "-mtune=generic" together is the
generic tuning adapted to the baseline level of cpu selected with
"-march" to become: "generic tuning for processors which are at least
as capable as 'cpu-type'"?

I ask, because the documentation doesn't make it clear what happens,
but at the same time using "-march" with x86-64 psABI levels
apparently invokes generic tuning and it would be weird if generic
tuning under "-march=x86-64-v4" wasn't different than generic tuning
under "-march=x86-64".

https://gcc.gnu.org/onlinedocs/gcc/x86-Options.html

Thanks,
Paul Richards



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux