This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: reordering functions to improve locality


On 03 November 2006 14:55, Nick Clifton wrote:

> Hi Jan,
> 
>> Is there support in the binutils linker to reorder code within a module
>> to improve locality of reference in order to reduce page misses in a
>> paging based memory system?
> 
> No.

  The nearest thing is recent gcc versions doing hot-cold section
partitioning.

>> The (partial) call graph should be used to
>> determine the order. Is this possible at all in binutils ld? Has it been
>> done? Did anyone worked on it?
> 
> Not to my knowledge no.  This would be an interesting area of research
> however if someone wanted to have a go.

  It might be even more interesting if combined with gprof data, mightn't it?

    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


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