This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Fw: [PATCH] Add new model m32r2 of Renesas M32R
- From: Nick Clifton <nickc at redhat dot com>
- To: Kazuhiro Inaoka <inaoka dot kazuhiro at renesas dot com>
- Cc: <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 09 Dec 2003 17:25:46 +0000
- Subject: Re: Fw: [PATCH] Add new model m32r2 of Renesas M32R
- References: <010f01c3bd64$ee89e6a0$2569910a@tool.maec.co.jp>
Hi Kazuhiro,
> 2003-12-04 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
>
> * m32r.h: Add support for m32r2 processor.
> * m32r.c: Ditto.
> * m32r.md: Ditto.
> * t-m32r
>
I have approved and applied your patch. I did however make a couple
of changes:
* I fixed the formatting of a comment to conform to gcc standards.
* I updated the ChangeLog entry to be slightly more verbose.
* I added a patch (attached) to gcc/doc/invoke.texi to describe the
new -m32r2 command line option.
* I added a patch (attached) to the web page gcc-3.4/changes.html to
document the new support for the M32R2.
Cheers
Nick
Index: gcc/doc/invoke.texi
===================================================================
RCS file: /cvs/gcc/gcc/gcc/doc/invoke.texi,v
retrieving revision 1.366
diff -c -3 -p -r1.366 invoke.texi
*** gcc/doc/invoke.texi 5 Dec 2003 00:44:56 -0000 1.366
--- gcc/doc/invoke.texi 9 Dec 2003 17:28:48 -0000
*************** in the following sections.
*** 400,406 ****
-mno-crt0 -mrelax}
@emph{M32R/D Options}
! @gccoptlist{-m32rx -m32r -mcode-model=@var{model-type} @gol
-msdata=@var{sdata-type} -G @var{num}}
@emph{M88K Options}
--- 400,406 ----
-mno-crt0 -mrelax}
@emph{M32R/D Options}
! @gccoptlist{-m32r2 -m32rx -m32r -mcode-model=@var{model-type} @gol
-msdata=@var{sdata-type} -G @var{num}}
@emph{M88K Options}
*************** This option makes symbolic debugging imp
*** 6840,6845 ****
--- 6840,6849 ----
These @option{-m} options are defined for Mitsubishi M32R/D architectures:
@table @gcctabopt
+ @item -m32r2
+ @opindex m32r2
+ Generate code for the M32R/2@.
+
@item -m32rx
@opindex m32rx
Generate code for the M32R/X@.
Index: gcc-3.4/changes.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-3.4/changes.html,v
retrieving revision 1.74
diff -c -3 -p -r1.74 changes.html
*** gcc-3.4/changes.html 5 Dec 2003 14:29:02 -0000 1.74
--- gcc-3.4/changes.html 9 Dec 2003 17:27:07 -0000
***************
*** 420,425 ****
--- 420,430 ----
<li>Further small performance improvements.</li>
</ul>
+ <h4>M32</h4>
+ <ul>
+ <li>Support for the M32R/2 processor has been added by Renesas.
+ </ul>
+
<h4>M68000</h4>
<ul>
<li>Bernardo Innocenti (Develer S.r.l.) has contributed