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: Core 2 and Core i7 tuning


On Mon, Aug 23, 2010 at 8:03 AM, Bernd Schmidt <bernds@codesourcery.com> wrote:
> On 08/23/2010 04:59 PM, H.J. Lu wrote:
>
>> Here are my results on Core 2 and Core i7 running Fedora 13. There are
>> many regressions and a few improvements.
>
> What compilation flags were you using?
>
>

I use

Base: -ffast-math -mfpmath=sse -O2 -msse2
Peak: -ffast-math -mfpmath=sse -O3 -funroll-loops -msse2

and add -mtune=generic/-mtune=core2/corei7.

-- 
H.J.


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