------- Comment #6 from hubicka at gcc dot gnu dot org  2009-06-04 14:50 -------
There is simple algoritm reordering functions so calls more commonly leads to
following function in memory. (just order calls by frequency and concatenate
them into sequences and then order sequences to promote forward calls).

The problem here is that this conflicts with the optimizations propagatng
information top-down across callgraph (like stack alignment).

So I can write easilly pass that will give desired order, but I don't want
production of RTL bodies to happen this order and thus we need some assembler
support for this to order stuff properly (gas has subsections that would do
fine). I was just bit lazy to implement this so far.


-- 

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-04 14:50:20
               date|                            |


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

Reply via email to