This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: CGEN-generated files vs GPL
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: DJ Delorie <dj at redhat dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Wed, 28 Jan 2009 22:05:45 +0000 (UTC)
- Subject: Re: CGEN-generated files vs GPL
- References: <200901282036.n0SKaQdE002393@greed.delorie.com>
On Wed, 28 Jan 2009, DJ Delorie wrote:
> What are the implications (GPL-wise) of using CGEN-generated files in
> gcc? Specifically, I'm working on a second attempt to contribute the
> MeP port, and its intrinsics are CGEN-generated (and there are a *lot*
> of them - most opcodes have an intrinsic). I'd rather not have to
> manually enter all that info twice (there are VLIW tags, latency info,
> etc - for each intrinsic)
I believe the source code (i.e., what you'd change to modify the
intrinsics) needs including in the GCC release tarballs. I don't think
CGEN itself needs including, any more than OCaml needs including because
the ARM NEON intrinsic generators are written in OCaml.
--
Joseph S. Myers
joseph@codesourcery.com