This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] tuning gcc for Intel Core2
- From: Andi Kleen <ak at suse dot de>
- To: Vladimir Makarov <vmakarov at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 13 Nov 2006 19:39:10 +0100
- Subject: Re: [patch] tuning gcc for Intel Core2
- References: <4558A4DD.1080407@redhat.com.suse.lists.egcs-patches> <p73psbr2pct.fsf@bingen.suse.de> <4558B80F.1020701@redhat.com>
> I tried these parameters and got better results (although I don't
> remeber exact numbers). Actually I've tried all parameters. I started
> the work when intel's guide was not public so I had to try all parameters.
>
> Even if Core2 has special hardware to decrease problem of dependencies
> on stack pointer, it does not mean that usage of push/pop will be better.
According to the guide PUSH has latency 1.5 (whatever that means)
and MOV 1. No extra dependencies on the stack pointer because those
are optimized away early in the pipeline.
The advantage would be smaller code.
-Andi