This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [vta] Some further speedups
- From: Alexandre Oliva <aoliva at redhat dot com>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: Richard Henderson <rth at redhat dot com>, gcc-patches at gcc dot gnu dot org
- Date: Wed, 01 Jul 2009 03:08:48 -0300
- Subject: Re: [vta] Some further speedups
- References: <20090630114849.GW4462@tyan-ft48-01.lab.bos.redhat.com>
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