New: CR16 Port (Take 3)

Pompapathi V Gadad Pompapathi.V.Gadad@nsc.com
Mon Sep 24 09:17:00 GMT 2007


Hello Steering Committee, Maintainers, All,

I would like to contribute the port for CR16 architecture. This is my 
third attempt to submit the port and its been 2 months since the first 
attempt. Rask was kind enough review and suggest his opinion. I have 
incorporated all of Rask's suggestions and upgraded to GPL v3 as well. 
Follow the links below for conversation of my previous attempts
http://gcc.gnu.org/ml/gcc-patches/2007-07/msg00925.html
http://gcc.gnu.org/ml/gcc-patches/2007-08/msg00981.html

Could some please look into this submission and suggest if this is OK 
for trunk?

Please find the following patches attached:
1) Patch for gcc directory:      cr16-port_gcc_24sep07.diff 
2) Patch for libgcc directory:   cr16-port_libgcc_09jul07.diff 
3) Patch for toplevel directory: cr16-port_toplevel_config_09jul07.diff
Patch for toplevel directory has already been submitted and reviewed, 
however not committed yet. Therefore, it is attached here as well.
http://gcc.gnu.org/ml/gcc-patches/2007-07/msg00923.html

Binutils for CR16 target is already accepted by binutils maintainers and 
is part of repository now (Binutils 2.18).

GDB simulator development is in progress and eventually we will be 
submitting the simulator sources to gdb/sim. Since, GDB simulator is not 
available yet, only compile test were conducted using gcc testsuite. 
However, the compiler has been tested using other commercially available 
compliance testsuites on real CR16 hardware. I will submit the 
compile-only gcc testsuite results to gcc-testsuite mailing list soon.

CR16 target port characteristics:
         | Characteristics
Target   | HMSLQNFICBD lqrcpfgmbdates
---------+---------------------------
cr16     |   SL  FI    l   p g      

My individual assignment process with the FSF is complete. I also wish 
to maintain the CR16 port.

Requesting to review the patches and suggest.

Here is the change log entries:

gcc/ChangeLog:
--------------
2007-07-30  Pompapathi V Gadad <Pompapathi.V.Gadad@nsc.com>

        * config.gcc: Add cr16-elf support.

        * doc/extend.texi: Document cr16 extensions.
        * doc/install.texi: Document cr16 install.
        * doc/invoke.texi: Document cr16 options.
        * doc/md.texi: Document cr16 constraints.

        * config/cr16/cr16.c: New file.
        * config/cr16/cr16.h: New file.
        * config/cr16/cr16.md: New file.
        * config/cr16/cr16.opt: New file.
        * config/cr16/cr16-libgcc.s: New file.
        * config/cr16/cr16-protos.h: New file.
        * config/cr16/crti.s: New file.
        * config/cr16/crtn.s: New file.
        * config/cr16/divmodhi3.c: New file.
        * config/cr16/fixunssfsi.c: New file.
        * config/cr16/t-cr16: New file.

libgcc/ChangeLog
------------------
2007-07-07  Pompapathi V Gadad <Pompapathi.V.Gadad@nsc.com>

        * config.host: Add National Semiconductor CR16 target (cr16-*-elf).

ChangeLog
----------
2007-07-07  Pompapathi V Gadad <Pompapathi.V.Gadad@nsc.com>

   * configure.ac: Add National Semiconductor CR16 target.
   * configure: Regenerate

Thanks in advance,
Pompa
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cr16-port_toplevel_config_09jul07.diff
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20070924/bbfe70d5/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cr16-port_libgcc_09jul07.diff
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20070924/bbfe70d5/attachment-0001.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cr16-port_gcc_24sep07.diff
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20070924/bbfe70d5/attachment-0002.ksh>


More information about the Gcc-patches mailing list