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: PR 23551: why should we coalesce inlined variables?


On 6/1/07, Alexandre Oliva <aoliva@redhat.com> wrote:
I didn't.  Today I set some time aside to try to get SPEC2000 to run
on an x86_64 box with Fedora 7.  I still haven't got all of the
benchmarks to compile and run successfully with the GCC trunk, but the
results I got for the patch are promising:

Again, the left column is the run-time WITH the patch, the right
columnt is the run-time WITHOUT the patch.  That's right, removing the
patch actually slows things down.  I couldn't quite believe it, after
what you said, so I triple-checked.

Oh I can believe it for x86_64 :) You might want to try on more than x86_64, the register allocator might not be doing a good job for x86_64. Without the patch is causing more register pressure than with the patch. Try either on ia64 or PPC where you have more registers. In that case with the patch might slow down the runtime. If that happens, then the summary we can come to, is that your patch reduces register pressure (and maybe causes loop optimizers not to do as much as they did before likewise for PRE and other interesting optimizers).

Thanks,
Andrew Pinski


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