aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hongjiu.lu@intel.com>2006-09-13 05:59:30 +0000
committerH.J. Lu <hjl@gcc.gnu.org>2006-09-12 22:59:30 -0700
commit04df96dded18551448d76b9a753c83d917a8cebd (patch)
tree98ec4b714063f72b8ce1d4b01b83945193b36deb
parent1cc8c7b29286c9b6e26ed7475afcb2d31df84e4b (diff)
downloadgcc-04df96dded18551448d76b9a753c83d917a8cebd.zip
gcc-04df96dded18551448d76b9a753c83d917a8cebd.tar.gz
gcc-04df96dded18551448d76b9a753c83d917a8cebd.tar.bz2
invoke.texi (mpreferred-stack-boundary): Remove exception for -Os.
2006-09-12 H.J. Lu <hongjiu.lu@intel.com> * doc/invoke.texi (mpreferred-stack-boundary): Remove exception for -Os. Update __m128 alignment requirement. From-SVN: r116917
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/doc/invoke.texi8
2 files changed, 8 insertions, 5 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index f5ec63a..ea6a6bb 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2006-09-12 H.J. Lu <hongjiu.lu@intel.com>
+
+ * doc/invoke.texi (mpreferred-stack-boundary): Remove exception
+ for -Os. Update __m128 alignment requirement.
+
2006-09-13 Jan Hubicka <jh@suse.cz>
* cfganal.c (compute_dominance_frontiers_1): Don't be quadratic.
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index d7f0826..38d227f 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -9505,15 +9505,13 @@ applicable to individual functions.
@opindex mpreferred-stack-boundary
Attempt to keep the stack boundary aligned to a 2 raised to @var{num}
byte boundary. If @option{-mpreferred-stack-boundary} is not specified,
-the default is 4 (16 bytes or 128 bits), except when optimizing for code
-size (@option{-Os}), in which case the default is the minimum correct
-alignment (4 bytes for x86, and 8 bytes for x86-64).
+the default is 4 (16 bytes or 128 bits).
On Pentium and PentiumPro, @code{double} and @code{long double} values
should be aligned to an 8 byte boundary (see @option{-malign-double}) or
suffer significant run time performance penalties. On Pentium III, the
-Streaming SIMD Extension (SSE) data type @code{__m128} suffers similar
-penalties if it is not 16 byte aligned.
+Streaming SIMD Extension (SSE) data type @code{__m128} may not work
+properly if it is not 16 byte aligned.
To ensure proper alignment of this values on the stack, the stack boundary
must be as aligned as that required by any value stored on the stack.