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] Decrease memory consumption of # of iterations analysis


On Thu, Oct 21, 2004 at 09:11:47AM +0200, Zdenek Dvorak wrote:
> + static tree
> + num_ending_zeros (tree x)

Perhaps you should be using ffs{,l,ll} in here when possible?

> + static unsigned
> + highest_nonzero_bit (tree x)

Perhaps you should be using floor_log2 here.

The rest looks ok.


r~


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