This is the mail archive of the
mailing list for the GCC project.
Re: The bloat sweepstakes...
On Wed, Oct 17, 2001 at 07:08:32PM -0600, firstname.lastname@example.org wrote:
> In message <20011010150953.U9432@codesourcery.com>you write:
> > I think costs never get higher than 10 or so;
> They certainly do get higher than 10. Also remember that costs accumulate
> across the uses of a register. Making them an unsigned character probably
> is not a wise idea.
The arrays that are taking up lots of space are the ones in regclass.c
(move_cost, may_move_in_cost, may_move_out_cost), and it looks to me
like they don't ever get very high. In fact, 65536 is being used in
regclass as infinity, suggesting that it would at least be safe to
make them short.