This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: rtl questions


> > 2) Is it absolutley necessary to have a matching define_insn for a
> > define_expand?
> 
> Yes.  Rather it is not absolutely necessary to have a define_expand
> for the define_insn.  If nothing special needs to happen, you can 
> just name the define_insn appropriately.

More strictly there has to be a define_insn that matches any insn 
*emitted* by the define_expand; if your expansion decomposes the original 
"template" into simpler operations you need define_insn patterns to match 
each of the simpler operations.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]