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: GCC inline parameters (PR 10160 testcase)


"John David Anglin" <dave@hiauly1.hia.nrc.ca> writes:

> I believe that we are about to ship 3.3 with a set of inline parameter
> defaults that are way too agressive.  These can cause huge increases
> in compilation time and memory over that with a more conservative
> set of parameters.
>
> This has been discussed before and Mark made some improvements.
> However, PR 10160 hasn't been resolved and the problem with the
> default inline parameter set remains.
>
> For example, I see the following building xforms/Dialogs.C from
> lyx-1.3.1 on hppa2.0-hp-hpux11.11:
>
> 		Current Inline Parameters	Patched Parameters
> Compilation Time		~ 5 hours	       ~ 2 minutes
> Max Resident Size		 ~ 650 MB		   ~ 60 MB
> Stripped lyx Executable	          ~ 10 MB		    ~ 7 MB
>
> On the PA, branches within functions become much less efficient when
> the code size exceeds ~ 240KB.
>
> The enclosed patch for 3.3 has been tested on hppa2.0-hp-hpux11.11 with
> no regressions.

What kind of performance difference does this give us?  I fear that
this change will speed up compilation but slow down execution and
would therefore like to see some performance data of compiled code
also.

Andreas
-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj


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