This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] Decrease memory consumption of # of iterations analysis
- From: Richard Henderson <rth at redhat dot com>
- To: Zdenek Dvorak <rakdver at atrey dot karlin dot mff dot cuni dot cz>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Thu, 21 Oct 2004 15:04:03 -0700
- Subject: Re: [patch] Decrease memory consumption of # of iterations analysis
- References: <20041021071147.GA12591@atrey.karlin.mff.cuni.cz>
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~