aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely.gcc@gmail.com>2011-12-22 17:35:05 +0000
committerJonathan Wakely <redi@gcc.gnu.org>2011-12-22 17:35:05 +0000
commitd7816baac9609e2b8340619de61ec7708681f217 (patch)
tree811bb350ee13e8eb352b8d69a6f78ca5c7ab1f48
parent444880b9b1f55dd5efa5212c120fcfc012ea90eb (diff)
downloadgcc-d7816baac9609e2b8340619de61ec7708681f217.zip
gcc-d7816baac9609e2b8340619de61ec7708681f217.tar.gz
gcc-d7816baac9609e2b8340619de61ec7708681f217.tar.bz2
re PR target/47643 (x86 -mtune docs still imply i386 is the default for codegen)
PR target/47643 * doc/invoke.texi (i386 and x86-64 Options): Fix description of -mtune without -march. From-SVN: r182630
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/doc/invoke.texi6
2 files changed, 10 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 3c785e1..4788efa 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2011-12-22 Jonathan Wakely <jwakely.gcc@gmail.com>
+
+ PR target/47643
+ * doc/invoke.texi (i386 and x86-64 Options): Fix description of
+ -mtune without -march.
+
2011-12-21 Richard Earnshaw <rearnsha@arm.com>
PR target/51643
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index 9942755..c779d27 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -12847,8 +12847,10 @@ Embedded AMD CPU with MMX and 3DNow!@: instruction set support.
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 @option{-march=@var{cpu-type}} option
-being used.
+does not run on the default machine type without the @option{-march=@var{cpu-type}}
+option being used. For example, if GCC is configured for i686-pc-linux-gnu
+then @option{-mtune=pentium4} will generate code that is tuned for Pentium4
+but will still run on i686 machines.
@item -march=@var{cpu-type}
@opindex march