Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Toon Moene <toon@moene.indiv.nluug.nl>
Subject: Re: profiles of gcc available
Date: Wed, 13 Nov 96 17:41:37 +0100	[thread overview]
Message-ID: <9611131641.AA06840@moene.indiv.nluug.nl> (raw)

>  The thing is, see, is gcc really doesn't spend that much
>  time playing with the bytes.  According to Jim's profiles,
>  4.5% of the time is spent playing with incoming bytes
>  (yylex); after that we always play with tokens (ints).
>  Unfortunately there is no single output function making
>  it hard to say exactly how much time is spent that way,
>  but I don't think I'm off in saying it isn't much.

Agree with that - I didn't realise this would put yylex on top of  
the list if byte manipulations were the real problem; my language of  
choice predates automatic lexers by two decades, and I didn't  
really kept up with the field after the card readers were scrapped  
around here :-)

>> Now neither bytes,
>> nor the members of the various structures used in gcc internally,  
>> are necessarily long- or quadwords (i.e. 32 or 64 bit quantities).   

>  I suppose they needn't have been but they are.  Virtually
>  everything done inside of gcc once things are parsed are
>  with pointers and longs.

Well, I don't mean to argue this to death, but in _my_ copy of gcc,  
the first two fields in the RTX structure are 16 and 8 bits wide,  
followed by 7 one bit flags.

>  No, the thing to do to make gcc faster is not to worry
>  about the I/O, but to improve the algorithms used in the
>  optimization phases.

Sure, but I hoped to pinpoint a *common* cause for the difference  
between gcc on the Alpha and on the i386, given that Jim's  
experiment shows that no *single* routine is responsible.

Cheers,
Toon.

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

             reply	other threads:[~1996-11-13 16:41 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-11-13 16:41 Toon Moene [this message]
  -- strict thread matches above, loose matches on Subject: below --
1996-11-13 22:40 profiles of gcc available Przemek Klosowski
1996-11-12 22:51 Toon Moene
1996-11-13  4:48 ` Richard Henderson
1996-11-12 13:36 Jim Nance
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox