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 CONST_COSTS take 2


> Shouldn't we be be able to teach reload and register allocator to eliminate
> the cost completely?  We are able to re-incarnate such values w/o spilling,
> so proper tunning of preferences should do the trick.
> What I worry about are the extra instructions in sequences of two instructions
> with same constant, where extra load is just a lose.  These are common.

That is somewhat complex, as you would have to combine some of the
functionality of life range splitting, reload and cse...


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