This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: 0005-Switch-Core-2-to-new-tuning
- From: Maxim Kuvyrkov <maxim at codesourcery dot com>
- To: Jack Howarth <howarth at bromo dot med dot uc dot edu>
- Cc: Uros Bizjak <ubizjak at gmail dot com>, Richard Henderson <rth at redhat dot com>, "H.J. Lu" <hongjiu dot lu at intel dot com>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 1 Dec 2010 12:37:03 +0300
- Subject: Re: 0005-Switch-Core-2-to-new-tuning
- References: <4CBD7F43.3050209@codesourcery.com> <159AA491-9386-49D7-8E05-11A7CFB624E1@codesourcery.com> <AANLkTi=bn13kZRG4hbbZxY524aPHFLjwWpe50x-FpFkP@mail.gmail.com> <20101201000032.GA12932@bromo.med.uc.edu>
On Dec 1, 2010, at 3:00 AM, Jack Howarth wrote:
> On Tue, Nov 30, 2010 at 01:51:41PM +0100, Uros Bizjak wrote:
>> On Tue, Nov 30, 2010 at 1:39 PM, Maxim Kuvyrkov <maxim@codesourcery.com> wrote:
>>> This patch switches Core 2 to "new" tuning that Core i7 uses.
>>>
>>> The "new" tuning very much resembles tuning for generic32 and generic64 CPUs. Generic tuning appears to provide best performance results on Core 2/i7 hardware.
>>>
>>> OK for trunk?
>>
>> Can you please summarize SPEC2k, SPEC2k6 and Polyhedron results for
>> patched and unpatched gcc?
>>
>> Thanks,
>> Uros.
>
> Uros,
> On x86-apple-darwin10, benchmarking the Polyhedron 2005 suite using a dual 2.8 GHz
> Xeon 2008 MacPro, I get the following results with -mtune=generic and -mtune=core2
> at -m64 and -m32. These are for r167305 with both 0005-Switch-Core-2-to-new-tuning
> and 0006-Core-2-i7-DFA applied.
> ...
> It is interesting that at -m32, -mtune=core2 shows a net
> improvement whereas at -m64 that option is a wash compared
> to -mtune=generic.
That's what I expected. Jack, thanks for testing the patches on Polyhedron benchmarks.
--
Maxim Kuvyrkov
CodeSourcery
+1-650-331-3385 x724