[Bug rtl-optimization/20969] unrolling does not take target register pressure into account.

pinskia at physics dot uc dot edu gcc-bugzilla@gcc.gnu.org
Tue Apr 12 16:20:00 GMT 2005


------- Additional Comments From pinskia at physics dot uc dot edu  2005-04-12 16:19 -------
Subject: Re:  unrolling does not take target register pressure into account.


On Apr 12, 2005, at 12:14 PM, amylaar at gcc dot gnu dot org wrote:

>
> ------- Additional Comments From amylaar at gcc dot gnu dot org  
> 2005-04-12 16:14 -------
> (In reply to comment #3)
>> Huh? no optimization should take register pressure into account.  
>> What we
> should have is a reroller in
>> the register allocator.
>
> Do you have a set of patches to try out?

No but if we go your route, then every place where we do an 
optimization, we
will then need to teach it about register pressure which is wrong.  Only
the register allocator should know.

-- Pinski



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20969



More information about the Gcc-bugs mailing list