This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Patch to add d30v option documentation


When I added the D30V compiler to the FSF, I forgot to copy in the
option documentation.  This patch fixes that:

2000-07-24  Michael Meissner  <meissner@redhat.com>

	* invoke.texi (D30V Options): Add d30v options.

*** gcc/invoke.texi.~1~	Fri Jul 21 21:06:29 2000
--- gcc/invoke.texi	Mon Jul 24 12:38:26 2000
*************** that macro, which enables you to change 
*** 3902,3907 ****
--- 3902,3908 ----
  * NS32K Options::
  * AVR Options::
  * MCore Options::
+ * D30V Options::
  @end menu
  
  @node M680x0 Options
*************** Generate code for a little endian target
*** 7102,7110 ****
  @itemx -m210
  @itemx -m340
  Generate code for the 210 processor.
- 
  @end table
  
  
  @node Code Gen Options
  @section Options for Code Generation Conventions
--- 7103,7146 ----
  @itemx -m210
  @itemx -m340
  Generate code for the 210 processor.
  @end table
  
+ @node D30V Options
+ @subsection D30V Options
+ @cindex D30V Options
+ 
+ These @samp{-m} options are defined for D30V implementations:
+ 
+ @table @code
+ @item -mextmem
+ Link the @samp{.text}, @samp{.data}, @samp{.bss}, @samp{.strings},
+ @samp{.rodata}, @samp{.rodata1}, @samp{.data1} sections into external
+ memory, which starts at location @code{0x80000000}.
+ 
+ @item -mextmemory
+ Same as the @samp{-mextmem} switch.
+ 
+ @item -monchip
+ Link the @samp{.text} section into onchip text memory, which starts at
+ location @code{0x0}.  Also link @samp{.data}, @samp{.bss},
+ @samp{.strings}, @samp{.rodata}, @samp{.rodata1}, @samp{.data1} sections
+ into onchip data memory, which starts at location @code{0x20000000}.
+ 
+ @item -mno-asm-optimize
+ @itemx -masm-optimize
+ Disable (enable) passing @samp{-O} to the assembler when optimizing.
+ The assembler uses the @samp{-O} option to automatically parallelize
+ adjacent short instructions where possible.
+ 
+ @item -mbranch-cost=@var{n}
+ Increase the internal costs of branches to @var{n}.  Higher costs means
+ that the compiler will issue more instructions to avoid doing a branch.
+ The default is 2.
+ 
+ @item -mcond-exec=@var{n}
+ Specify the maximum number of conditionally executed instructions that
+ replace a branch.  The default is 4.
+ @end table
  
  @node Code Gen Options
  @section Options for Code Generation Conventions

-- 
Michael Meissner, Red Hat, Inc.
PMB 198, 174 Littleton Road #3, Westford, Massachusetts 01886, USA
Work:	  meissner@redhat.com		phone: +1 978-486-9304
Non-work: meissner@spectacle-pond.org	fax:   +1 978-692-4482

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]