This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Status of m32c target?
- From: Eric Botcazou <ebotcazou at adacore dot com>
- To: Segher Boessenkool <segher at kernel dot crashing dot org>
- Cc: gcc at gcc dot gnu dot org, Martin Jambor <mjambor at suse dot cz>, Sandra Loosemore <sandra at codesourcery dot com>, Jeff Law <law at redhat dot com>, Georg-Johann Lay <avr at gjlay dot de>, Joseph Myers <joseph at codesourcery dot com>, Sebastian Huber <sebastian dot huber at embedded-brains dot de>
- Date: Tue, 23 Jan 2018 09:28:14 +0100
- Subject: Re: Status of m32c target?
- Authentication-results: sourceware.org; auth=none
- References: <4b8e5f1b-7020-b02e-5108-f9d104054d61@embedded-brains.de> <ri6k1watdv4.fsf@suse.cz> <20180123001426.GF21977@gate.crashing.org>
> It's a bit like writing a new backend, except you have all this existing
> code to worry about as well. Unless you start from scratch (which may
> not be such a bad idea: you get to modernise it all, and it isn't _really_
> from scratch, you can peek at the old code and copy stuff from it).
I disagree, it's nowhere near the difficulty of writing a new back-end, it's
only a conversion from one representation to another and one could say that
only "tactical" decisions are to be made, as opposed to more "strategical"
decisions for a new back-end. And IMO starting from scratch is a bad idea.
> But writing a backend is too much for a GSoC, even a small one.
Definitely, and doing a CC0 conversion is probably an upper bound.
--
Eric Botcazou