This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Porting GCC help/doubts
- From: "Nithya Babu" <nithyababu at isofttech dot com>
- To: "Paul Brook" <paul at codesourcery dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Mon, 22 Dec 2003 16:16:04 +0530
- Subject: Re: Porting GCC help/doubts
- Organization: iSoftTech
- Reply-to: "Nithya Babu" <nithyababu at isofttech dot com>
Paul,
Thanks for the link.
So it means GCC supplies a list of standard pattern names. And the Parse tree is first converted into an RTL representation based on the standard pattern names. This would then be matched against the .md file's list of target specific RTL and the assembly code emitted using the output template. Right ?
Nithya R. Babu
> ------------Original Message------------
> From: Paul Brook <paul@codesourcery.com>
> To: "Nithya Babu" <nithyababu@isofttech.com>, "Nitin Gupta" <nitin.gupta@nevisnetworks.com>
> Cc: gcc@gcc.gnu.org
> Date: Mon, Dec-22-2003 4:01 PM
> Subject: Re: Porting GCC help/doubts
>
> On Monday 22 December 2003 10:15 am, Nithya Babu wrote:
> > Hi Nitin,
> > Thanks for your quick reply.
> > Any idea on how the Parse Tree is converted to the RTL form ? ..
> > Meaning, when I create a .md file how is the pattern matching done, I mean
> > I have the patterns in the .md file to be compared against something else.
> > This 'something else' is unknown to me. Any idea on what this 'something
> > else' is and how it is derived from the Parse Tree.
>
> RTL is initially generated using the standard named pattterns
>
> http://gcc.gnu.org/onlinedocs/gccint/Standard-Names.html#Standard%20Names
>
> Paul
>