summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1997-11-24 20:53:15 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1997-11-24 20:53:15 +0000
commit2aa8f119b487a35e25518c15ffb7891cdb4668b6 (patch)
tree8f05fcb8851b618a9b728754432b73d813986d80 /gcc
parentccb6700d56513f9e7bb992f113d839345cc0de6e (diff)
downloadgcc-2aa8f119b487a35e25518c15ffb7891cdb4668b6.tar.gz
Doc fixes from stan.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@16691 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r--gcc/invoke.texi30
1 files changed, 24 insertions, 6 deletions
diff --git a/gcc/invoke.texi b/gcc/invoke.texi
index 1880143f593..cf1c8a58f62 100644
--- a/gcc/invoke.texi
+++ b/gcc/invoke.texi
@@ -306,7 +306,9 @@ in the following sections.
-mstats -EL -EB -G @var{num} -nocpp
@emph{i386 Options}
--m486 -m386 -mieee-fp -mno-fancy-math-387
+-mcpu=@var{cpu type}
+-march=@var{cpu type}
+-mieee-fp -mno-fancy-math-387
-mno-fp-ret-in-387 -msoft-float -msvr3-shlib
-mno-wide-multiply -mrtd -malign-double
-mreg-alloc=@var{list} -mregparm=@var{num}
@@ -4516,11 +4518,27 @@ defaults.
These @samp{-m} options are defined for the i386 family of computers:
-@table @code
-@item -m486
-@itemx -m386
-Control whether or not code is optimized for a 486 instead of an
-386. Code generated for an 486 will run on a 386 and vice versa.
+@item -mcpu=@var{cpu type}
+Assume the defaults for the machine type @var{cpu type} when scheduling
+instructions. The choices for @var{cpu type} are: @samp{i386},
+@samp{i486}, @samp{i586} (@samp{pentium}), @samp{pentium}, @samp{i686}
+(@samp{pentiumpro}) and @samp{pentiumpro}. While picking a specific
+@var{cpu type} will schedule things appropriately for that particular
+chip, the compiler will not generate any code that does not run on the
+i386 without the @samp{-march=@var{cpu type}} option being used.
+
+@item -march=@var{cpu type}
+Generate instructions for the machine type @var{cpu type}. The choices
+for @var{cpu type} are: @samp{i386}, @samp{i486}, @samp{pentium}, and
+@samp{pentiumpro}. Specifying @samp{-march=@var{cpu type}} implies
+@samp{-mcpu=@var{cpu type}}.
+
+@item -m386
+@itemx -m486
+@itemx -mpentium
+@itemx -mpentiumpro
+Synonyms for -mcpu=i386, -mcpu=i486, -mcpu=pentium, and -mcpu=pentiumpro
+respectively.
@item -mieee-fp
@itemx -mno-ieee-fp