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] tuning gcc for Intel Core2


H. J. Lu wrote:

On Mon, Nov 13, 2006 at 12:01:17PM -0500, Vladimir Makarov wrote:


Here is the patch for tuning gcc for Intel Core2 processor.  I did
about 30 SPEC2000 runs to find good parameters which are practically
the same what Intel gave and recommended in their optimization guide
made public a few days ago.

The patch increases SPECINT2000 score to 1963 from 1925 (for
generic) or 1901 (for nocona). SPECFP2000 sore is the same as for
generic 1875 (nocona has 1856). One benchmark (gcc) did particular
well -- about 20% improvement (1788 for generic tuning vs 2210 for
core2). The size of code generated for Core2 is smaller (0.46% for
SPECInt and 0.54% SPECFp) than one for generic.



Thanks. Do you happen to have -m32 numbers? We will run 32bit on Core and Core 2.



I'll try to get them tommorow. But as I remember vortex is broken. I saw analogous bug when I worked on my rgister allocator branch. I can guess that is because of wrong aliasing tag which permits scheduler to move load before store.

Vlad



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