This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
RE: Problem in .md(Machine Description) file
- From: "Rakesh Kumar - Software, Noida" <rakeshku at noida dot hcltech dot com>
- To: nitin jain <nitin_mbm at yahoo dot com>, gcc-help at gcc dot gnu dot org
- Date: Mon, 25 Aug 2003 13:53:15 +0530
- Subject: RE: Problem in .md(Machine Description) file
> This is what written in the GCC manual.
> My problem is that if these expressions are used to
> match generated RTL insn then
>
> 1. What is the difference between these and the
> nameless 'define_insn'?
No difference, except that you would be able to know which nameless pattern
(the define_insn with *) is used to generate the RTL code. Without *, you
won't get what define_insn matched out of the nameless patterns. You see, it
only holds for debugging purposes.
>
> 2. To match RTL code, that code should be generated by
> some other 'define_insn'.
> But the pattern in define_insn "*..." does not match
> with the other patterns in the whole .md file at all.
> This means that those RTL insn is not generated by any
> RTL expression
> in .md file. So what is the need to match them.
Sorry, I'm not able to get the point.......Please clarify
>
> Waiting for reply.
> Nitin Jain
> CSE Dept. (IIT bombay)
>
> > Regards,
> > Rakesh
>
>
> =====
> -------------------------------------------------------------------
> Nitin Jain,
> H-8 ,Room No: 24
> I.I.T.Bombay, Powai, Mumbai.
> Mail-id: nitin-mbm@yahoo.com
> nitinj@cse.iitb.ac.in
> -------------------------------------------------------------------
>
> __________________________________
> Do you Yahoo!?
> Yahoo! SiteBuilder - Free, easy-to-use web site design software
> http://sitebuilder.yahoo.com
>