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: Speed up genattrtab


Segher Boessenkool wrote:

This patch speeds up genautomata (by a factor of two or
so; target-dependent).

I've got the following numbers:

x86:  no speedup
itanium: 25% speedup
ppc: 30% speedup



... and the ChangeLog entry (oops).



2004-05-15 Segher Boessenkool <segher@kernel.crashing.org>

* genautomata.c (add_vect): Speedup.

The patch is ok. Please put the figure bracket on a separate line (GNU standards require this) and change indentation inside the if-statement.

! if (vect_length - first_unempty_vect_index >= SIZEOF_LONG * CHAR_BIT) {

After fixing this you can commit the patch.

Thanks for the patch.

Vlad





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