Re: Back-End Modification

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Eduardo,

    I was in a VERY similar problem. I was hired by a company that has
designed its own processor and was porting GCC onto it. I was hired to
maintain it and provide customer support and upgradation for all future
versions of the processors (adding new instructions etc etc...) and
believe me I didnt know a thing in Compiler designs. (only worked with
them years). Anyway, a similar question posted by me evoked a VERY poor
response.

    Anyway, here is all the material I could gather. Im by no means
completely comfortable with it, but could just get started.... If at all
you come across better material, I'd be glad if you can share it with me...

ALSO CHECK OUT:

http://gcc.gnu.org/onlinedocs/gccint/   (it'll give you what is what
about gcc internals).


Kind Regards, Sriharsha.

eduardok@xxxxxxxxxxx wrote:

Me and my college are building our own processor and we need to modify the GCC
back end in order to generate code to our processor.

The first idea was to compile a C code using the GCC and ganerate an assembly
code, that would be used as an input to our hand made mounter to generate
hexadecimal codes to our processor. The problem is that we know nothing about
how GCC works and how it generates codes for the other architectures.

As we don't have to much time to do that, I'm asking for the fastest and more
directly way to learn about the GCC back end (any books, manuals, or other
documents that could help) and some tips for modifying it.

Thanks everybody,
Eduardo Koerich.




-- ***************************** * Sriharsha Vedurmudi * Software Engineer * * Redpine Signals Inc. * Gate #395, Plot 87,88 * Sagar Society, Road #2, * Banjara Hills, * Hyderabad - 500 034 * www.redpinesignals.com * * +91-40-23559911 (Office) * +91-9849133133 (Mobile) *****************************


Attachment: GccPorting.pdf
Description: Adobe PDF document


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux