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]

[PATCH 0/4] xtensa ld relaxation performance optimizations


Hi Sterling,

this series optimizes most time-consuming algorithms and data structures
in the xtensa link-time relaxation code, leaving relaxation logic intact.

Speedup linking typical linux kernel is ~8 times (1 minute instead of 8),
pathological cases (linking objects partially linked without relaxation)
are handled ~60 times faster (1 minute instead of an hour).

Max Filippov (4):
  xtensa: optimize check_section_ebb_pcrels_fit
  xtensa: optimize removed_by_actions
  xtensa: optimize find_removed_literal
  xtensa: replace action list with splay tree

 bfd/elf32-xtensa.c | 980 +++++++++++++++++++++++++++++++++++++++++------------
 1 file changed, 757 insertions(+), 223 deletions(-)

-- 
1.8.1.4


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