This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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: [vta] Some further speedups


On Jun 30, 2009, Jakub Jelinek <jakub@redhat.com> wrote:

> speeds up set_slot_part, where in some cases chains had average length 35
> and so calling loc_cmp each time when we already know the lists are sorted
> was very expensive.

This is ok for VTA and VTA4.4 branches, thanks.

> 2009-06-30  Jakub Jelinek  <jakub@redhat.com>

> 	* var-tracking.c (tie_break_pointers): Move earlier.
> 	(canon_value_cmp): Likewise.  Add inline keyword.
> 	(variable_union): Guard expensive assert with ENABLE_CHECKING.
> 	(set_slot_part): Optimize search for onepart location in the chain.

-- 
Alexandre Oliva, freedom fighter    http://FSFLA.org/~lxoliva/
You must be the change you wish to see in the world. -- Gandhi
Be Free! -- http://FSFLA.org/   FSF Latin America board member
Free Software Evangelist      Red Hat Brazil Compiler Engineer


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