writing custom machine descriptions
Danish Samad
danishsamad@yahoo.com
Thu Dec 27 05:38:00 GMT 2001
--- 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
More information about the Gcc
mailing list