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]
Other format: [Raw text]

Re: [gcc] Re: RTL templates names


> Hello,
> Thanks, I was not so sure about this.
> I have another question : Do I have to use define_insn for all templates
> known by the compiler ?

You are not obliged to define templates for all the standard names. The 
compiler knows how to combine simpler insns to simulate complex ones. For 
instance, if you don't define casesi (used for switch cases to use a dispatch 
table) the compiler will generate a series of tests and jumps.

Of course, the basic insns (operands moving, basic arithmetic, comparisons and 
jumps) will always be mandatory.

Alex.


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