This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: writing custom machine descriptions
- From: Danish Samad <danishsamad at yahoo dot com>
- To: dewar at gnat dot com, durdana at enabtech dot com, gcc at gcc dot gnu dot org
- Cc: shoab at enabtech dot com
- Date: Thu, 27 Dec 2001 04:40:09 -0800 (PST)
- Subject: Re: writing custom machine descriptions
--- dewar@gnat.com wrote:
> <<We have designed our own processor. In order to
> generate assembly instructions for the desired
> architecture will I have to add machine description
> files (as has been done in gcc's config directory)?
> Or will I also have to modify the gcc backend as
> well?
> >>
>
> If the architecture is conventional enough (enough
> is hard to define
> precisely), then only a new machine description file
> is required. In
> the past, new architectures have sometimes required
> new feaures in
> the gcc backend, especially to make sure that
> optimal code is generated,
> but that is less true as time goes on, and unless
> your architecture is
> weird, it is likely you can get a quite decent
> compiler by simply providing
> a new machine description file.
hello,
Our processor is based on VLIW(very large instruction
word) architecture. It is capable of executing five
instructions in one cylce. For such an architecture
will I have to simply write machine description and
configuration files? or will I have to update\modify
the gcc backend? Considering the fact we have to
generare optimized parallel assembly.
regards,
danish
__________________________________________________
Do You Yahoo!?
Send your FREE holiday greetings online!
http://greetings.yahoo.com