------- Comment #7 from hubicka at gcc dot gnu dot org  2009-06-06 13:41 -------
It seems to make sense to bump cost of idiv a bit, given the fact that there
are register pressure implications.

I would like to however understand what code sequences we produce that are
estimated to be long but ends up being shorter in practice.  Would be possible
to try to give me some examples of constants where it is important to bump cost
to 8?  It is possible we can simply fix cost estimation in divmod expansion
instead.

Honza 


-- 

hubicka at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2009-06-06 13:41:23
               date|                            |


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

Reply via email to