[doc patch] document -mlong-double-* for PowerPC
Janis Johnson
janis187@us.ibm.com
Fri Mar 3 01:41:00 GMT 2006
This patch documents the options -mlong-double-64 and -mlong-double-128
for PowerPC. I wasn't quite sure what to say about the default, since
the default for a compiler depends on how it was configured; the
"default" default is 128 for Darwin, 64 for GNU/Linux and AIX.
Tested using 'make info' and 'make html'; tested using 'make dvi' after
removing the line in invoke.texi that uses @value{srcdir} (what's the
right way to do 'make dvi' these days on trunk?).
OK for trunk and 4.1?
2006-03-02 Janis Johnson <janis187@us.ibm.com>
* doc/invoke.texi (RS/6000 and PowerPC Options): Document
-mlong-double-64 and -mlong-double128.
Index: gcc/doc/invoke.texi
===================================================================
--- gcc/doc/invoke.texi (revision 111617)
+++ gcc/doc/invoke.texi (working copy)
@@ -651,7 +651,8 @@
-mfull-toc -mminimal-toc -mno-fp-in-toc -mno-sum-in-toc @gol
-m64 -m32 -mxl-compat -mno-xl-compat -mpe @gol
-malign-power -malign-natural @gol
--msoft-float -mhard-float -mmultiple -mno-multiple @gol
+-msoft-float -mhard-float -mlong-double-64 -mlong-double-128 @gol
+-mmultiple -mno-multiple @gol
-mstring -mno-string -mupdate -mno-update @gol
-mfused-madd -mno-fused-madd -mbit-align -mno-bit-align @gol
-mstrict-align -mno-strict-align -mrelocatable @gol
@@ -11323,6 +11324,14 @@
Software floating point emulation is provided if you use the
@option{-msoft-float} option, and pass the option to GCC when linking.
+@item -mlong-double-64
+@itemx -mlong-double-128
+@opindex mlong-double-64
+@opindex mlong-double-128
+These switches control the size of the @code{long double} type. A size
+of 64 bits makes the @code{long double} type equivalent to the
+@code{double} type. The default depends on how GCC was configured.
+
@item -mmultiple
@itemx -mno-multiple
@opindex mmultiple
More information about the Gcc-patches
mailing list