[gcc] Re: RTL templates names
Alexandre Courbot
Alexandre.Courbot@lifl.fr
Wed Sep 17 13:16:00 GMT 2003
> 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.
More information about the Gcc
mailing list