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: i386 constant costs tweek


On Tue, Jun 05, 2001 at 04:10:10PM +0200, Jan Hubicka wrote:
> I was worried about, but it seems to me that most code just
> compares costs relativly, so using negative values is the
> same as giving nonzero cost to register (that may make more sense).

There are places in which we add up costs and then compare.
If they were all constants, that would be fine, comparing
apples to apples.  But there are several places in which
we aren't so careful about comparing apples to oranges.

> So do you think setting all the costs for constant to 0 is OK?

Probably.


r~


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