X-Git-Url: http://git.sourceforge.jp/view?a=blobdiff_plain;f=gcc%2Fdoc%2Finvoke.texi;h=957d75ce964a247e87f2ecdc0c04fff15ce446ac;hb=4b7a2acdb8456340e2617171d506797787b5d5c2;hp=3aa9611fa9249ce65306f339bfaabefdd0ecf730;hpb=a4e3ffad557b50fa23cea760752d7322827884fd;p=pf3gnuchains%2Fgcc-fork.git diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 3aa9611fa92..957d75ce964 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -10329,6 +10329,10 @@ assembly code. Permissible names are: @samp{arm2}, @samp{arm250}, @samp{fa526}, @samp{fa626}, @samp{fa606te}, @samp{fa626te}, @samp{fmp626}, @samp{fa726te}. +@option{-mcpu=generic-@var{arch}} is also permissible, and is +equivalent to @option{-march=@var{arch} -mtune=generic-@var{arch}}. +See @option{-mtune} for more information. + @item -mtune=@var{name} @opindex mtune This option is very similar to the @option{-mcpu=} option, except that @@ -10340,6 +10344,13 @@ will generate based on the CPU specified by a @option{-mcpu=} option. For some ARM implementations better performance can be obtained by using this option. +@option{-mtune=generic-@var{arch}} specifies that GCC should tune the +performance for a blend of processors within architecture @var{arch}. +The aim is to generate code that run well on the current most popular +processors, balancing between optimizations that benefit some CPUs in the +range, and avoiding performance pitfalls of other CPUs. The effects of +this option may change in future GCC versions as CPU models come and go. + @item -march=@var{name} @opindex march This specifies the name of the target ARM architecture. GCC uses this