This is the mail archive of the gcc-patches@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: [PATCH V2 2/8] bpf: new GCC port


    > > +/*** Order of Allocation of Registers.  */
    > > +
    > > +/* We generally want to put call-clobbered registers ahead of
    > > +   call-saved ones.  (IRA expects this.)  */
    > > +#define REG_ALLOC_ORDER					\
    > > +  {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11}
    > 
    > Do you gain much by defining this?  I would have expected better
    > code without, given the architecture is so regular.
    
    It does exactly the same as not defining REG_ALLOC_ORDER, just a tiny
    bit less efficient.

Yeah I just removed the definition from the port.


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