This is the mail archive of the
mailing list for the GCC project.
RE: GCC 4.1.0 Released
- From: "Menezes, Evandro" <evandro dot menezes at amd dot com>
- To: "Florian Weimer" <fw at deneb dot enyo dot de>, "H. J. Lu" <hjl at lucon dot org>
- Cc: "Steven Bosscher" <stevenb dot gcc at gmail dot com>, gcc-patches at gcc dot gnu dot org, "Richard Guenther" <richard dot guenther at gmail dot com>, "Mark Mitchell" <mark at codesourcery dot com>, gcc at gcc dot gnu dot org
- Date: Tue, 7 Mar 2006 14:24:51 -0600
- Subject: RE: GCC 4.1.0 Released
> * H. J. Lu:
> > Here are diffs of SPEC CPU 2K between before and after with gcc 4.1
> > using "-O2 -ffast-math" on Nocona:
> And what about Opterons? IOW, how "generic" is the optimization?
The generic code generation should cost a small compromise in performance relative to native code generation (e.g., -mtune=opteron on Opteron), but without affecting performance significantly on other processors (e.g., -mtune=nocona on Opteron). The goal of -mtune=generic is that it's better than the latter case albeit slightly slower than the former case.
And, yes, AMD co-developped the -mtune=generic patch.
Evandro Menezes AMD Austin, TX