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]

[RFA:] CRIS port


Here are the main bits for a port of GCC to CRIS, the CPU core
in Axis ETRAX chips.  A detail of interest might be that the
port generates assembly code for a.out and ELF in the same
configuration.  The CPU itself is quite minimal, no bells or
whistles.  One might say it is m68k-like, but a bit less CISCy.
See <URL:http://gcc.gnu.org/ml/gcc-patches/2000-11/msg00846.html>
for prerequisite patches.  Documentation and libstdc++-v3 bits
to follow as separate patches.  All copyright papers are fed to
the GNU and digested since 1998 IIRC.  The port itself goes back
to GCC 2.1 and is described in "Porting GCC for Dunces" (see
<URL:http://gcc.gnu.org/readings.html>).

	* config.gcc (cris-*-*): New target.
	* config/cris: New directory.
	* config/cris/t-cris: New file.
	* config/cris/cris.md: New file.
	* config/cris/cris.h: New file.
	* config/cris/cris-protos.h: New file.
	* config/cris/xm-cris.h: New file.
	* config/cris/cris.c: New file.
	* config/cris/arit.c: New file.

Bootstrapped and tested with these bits in GCC on
i686-pc-linux-gnu.  The CRIS port itself isn't self-hosted, yet.
Applicable test-results are on par with the i686-pc-linux-gnu host.

Ok to commit?  (Note the prerequisite patches.)

brgds, H-P

cris.patch.gz


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