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: [PATCH, middle-end] Switch initializations conversion (take four)


> On Fri, Feb 29, 2008 at 12:07:05PM -0800, Mark Mitchell wrote:
> > Optimization is a quantitative question: the whole point is to make the 
> > program smaller, faster, etc.  So, all non-obvious optimization patches 
> > should come with quantitative information, in addition to qualitative 
> > information.
> >
> > In particular, which benchmark(s), on which platform(s), with which flags 
> > did you use to measure improvement?  And how much improvement did you see?  
> > And, what benchmark(s) on which platforms which which flags did you use to 
> > measure costs?  And how high were the costs?
> 
> So far I have only managed to  find out how many and what switches get
> converted during GCC bootstrap (this time all languages including ADA)
> on i386 Linux. 177 conversions take  place (59 twice and 1 once during
> the whole  process). The exact  switches as reported  by EXPR_LOCATION
> are listed in http://misc.jamborm.net/cswtch.log  

Hi,
I've dropped the patch to periodic tester (vangelis) for last 2 days.
The compile time seems to be off noise (first CPU2000 build was 4
seconds slower, other 40 seconds faster than the build just before that
might be result of mainline change) as are performance results.

There are some code size improvements, though interestingly GCC
benchmark size grew from 2242->2246Kb (in peak so might be more
inlining). Perl changes 938->935Kb, Mesa 692Kb->688Kb.

Honza


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