Commit 7cceca32 by Craig Burley Committed by Craig Burley

The -malign-double option now works

From-SVN: r26114
parent 68b14c71
Fri Apr 2 13:33:16 1999 Craig Burley <craig@jcb-sc.com>
* g77.texi: -malign-double now works.
Give URL for alignment-testing package.
* news.texi: -malign-double now works.
Fri Apr 2 12:49:12 1999 Craig Burley <craig@jcb-sc.com> Fri Apr 2 12:49:12 1999 Craig Burley <craig@jcb-sc.com>
* g77.texi (Funding GNU Fortran): Dude's got a web page. * g77.texi (Funding GNU Fortran): Dude's got a web page.
......
...@@ -2704,11 +2704,7 @@ and data sets. ...@@ -2704,11 +2704,7 @@ and data sets.
this option does not apply, generally speaking, to Fortran this option does not apply, generally speaking, to Fortran
code compiled by @code{g77}. code compiled by @code{g77}.
@emph{Also note:} @samp{-malign-double} applies only to @xref{Aligned Data}, for more information on alignment issues.
statically-allocated data.
Double-precision data on the stack can still
cause problems due to misalignment.
@xref{Aligned Data}.
@emph{Also also note:} The negative form of @samp{-malign-double} @emph{Also also note:} The negative form of @samp{-malign-double}
is @samp{-mno-align-double}, not @samp{-benign-double}. is @samp{-mno-align-double}, not @samp{-benign-double}.
...@@ -10470,6 +10466,7 @@ it working). ...@@ -10470,6 +10466,7 @@ it working).
@node Aligned Data @node Aligned Data
@subsection Aligned Data @subsection Aligned Data
@cindex alignment
@cindex data, aligned @cindex data, aligned
@cindex stack, aligned @cindex stack, aligned
@cindex aligned data @cindex aligned data
...@@ -10571,12 +10568,6 @@ of the FORTRAN 77 standard, ...@@ -10571,12 +10568,6 @@ of the FORTRAN 77 standard,
or uses @code{EQUIVALENCE} or different layouts or uses @code{EQUIVALENCE} or different layouts
in ways that assume no padding is ever inserted by the compiler. in ways that assume no padding is ever inserted by the compiler.
@emph{Note:} @samp{-malign-double} applies only to
statically-allocated data.
Double-precision data on the stack can still
cause problems due to misalignment.
@xref{Aligned Data}.
@item @item
Ensure that @file{crt0.o} or @file{crt1.o} Ensure that @file{crt0.o} or @file{crt1.o}
on your system guarantees a 64-bit on your system guarantees a 64-bit
...@@ -10593,6 +10584,13 @@ Progress is being made on making this work ...@@ -10593,6 +10584,13 @@ Progress is being made on making this work
@code{gcc}, and some of the relevant operating systems @code{gcc}, and some of the relevant operating systems
(such as GNU/Linux). (such as GNU/Linux).
@cindex alignment testing
@cindex testing alignment
A package that tests the degree to which a Fortran compiler
(such as @code{g77})
aligns 64-bit floating-point variables and arrays
is available at @uref{ftp://alpha.gnu.org/gnu/g77/align/}.
@node Prefer Automatic Uninitialized Variables @node Prefer Automatic Uninitialized Variables
@subsection Prefer Automatic Uninitialized Variables @subsection Prefer Automatic Uninitialized Variables
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
@c in the standalone derivations of this file (e.g. NEWS). @c in the standalone derivations of this file (e.g. NEWS).
@set copyrights-news 1995-1999 @set copyrights-news 1995-1999
@set last-update-news 1999-03-17 @set last-update-news 1999-04-02
@include root.texi @include root.texi
...@@ -204,6 +204,14 @@ when the corresponding @emph{subsequent} function program unit ...@@ -204,6 +204,14 @@ when the corresponding @emph{subsequent} function program unit
disagrees with the reference concerning the type of the function. disagrees with the reference concerning the type of the function.
@end ifclear @end ifclear
@cindex alignment
@cindex double-precision performance
@cindex -malign-double
@item
The @code{-malign-double} option
now reliably aligns @emph{all} double-precision variables and arrays
on Intel x86 targets.
@ifclear USERVISONLY @ifclear USERVISONLY
@item @item
Improve documentation and indexing, Improve documentation and indexing,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment