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]

Re: large peephole2 speedup.


On Tue, Apr 11, 2000 at 09:38:06PM -0400, Michael Meissner wrote:
> We probably want to create a new regset macro to do this shifting, otherwise
> everytime you do the shift, you will transverse the linked list once...

Huh?  I wasn't talking about COPY_REG_SET.  I was talking about

   tmp = set[N-1];
   set[N-1] = set[N-2];
   ...
   set[0] = tmp;

Anyway, not even that is necessary if we modulo address the array.



r~

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