This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH] doc: Document new S/390 options
- From: "Andreas Krebbel" <krebbel at linux dot vnet dot ibm dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Mon, 15 Sep 2008 19:10:07 +0200
- Subject: [PATCH] doc: Document new S/390 options
Hello,
the attached patch adds the documentation for certain S/390 specific
options which I've added but unfortunately forgot to document.
Compared to the GCC 4.3 version this one also adds the z10 march
parameter.
Tested by building gcc.info.
Ok for mainline?
Bye,
-Andreas-
2008-09-15 Andreas Krebbel <krebbel1@de.ibm.com>
* doc/invoke.texi: Document -mhard-dfp, -mno-hard-dfp.
Mention -march=z9-109, z9-ec and z10.
Index: gcc/doc/invoke.texi
===================================================================
*** gcc/doc/invoke.texi.orig 2008-09-15 17:30:50.000000000 +0200
--- gcc/doc/invoke.texi 2008-09-15 17:49:56.000000000 +0200
*************** See RS/6000 and PowerPC Options.
*** 740,746 ****
@emph{S/390 and zSeries Options}
@gccoptlist{-mtune=@var{cpu-type} -march=@var{cpu-type} @gol
! -mhard-float -msoft-float -mlong-double-64 -mlong-double-128 @gol
-mbackchain -mno-backchain -mpacked-stack -mno-packed-stack @gol
-msmall-exec -mno-small-exec -mmvcle -mno-mvcle @gol
-m64 -m31 -mdebug -mno-debug -mesa -mzarch @gol
--- 740,747 ----
@emph{S/390 and zSeries Options}
@gccoptlist{-mtune=@var{cpu-type} -march=@var{cpu-type} @gol
! -mhard-float -msoft-float -mhard-dfp -mno-hard-dfp @gol
! -mlong-double-64 -mlong-double-128 @gol
-mbackchain -mno-backchain -mpacked-stack -mno-packed-stack @gol
-msmall-exec -mno-small-exec -mmvcle -mno-mvcle @gol
-m64 -m31 -mdebug -mno-debug -mesa -mzarch @gol
*************** functions in @file{libgcc.a} will be use
*** 14042,14047 ****
--- 14043,14059 ----
operations. When @option{-mhard-float} is specified, the compiler
generates IEEE floating-point instructions. This is the default.
+ @item -mhard-dfp
+ @itemx -mno-hard-dfp
+ @opindex mhard-dfp
+ @opindex mno-hard-dfp
+ Use (do not use) the hardware decimal-floating-point instructions for
+ decimal-floating-point operations. When @option{-mno-hard-dfp} is
+ specified, functions in @file{libgcc.a} will be used to perform
+ decimal-floating-point operations. When @option{-mhard-dfp} is
+ specified, the compiler generates decimal-floating-point hardware
+ instructions. This is the default.
+
@item -mlong-double-64
@itemx -mlong-double-128
@opindex mlong-double-64
*************** The default is to not print debug inform
*** 14152,14158 ****
@opindex march
Generate code that will run on @var{cpu-type}, which is the name of a system
representing a certain processor type. Possible values for
! @var{cpu-type} are @samp{g5}, @samp{g6}, @samp{z900}, and @samp{z990}.
When generating code using the instructions available on z/Architecture,
the default is @option{-march=z900}. Otherwise, the default is
@option{-march=g5}.
--- 14164,14171 ----
@opindex march
Generate code that will run on @var{cpu-type}, which is the name of a system
representing a certain processor type. Possible values for
! @var{cpu-type} are @samp{g5}, @samp{g6}, @samp{z900}, @samp{z990},
! @samp{z9-109}, @samp{z9-ec} and @samp{z10}.
When generating code using the instructions available on z/Architecture,
the default is @option{-march=z900}. Otherwise, the default is
@option{-march=g5}.