This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Dave Love's Intel-related doc fixes
- To: egcs-patches at egcs dot cygnus dot com
- Subject: Dave Love's Intel-related doc fixes
- From: craig at jcb-sc dot com
- Date: 5 Jun 1999 21:19:01 -0000
- Cc: craig at jcb-sc dot com
Committed, to mainline and release branch.
tq vm, (burley)
egcs/gcc/f/ChangeLog:
Sat Jun 5 17:03:23 1999 Craig Burley <craig@jcb-sc.com>
From Dave Love to egcs-patches on 20 May 1999 17:38:38 +0100:
* g77.texi: Clean up fossil text vis-a-vis Intel CPUs.
*** egcs/gcc/f/g77.texi 1999/05/15 15:46:10 1.54
--- egcs/gcc/f/g77.texi 1999/05/20 16:32:49
*************** compiler, typically @code{gcc}.)
*** 10774,10803 ****
@node Use Submodel Options
@subsection Use Submodel Options
- @cindex Pentium optimizations
- @cindex optimization, for Pentium
- @cindex 586/686 CPUs
@cindex submodels
Using an appropriate @samp{-m} option to generate specific code for your
CPU may be worthwhile, though it may mean the executable won't run on
other versions of the CPU that don't support the same instruction set.
@xref{Submodel Options,,Hardware Models and Configurations,gcc,Using and
! Porting GNU CC}.
! For recent CPUs that don't have explicit support in
! the released version of @code{gcc}, it may still be possible to get
! improvements.
! For instance, the flags recommended for 586/686
! (Pentium(Pro)) chips for building the Linux kernel are:
! @smallexample
! -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2
! -fomit-frame-pointer
! @end smallexample
!
! @noindent @samp{-fomit-frame-pointer} will, however, inhibit debugging
! on x86 systems.
@node Trouble
@chapter Known Causes of Trouble with GNU Fortran
--- 10774,10798 ----
@node Use Submodel Options
@subsection Use Submodel Options
@cindex submodels
Using an appropriate @samp{-m} option to generate specific code for your
CPU may be worthwhile, though it may mean the executable won't run on
other versions of the CPU that don't support the same instruction set.
@xref{Submodel Options,,Hardware Models and Configurations,gcc,Using and
! Porting GNU CC}. For instance on an x86 system the compiler might have
! been built---as shown by @samp{g77 -v}---for the target
! @samp{i386-pc-linux-gnu}, i.e.@: an @samp{i386} CPU@. In that case to
! generate code best optimized for a Pentium you could use the option
! @samp{-march=pentium}.
! For recent CPUs that don't have explicit support in the released version
! of @code{gcc}, it @emph{might} still be possible to get improvements
! with certain @samp{-m} options.
! @samp{-fomit-frame-pointer} can help performance on x86 systems and
! others. It will, however, inhibit debugging on the systems on which it
! is not turned on anyway by @samp{-O}.
@node Trouble
@chapter Known Causes of Trouble with GNU Fortran
egcs/gcc/ChangeLog:
Sat Jun 5 17:04:16 1999 Craig Burley <craig@jcb-sc.com>
From Dave Love to egcs-patches on 20 May 1999 17:38:38 +0100:
* invoke.texi: Clarify text vis-a-vis Intel CPUs.
*** egcs/gcc/invoke.texi 1999/05/08 01:47:50 1.111
--- egcs/gcc/invoke.texi 1999/05/20 16:23:50
*************** instructions. The choices for @var{cpu
*** 5043,5049 ****
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
--- 5043,5051 ----
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. @samp{i586} is equivalent to @samp{pentium} and @samp{i686}
! is equivalent to @samp{pentiumpro}. @samp{k6} is the AMD chip as
! opposed to the Intel ones.
@item -march=@var{cpu type}
Generate instructions for the machine type @var{cpu type}. The choices
*************** specifying @samp{-march=@var{cpu type}}
*** 5055,5061 ****
@itemx -mpentium
@itemx -mpentiumpro
Synonyms for -mcpu=i386, -mcpu=i486, -mcpu=pentium, and -mcpu=pentiumpro
! respectively. These synonyms are depricated.
@item -mieee-fp
@itemx -mno-ieee-fp
--- 5057,5063 ----
@itemx -mpentium
@itemx -mpentiumpro
Synonyms for -mcpu=i386, -mcpu=i486, -mcpu=pentium, and -mcpu=pentiumpro
! respectively. These synonyms are deprecated.
@item -mieee-fp
@itemx -mno-ieee-fp