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: Porting GCC: setting lenght-atrribute


> Mueller-Lehnitz@t-online.de (Anja Müller) writes:
..
> > to set the length-attribute ? Is there a possibility to set an attribute
> > in the Output Template ?

Denis Chertykov:
> I'm use ADJUST_INSN_LENGTH in my port (Atmel avr).
..

Another approach is to use constraint letters for the different constant
values, so that you can have different insn alternatives for the different
lengths.

Or, even better, if the different length are due to emitting different
sequences of insns, you can use define_split patterns to split the
insn after reload.  This will also give additional opportunities for
scheduling.

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