diff options
author | Xinliang David Li <davidxl@google.com> | 2013-08-14 17:41:02 +0000 |
---|---|---|
committer | Xinliang David Li <davidxl@gcc.gnu.org> | 2013-08-14 17:41:02 +0000 |
commit | 3ad20bd44836e57453b743466f1ca0d591bd10ac (patch) | |
tree | ab4e6edfc55f69d9ee8667cf3775470ee7eab593 /gcc/doc | |
parent | 645e5010bb57adb1e37348875124486ba99d1337 (diff) | |
download | gcc-3ad20bd44836e57453b743466f1ca0d591bd10ac.zip gcc-3ad20bd44836e57453b743466f1ca0d591bd10ac.tar.gz gcc-3ad20bd44836e57453b743466f1ca0d591bd10ac.tar.bz2 |
Implement -mno-default, option documentation and code refactoring
From-SVN: r201732
Diffstat (limited to 'gcc/doc')
-rw-r--r-- | gcc/doc/invoke.texi | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 663b9fd..66d7cc5 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -637,6 +637,7 @@ Objective-C and Objective-C++ Dialects}. @emph{i386 and x86-64 Options} @gccoptlist{-mtune=@var{cpu-type} -march=@var{cpu-type} @gol +-mtune-ctrl=@var{feature-list} -mdump-tune-features -mno-default @gol -mfpmath=@var{unit} @gol -masm=@var{dialect} -mno-fancy-math-387 @gol -mno-fp-ret-in-387 -msoft-float @gol @@ -14429,6 +14430,27 @@ supported architecture, using the appropriate flags. In particular, the file containing the CPU detection code should be compiled without these options. +@item -mdump-tune-features +@opindex mdump-tune-features +This option instructs GCC to dump the names of the x86 performance +tuning features and default settings. The names can be used in +@option{-mtune-ctrl=@var{feature-list}}. + +@item -mtune-ctrl=@var{feature-list} +@opindex mtune-ctrl=@var{feature-list} +This option is used to do fine grain control of x86 code generation features. +@var{feature-list} is a comma separated list of @var{feature} names. See also +@option{-mdump-tune-features}. When specified, the @var{feature} will be turned +on if it is not preceded with @code{^}, otherwise, it will be turned off. +@option{-mtune-ctrl=@var{feature-list}} is intended to be used by GCC +developers. Using it may lead to code paths not covered by testing and can +potentially result in compiler ICEs or runtime errors. + +@item -mno-default +@opindex mno-default +This option instructs GCC to turn off all tunable features. See also +@option{-mtune-ctrl=@var{feature-list}} and @option{-mdump-tune-features}. + @item -mcld @opindex mcld This option instructs GCC to emit a @code{cld} instruction in the prologue |