This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Speed up genattrtab
Hello,
On Thu, 17 Jun 2010, Jakub Jelinek wrote:
> On Wed, Jun 16, 2010 at 02:22:58PM -0700, Mark Mitchell wrote:
> > Jakub Jelinek wrote:
> >
> > > 2010-06-16 Jakub Jelinek <jakub@redhat.com>
> > >
> > > * Makefile.in (cfgexpand.o): Depend on $(INSN_ATTR_H).
> > > * genattrtab.c (check_tune_attr, find_tune_attr): New functions.
> >
> > This should have no impact on compile-time for things compiled with GCC,
> > correct? If so, for avoidance of doubt, while I haven't reviewed the
> > patch in detail, I certainly have no objections to it. Let me know if
>
> It has compile time impact, but a mixed one.
Same setup as with the other measurements.
arch name gen_u st1_u big_u kde_u
alpha clean 0 0.52 40.92 29.32
alpha jj 0 0.46 41.01 29.14
arm clean 6 27.10 47.61 41.30
arm jj 6 27.03 46.93 41.14
crisv32 clean 0 0.21 34.16 24.44
crisv32 jj 0 0.21 34.18 24.46
hppa clean 0 1.10 38.37 28.44
hppa jj 0 0.89 38.34 28.27
i386 clean 44 33.39 30.64 26.51
i386 jj 3 10.06 30.54 26.56
ia64 clean 1 1.82 64.58 45.89
ia64 jj 0 1.54 64.57 47.07
mips clean 74 14.68 44.01
mips jj 74 14.61 44.13
powerpc clean 56 48.49 42.49 30.57
powerpc jj 1 4.10 42.46 30.28
s390x clean 0 1.96 41.84 28.99
s390x jj 0 1.40 41.64 28.80
sh clean 0 1.35 47.57 34.35
sh jj 0 1.37 47.57 34.41
sparc clean 0 1.08 36.73 29.71
sparc jj 0 1.01 36.40 29.39
x86_64 clean 52 42.40 28.02 25.71
x86_64 jj 3 12.25 27.92 25.64
Ciao,
Michael.